How can I put constraints on individual variables in TemplateExpressionSpec? #1033
Unanswered
skadoosh-MC
asked this question in
Q&A
Replies: 1 comment
-
For constraints like this you should take the approach of defining a custom |
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,
I am using TemplateExpressionSpec to find a specific functional form; however, is it possible to constrain the individual variables within it? For example, I'm doing something like -
I would like to put constraints on
x1
such that it can only be used with operators like+, -, ×, ÷
and restrict it from appearing as an exponent. I haven't been able to implement this, and any help/suggestions would be very much appreciated.Note: This may not be relevant, but within my PySRRegressor, I still use some 'global' constraints for the entire equation. I want to put additional constraints on just
x1
.Thank you in advance : D
Beta Was this translation helpful? Give feedback.
All reactions