We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes gadma.optimize_ga is using the following way:
gadma.optimize_ga
popt = gadma.Inference.optimize_ga( data, func_ex, engine='dadi', args=pts, p_ids = p_ids, X_init= [p0], lower_bound=lower_bound, upper_bound=upper_bound, verbose=1)
In that case there is an error: UserWarning: Error occurred during caching: evaluate() takes 3 positional arguments but 5 were given.
UserWarning: Error occurred during caching: evaluate() takes 3 positional arguments but 5 were given.
The correct way of usage is: args=(pts,),. It would be great to add an extra check when args are misspecified.
args=(pts,),
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sometimes
gadma.optimize_ga
is using the following way:In that case there is an error:
UserWarning: Error occurred during caching: evaluate() takes 3 positional arguments but 5 were given.
The correct way of usage is:
args=(pts,),
. It would be great to add an extra check when args are misspecified.The text was updated successfully, but these errors were encountered: