Last answered:

30 Nov 2022

Posted on:

28 Nov 2022

0

The confusion matrix attribute from_predictions doesnt work.

imageimage

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

28 Nov 2022

0

Hey Tholkappian,

Thank you for reaching out!

Please, update your sklearn library to version 1.0 or older.

Kind regards,
365 Hristina

Posted on:

28 Nov 2022

0

can you please explain to me, how to do it?

Instructor
Posted on:

29 Nov 2022

0

Hey,

You can update your library by opening your anaconda prompt and typing:

conda update scikit-learn

image.png
Let me know if any of the steps are unclear.

Kind regards,
365 Hristina

Posted on:

30 Nov 2022

0

hey,
Before asking this question, I tried all the commands in the command prompt but nothing is working.

Instructor
Posted on:

30 Nov 2022

0

Hey again,

Could you please try to update the scikit-learn library in the anaconda prompt and share a screenshot of the output?

Kind regards,
365 Hristina

Posted on:

30 Nov 2022

0

image

Instructor
Posted on:

30 Nov 2022

0

Hey,

Please execute the command

conda install scikit-learn=1.1.2

This will install a specific version of the package, namely 1.1.2.
Let me know if you experience any problems.

Kind regards,
365 Hristina

Submit an answer