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
Creating a Custom Function that only accepts Input Variables #19
Comments
To clarify, you want a function like this: def binom(x):
return 1 - x And you want a constraint that the argument must be an input variable? For example the traversals |
Yes, and we don't want |
Just wanted to check back in, I've had some minor success using the |
The standard The only tricky part is that you will have to adjust the I added this to my config:
I ran on the Nguyen-1 benchmark (edited to include
|
This worked for me as well Thank you much! |
Hello again,
I've been attempting for the past month or so to create a custom function to use in
function_set
to help DSO find the expression we're looking to regress into. This custom function is a simple binomial(1-x1)
, and our goal is to make it so that it only places an open input variable into the custom function and uses the binomial as a building block for the expression. Right now I've tried using the priors currently in place to do so, such as therelational
prior andconst
prior, but nothing has made it so thatx1
is the only thing it attempts to put in that slot. Do you have any suggestions on how to get this to work?If you need any clarification, let me know
The text was updated successfully, but these errors were encountered: