Skip to content

Any solution for "Optimal parameters not found"? #238

Answered by MuellerSeb
rivagao asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @rivagao ,

For your first problem: you can increase the maximal number of function evaluations in the fitting routine by setting max_eval:

model.fit_variogram(bin_center, gamma, max_eval=1000)

By default, this value is 100 * n where n is the number of parameters. See the documentation

Maybe this is a hint, that we need to increase the default value here.

For your second problem: This is hard and there is no standard way. you could try to accumulate the r2 scores for each model for all cells and then select the one with the highest overall score.

Hope that helps!

Cheers, Sebastian

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MuellerSeb
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