3
票
1
票
scikit-learnのErrorメッセージ”cannot import name 'plot_confusion_matrix' from 'sklearn.metrics' の解消方法につき、どなたかご教示ください。
plot_confusion_matrixはscikit-learn 1.0.0版で破棄予定(deprecated)になり、1.2.0版で実際に削除された(removed)ようです。
それを使わないように変更するか、使いたいなら1.2.0より前の版にダウングレードしてみてください。1.1.3版以前でしょうか。
リリース履歴 scikit-learn - PyPI
Version 1.0.0
...
Only top scored, non community-wiki answers of a minimum length are eligible
関連するタグ
scikit-learn × 37python × 36
機械学習 × 18
python3 × 5
pandas × 2
numpy × 2
jupyter-notebook × 2
keras × 2
google-colaboratory × 2
macos × 1
opencv × 1
matplotlib × 1
anaconda × 1
画像 × 1
深層学習 × 1
pytorch × 1
python2 × 1
ipython × 1
pca × 1
画像認識 × 1