The confusion matrix attribute from_predictions doesnt work
Confusion matrix attribute doesn't work. How do I solve this? I have uploaded the latest version of jupyter and python and I have restarted the kernel and run all the cells above and the attribute error keeps appearing.
2 answers ( 0 marked as helpful)
Hey Emmanuel,
Thank you for your question!
What is the version of sklearn
you are using? If you are using sklearn 1.0
and older, you should have no trouble running the code.
Kind regards,
365 Hristina
I have updated conda and scikitlearn as a result using anacoda prompt then "conda update conda "and now the confusion matrix works thank you so much!