-
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
Parameter from a List of values #236
Comments
Hi @joharyaja, |
Hi @thouska, |
Hi @joharyaja,
|
I've got the feeling, here is a misunderstanding - a list parameter is not a random parameter but an ordered list - the parameters are taken sequentially not randomly. I understand that @joharyaja wants a discrete parameter as in #186. It is no difficult issue, we stopped working on it because a) we had no use case (obviously you have one @joharyaja ) and b) we are not sure how a nominal scaled parameter would work together with directed algorithms. How about closing this issue and move the discussion to #186 instead? I will post my implementation of a discrete parameter there the next day and would be very happy if we could work together on that. |
Hi @thouska , |
Hi @philippkraft , |
Dear all,
First of all, the tool is just great and helpful, thanks to the developers team.
Second, I had a program than already run correctly but using the predefined distribution (Uniform or Normal Distributions) for the 5 parameters. Then, I wanted to used for one of these parameters a list of values (about 10 values) instead of using a continuous distribution. For this, I just changed from this :
spotpy.parameter.Uniform('p',min_p,max_p,0.1)
to this
spotpy.parameter.List('p',[p1,p2,p3,p5 to p10])
But It is always giving this error : "The number of the iteration is higher than of the number of available parameter set" whatever the algorithm I use.
Then I looked the spotpy documentation concerning the use of List. I copied/pasted the provided example which uses the "mc" algorithm but it still gives the same error.
Please help me know if its a bug or if Its a problem with my code.
Sincerely,
Johary
The text was updated successfully, but these errors were encountered: