figure size plot confusion matrix in scikit learn

fig, ax = plt.subplots(figsize=(20, 20))plot_confusion_matrix(clf, X_test, y_test,, ax=ax)
from sklearn.metrics import plot_confusion_matrixfig, ax = plt.subplots(figsize=(15, 15))
plot_confusion_matrix(slf_4, X_test, y_test, normalize='true',, ax=ax)




Posting about Python and Laravel

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

An Introduction to Classification Using Mislabeled Data

Style in Computer Vision — Neural Style Transfer

Detecting Heart Failure using Machine Learning (Part 2)

Machine Learning Algorithms on Bank Marketing Data

Introduction to Deep Learning Using Keras and Tensorflow — Part2

Preparing Data for Machine Learning

Machine Learning for everyone in iOS app development

The Learning Problem: Comparison between Brain and Machine

A mixture of an Artificial Neural Network and the Brain Connectome

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Posting about Python and Laravel

More from Medium


Can Algorithms really be trusted in Clinical Medicine?

Dummy variable trap

Dealing With Missing Values With Pandas