Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Plot Confusion Matrix to ConfusionMatrixDisplay #24

Closed
3 tasks done
Grogu22 opened this issue May 21, 2023 · 3 comments · Fixed by #36
Closed
3 tasks done

Change Plot Confusion Matrix to ConfusionMatrixDisplay #24

Grogu22 opened this issue May 21, 2023 · 3 comments · Fixed by #36
Assignees
Labels
bug 🐞 Something isn't working gssoc23 GSSoC2k23 accepted level1 GSSoC2k23 Level-1 Task -- 10 Points

Comments

@Grogu22
Copy link
Contributor

Grogu22 commented May 21, 2023

Prerequisites

  • I am an Open Source Contributor
  • I checked to make sure that this issue has not already been filed

Description

the method plot_confusion_matrix from sklearn.metrics has been deprecated since scikit-learn version 1.0.
Either use an older version of sklearn and specify it in the requirements.txt file or use the method ConfusionMatrixDisplay from sklearn.metrics
Documentation link : https://scikit-learn.org/stable/modules/generated/sklearn.metrics.ConfusionMatrixDisplay.html#sklearn-metrics-confusionmatrixdisplay

Screenshots

image

Code of Conduct

@Grogu22 Grogu22 changed the title #GSSoC2023 Replace plot_confusion_matrix by ConfusionMatrixDisplay from sklear.metrics #GSSoC2023 Replace plot_confusion_matrix by ConfusionMatrixDisplay from sklearn.metrics May 21, 2023
@Rakesh9100
Copy link
Owner

Okay proceed @Grogu22

@Grogu22
Copy link
Contributor Author

Grogu22 commented May 23, 2023

Hey, @Rakesh9100 #36 also completes this issue

@Rakesh9100
Copy link
Owner

Yes, reviewed.

@Rakesh9100 Rakesh9100 added good first issue 🥇 Good for newcomers and removed good first issue 🥇 Good for newcomers labels May 26, 2023
@Rakesh9100 Rakesh9100 changed the title #GSSoC2023 Replace plot_confusion_matrix by ConfusionMatrixDisplay from sklearn.metrics Change Plot Confusion Matrix to ConfusionMatrixDisplay Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working gssoc23 GSSoC2k23 accepted level1 GSSoC2k23 Level-1 Task -- 10 Points
Projects
None yet
2 participants