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

[Feature]: Add priori of equation form #494

Open
zhuyi-bjut opened this issue Dec 25, 2023 · 1 comment
Open

[Feature]: Add priori of equation form #494

zhuyi-bjut opened this issue Dec 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@zhuyi-bjut
Copy link

Feature Request

Hi!When I want to find some expressions from my data, I want his form to be specific. For example, I hope that the equation form obtained by pysr is C1 * x1 + ( C2 * x2 / F ), where F is the term to be found, C1 and C2 are constants to be found. This is equivalent to the form of a constrained expression tree, that is, adding a priori. Is it possible for today 's pysr to implement this function ?
Thanks!

@zhuyi-bjut zhuyi-bjut added the enhancement New feature or request label Dec 25, 2023
@zhuyi-bjut zhuyi-bjut changed the title Add priori of equation form[Feature]: [Feature]: Add priori of equation form Dec 25, 2023
@MilesCranmer
Copy link
Owner

Hi @prozhuyi,

The current method for doing this is exemplified here: https://astroautomata.com/PySR/examples/#9-custom-objectives. An easier way to do this is being discussed here: MilesCranmer/SymbolicRegression.jl#193. (Help is always appreciated!)

Cheers,
Miles

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

No branches or pull requests

2 participants