Replies: 2 comments 1 reply
-
|
Hi @festabc, Great questions!
import sympy
PySRRegressor(
binary_operators=[..., "pow_int(x, y) = pow(x, round(y))"]
extra_sympy_operators={"pow_int": lambda x, y: x ** sympy.ceiling(y-0.5)},
....
)
Cheers! |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Thank you very much for your answer Miles! This is very helpful indeed! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Miles,
I hope you are doing well!
I have two questions about pySR that came up during my research:
Thanks so much in advance for your help!
Best,
Festa
Beta Was this translation helpful? Give feedback.
All reactions