Skip to content

Bounding the output function from PySR #211

Answered by MilesCranmer
Khansolo9 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks!

Like this?

model = PySRRegressor(loss="loss(x, y) = (x <= y) ? ((x-y)^2) : Inf")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MilesCranmer
Comment options

Answer selected by MilesCranmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
PySR PySR-related discussion
2 participants