-
Notifications
You must be signed in to change notification settings - Fork 152
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
SCEUA set parameter #297
Comments
Hi @dingxinjun, |
I guess we would need to work with:
and implement it accordingly in this super(..).init(...), right? |
class Uniform(Base): class loguniform(Base): i just follow the uniform class but it does not work, Can you give me a pre-release version of log uniform |
i have import scipy package but not deal with it, sorry im not familiar with the parameter class,can't handle it |
No worries, I implemented a branch with has a pre-release version, but haven't tested it. Would you like to have a look? |
Oh, yes seems like the scipy loguniform function comes with different methods. I implemented the rvs (random vairates) method and updated the code linked above. That should work now. But is it, what you need? |
i just want test sce algorism parameter.loguniform instead of parameter.uniform |
it work now a param low boundary i set to 0 ,i change 0 to 0000000001,it works |
Nice, that it works now. And yes, given the nature of log it makes sense that it is producing an error with a setting of zero. The same will happen with negative values/boundaries. |
Cool, if it's okay for you, I will wait with the merge, until I am working on a new spotpy version. But let me know, if you need it in an official version earlier. |
spotpy.parameter.Uniform are generate param uniformly between lower and upper bound. how can i set the uniform to log uniform between log(-10) to log(10).
The text was updated successfully, but these errors were encountered: