Comments (5)
Hi @prozhuyi,
Thanks for this. Yes I also find sometimes symbolic expressions beat neural nets for specific problems. It really has to do with priors over the space of functions. When you train a neural net, there is an implicit prior that the function will be smooth and other properties.
Symbolic regression imposes a different prior over the space of functions. Sometimes you will have that this prior is superior to the neural net prior, especially if the operators you are using are an efficient basis for describing your field.
cheers,
Miles
from pysr.
Yes, that is the score. It basically is a heuristic that looks for sharp decreases in loss when increasing complexity (traditional metric for "best" equation in SR). There are more details on this in the PySR paper: https://arxiv.org/abs/2305.01582
from pysr.
I seem to understand ! Thank you for your answer!
from pysr.
hello Miles @MilesCranmer
I recently had another question, which is the ' score ' given by pysr. How is this ' score ' obtained ? Is it obtained by this step ?
`if lastMSE is None:
cur_score = 0.0
else:
if curMSE > 0.0:
# TODO Move this to more obvious function/file.
cur_score = -np.log(curMSE / lastMSE) / (curComplexity - lastComplexity)
else:
cur_score = np.inf`
and what is its significance ?
thanks again!
from pysr.
Hi @MilesCranmer ,
It is a very interesting discussion. Just elaborating your answer a little more and correct me if I am wrong:
The ANN assumes a prior over the space of smooth (and other properties) functions whereas Symbolic Regression can allow non-smooth functions as well, which sometimes can be a more suitable prior for a particular problem.
Is the above statement correct?
from pysr.
Related Issues (20)
- [BUG]: PySR can not rediscover X^2 HOT 3
- [Feature]: Composite regressors
- [Feature]: Warn if better linear model available HOT 4
- [BUG]: Using dimensional constraints result in "UndefVarError: `k` not defined" error HOT 4
- Update Head Worker Occupation Warning HOT 3
- Command '['julia', '-e', '...']' returned non-zero exit status 1 HOT 2
- [BUG]: Encounter segmentation faults in running the toy example on RHEL machines HOT 14
- Windows Julia Install - could not load library "libpcre2-8" The specified module could not be found. HOT 19
- [BUG]: PyTorch module does not preserve dimensions of input tensor
- [Feature]: Recover up-to-date expression from exported PyTorch model (SingleSymPyModule)
- [Feature]: Select Julia version at first import.
- [Feature]: TensorBoard support
- Search-replace old code snippets with new syntax
- Error Running PySR with Julia in Windows 10 (Anaconda Environment)
- [BUG]: Can't pickle greater: attribute lookup greater on __main__ failed HOT 3
- [Feature] Should warn if populations < procs
- [BUG]: Compatibility Issue with Julia Version When Using PySR HOT 6
- [DOCS] Import sections of JuliaCall docs
- [Feature]: Warn user about low `niterations`
- [Feature]: Supplying initial guess to Symbolic Regression
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysr.