Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Confusion Matrix Heat Map

cm = np.array([[1102,   88],[85,  725]])

import seaborn as sns
import matplotlib.pyplot as plt     

sns.heatmap(cm, annot=True,fmt="d",cmap='Blues')
Comment

PREVIOUS NEXT
Code Example
Python :: np array describe 
Python :: how to sharpen image in python using cv2 
Python :: web scraping linkedin profiles python jupyter 
Python :: frequency of occurrence of that element in the list and the positions 
Python :: python format to print dec oct hex and bin 
Python :: python program to find fibonacci series using function recursion loop 
Python :: python strftime iso 8601 
Python :: add padding to 2d matrix p 
Python :: how to check if a proxy is dead in python 
Python :: pip proxy settings 
Python :: virtual env 
Python :: twilio python 
Python :: python subtract 2 strings 
Python :: write muli line conditional statements in python 
Python :: get list of users django 
Python :: generate random integer matrix python 
Python :: discord.py on command error 
Python :: fetch python 
Python :: fake migration 
Python :: save image url to png python 
Python :: ordered char list 
Python :: pandas fill blanks with zero 
Python :: how to create a file in a specific location in python 
Python :: how to find largest number in array in python 
Python :: python no new line 
Python :: migrate using other database django 
Python :: discord.py check if user has role 
Python :: python datetime time in seconds 
Python :: pandas scatter plot with different colors 
Python :: python search string for word 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =