For simple problems as Kepler's law, a quick detour on Desmos will show a perfect fit for power law instantly. In general, there are many important criteria for a better curve fitting (for ex. independent, normal distributed residuals), not just R, so I hope the author has/will incorporate them into the search to create a more robust result.
Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
11–20 of 30 posts
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#12The battery example makes no sense: capacity_SOH ≈ 0.913 − 0.352 · tanh( cycle^((temperature/cycle)^0.485) ) I understand this fits the data, but exponents should be dimensionless, what is temperature/cycle?
In this example temperature would be a magnitude, not a unitful value.
At least in the ISO 8000whatever convention where a value is the product of a unit and a magnitude like most people are use to.
Here is a Terry Tao post with more information[0] on why the convention is there, but as he mentions, in differential geometry and Clifford/Geometric Algebra you do things like add vectors to scalers all the time.
[0] https://terrytao.wordpress.com/2012/12/29/a-mathematical-for...
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#13The battery example makes no sense: capacity_SOH ≈ 0.913 − 0.352 · tanh( cycle^((temperature/cycle)^0.485) ) I understand this fits the data, but exponents should be dimensionless, what is temperature/cycle?
I am not saying this result is correct, but you don't have unit safety in python at all In this example temperature would be a magnitude , not a unitful value. At least in the ISO 8000whatever convention where a value is the product of a unit and a magnitude like most people are use to. Here is a Terry Tao post with more information[0] on why the convention is there, but as he mentions, in differential geometry and C…
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#14Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#15The battery example makes no sense: capacity_SOH ≈ 0.913 − 0.352 · tanh( cycle^((temperature/cycle)^0.485) ) I understand this fits the data, but exponents should be dimensionless, what is temperature/cycle?
I am not saying this result is correct, but you don't have unit safety in python at all In this example temperature would be a magnitude , not a unitful value. At least in the ISO 8000whatever convention where a value is the product of a unit and a magnitude like most people are use to. Here is a Terry Tao post with more information[0] on why the convention is there, but as he mentions, in differential geometry and C…
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#16Earlier quoted context omitted.
You're right, and I'd go further: the inductive bias isn't incidental, it's the whole product. Short trees over {+, *, sqrt, exp, ...} plus a parsimony penalty is basically Occam's razor made executable. A bias-free learner can't generalize at all (no free lunch), so the honest question is whether this particular bias matches the domain. For physics it has an unreasonably good track record though that's the mystery o…
Thank you, Claude.
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#17The battery example makes no sense: capacity_SOH ≈ 0.913 − 0.352 · tanh( cycle^((temperature/cycle)^0.485) ) I understand this fits the data, but exponents should be dimensionless, what is temperature/cycle?
Enforcing dimensional consistency during the search is a known extension (AI Feynman does a version of it) and honestly it's a good roadmap item, a dimensionally sound form would be more trustworthy.
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#18And I wonder if somebody has tried with the available galactic data and see if the genetic programming can come up with a better formula than MOND or Einstein's general relativity. For simple problems as Kepler's law, a quick detour on Desmos will show a perfect fit for power law instantly. In general, there are many important criteria for a better curve fitting (for ex. independent, normal distributed residuals), no…
And agreed on residuals, R2 alone is weak. Hold-out validation is already in there, proper residual diagnostics are a fair ask for the roadmap.
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#19Earlier quoted context omitted.
This is not surprising at all and depends on the inductive bias hardcoded in the search. There are infinite number of curves that agree on those 8 points and deviate from Kepler 's law everywhere else. On such 'trajectories' this algorithm would have performed badly.
You're right, and I'd go further: the inductive bias isn't incidental, it's the whole product. Short trees over {+, *, sqrt, exp, ...} plus a parsimony penalty is basically Occam's razor made executable. A bias-free learner can't generalize at all (no free lunch), so the honest question is whether this particular bias matches the domain. For physics it has an unreasonably good track record though that's the mystery o…
I do see a great value in conjecturing possible solutions that needs to be verified with domain specific knowledge.
Recall that Ptolemaic epicycles were a great fit, in fact a better fit than Copernicus's heliocentric model. This makes me wary of deep NNs in Physics.
Re: Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point
#20Earlier quoted context omitted.
You're right, and I'd go further: the inductive bias isn't incidental, it's the whole product. Short trees over {+, *, sqrt, exp, ...} plus a parsimony penalty is basically Occam's razor made executable. A bias-free learner can't generalize at all (no free lunch), so the honest question is whether this particular bias matches the domain. For physics it has an unreasonably good track record though that's the mystery o…
I would argue that Kepler's success influenced the choice of the inductive bias. In that case the claim that Kepler took years what this can do in seconds is not an unbiased position to take. I do see a great value in conjecturing possible solutions that needs to be verified with domain specific knowledge. Recall that Ptolemaic epicycles were a great fit, in fact a better fit than Copernicus's heliocentric model. Thi…
For the epicycles, for me this is exactly the argument for parsimony pressure. Epicycles fit better because you can always add one more circle, same as adding parameters in a NN. They lose on description length, and that is the only defense I have too. And it is not perfect: on noisy data my tool produces its own epicycles, formulas that fit very well and mean nothing. One battery model it gave me predicted the battery heals itself after cycle 264. Great fit, zero physics. So yes, a conjecture machine that a domain expert must verify. No more than that.