Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique solution of Regression #275

Open
CatYukino opened this issue Jan 2, 2024 · 1 comment
Open

Unique solution of Regression #275

CatYukino opened this issue Jan 2, 2024 · 1 comment

Comments

@CatYukino
Copy link

Feature Request

Hello. I use SR to fit a dataset, while the result for each running is not the same. For example this is a result of one running:
微信图片_20240102111137

And this is another:
微信图片_20240102111230

Here the results are totally different. Is there any settings or hyperparas to make the result unique? :)

@MilesCranmer
Copy link
Owner

If you find a different solution each time (excluding real degeneracies, like how x/2.0 and x*0.5 are identical), then that means you haven’t run the search long enough. Try increasing niterations so it can do a deeper search. Also see https://astroautomata.com/PySR/tuning/ for tips.

If you want identical solution regardless of convergence, you can also use deterministic=True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants