Skip to content

Constraint not being followed [Resolved] #717

Closed Answered by Sorah-Darkhat
Sorah-Darkhat asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your answer,

I'm having trouble reproducing the complex error within the domain of the x-vector, so I'm left believing that I was evaluating it outside the domain.

I've also removed the "log" operation, but I've kept the "^" operator, and sometimes PySRRegressor returns functions of the type:

( C1 - x ) ^ C2

Where C1 and C2 are floats, and for values of x > C1, I get complex solutions.

I know it's possible to load constraints, I've added the following constrain:

constrain = { "^" : [1, 3] }, but it doesn't seem to be implementing the constraint.

( I'm loading the model configurations from a json file, and I'm also running with the experimental turbo and bumper ).
This is the…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sorah-Darkhat
Comment options

Answer selected by Sorah-Darkhat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants