-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
ValueError in scikit-learn/examples/model_selection/grid_search_digits.py #4736
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
Comments
Could it be that the version of scikit-learn from which you got the example is not the one which you have installed? |
Not replicated |
@amueller, The code for the older demos looks completely legit, however throws errors during execution. A better way would be to comment on top of each of the examples for which scikit-learn version number this is designed. Or insert in the code comment, only certified for version 0.XX.0 of scikit-learn. Example: 0.15 (older version) turns up during google search Error when running 0.15 example in 0.18
|
Especially when a google search turns up old example versions first.
We need to add a robots.txt to fix that. I'll open up an issue.
|
that's weird, as there's already a canonical URL link to stable in the 0.15
version
…On 30 May 2017 7:51 pm, "Gael Varoquaux" ***@***.***> wrote:
> Especially when a google search turns up old example versions first.
We need to add a robots.txt to fix that. I'll open up an issue.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#4736 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEz66Nhl0DrXB7asuCFvPEOYu3rIpfqks5r--a7gaJpZM4EfDTE>
.
|
When running with Spyder using Python 2.7, returns this error:
ValueError: 'precision_weighted' is not a valid scoring value. Valid options are ['accuracy', 'adjusted_rand_score', 'average_precision', 'f1', 'log_loss', 'mean_absolute_error', 'mean_squared_error', 'precision', 'r2', 'recall', 'roc_auc']
The text was updated successfully, but these errors were encountered: