Last answered:

30 Jun 2022

Posted on:

29 Jun 2022

0

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.Confusion matrix attribute doesn't work

2 answers ( 0 marked as helpful)
Instructor
Posted on:

30 Jun 2022

0

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

Posted on:

30 Jun 2022

0

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!

Submit an answer