You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
precision recall f1-score support
1 0.00 0.00 0.00 1
2 1.00 1.00 1.00 2
3 0.00 0.00 0.00 1
4 0.00 0.00 0.00 1
5 0.00 0.00 0.00 1
7 0.00 0.00 0.00 2
8 1.00 0.33 0.50 3
9 0.00 0.00 0.00 0
10 1.00 1.00 1.00 4
avg / total 0.60 0.47 0.50 15
/opt/conda/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/opt/conda/lib/python3.6/site-packages/sklearn/metrics/classification.py:1137: UndefinedMetricWarning: Recall and F-score are ill-defined and being set to 0.0 in labels with no true samples.
'recall', 'true', average, warn_for)
([<matplotlib.axis.XTick at 0x7f242d31f6a0>,
<matplotlib.axis.XTick at 0x7f242d38ef98>,
<matplotlib.axis.XTick at 0x7f242d38ee80>,
<matplotlib.axis.XTick at 0x7f242d33ca58>,
<matplotlib.axis.XTick at 0x7f242d33cf28>],
<a list of 5 Text xticklabel objects>)
About
How to implement KNN algorithm using Python anaconda