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
Hi!
I am obtaining the error: unhashable type: 'dict'
My code is the same than in the instruction:
plot.grid_search( gs.cv_results_, change='n_estimators', subset={'n_estimators': [16,32], 'criterion': 'entropy'}, kind="bar", )
And my grid is:
{'n_estimators': [16, 32], 'criterion': ['gini', 'entropy'], 'min_samples_split': [2], 'max_depth': [None, 2], 'class_weight': [None, 'balanced'] + [{0: 1.7-x, 1: x} for x in np.linspace(0.0, 0.99, 2)]}
Could you help me, please?
The text was updated successfully, but these errors were encountered:
can you provide a full snippet that we can run along with the full traceback?
Sorry, something went wrong.
No branches or pull requests
Hi!
I am obtaining the error: unhashable type: 'dict'
My code is the same than in the instruction:
plot.grid_search(
gs.cv_results_,
change='n_estimators',
subset={'n_estimators': [16,32], 'criterion': 'entropy'},
kind="bar",
)
And my grid is:
{'n_estimators': [16, 32],
'criterion': ['gini', 'entropy'],
'min_samples_split': [2],
'max_depth': [None, 2],
'class_weight': [None, 'balanced'] + [{0: 1.7-x, 1: x} for x in np.linspace(0.0, 0.99, 2)]}
Could you help me, please?
The text was updated successfully, but these errors were encountered: