Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import seaborn as sn | |
from numpy import newaxis | |
from sklearn.metrics import confusion_matrix, classification_report, accuracy_score, f1_score, average_precision_score, recall_score | |
from sklearn.metrics import precision_recall_fscore_support as score | |
import matplotlib.pyplot as plt | |
from sklearn import preprocessing | |
from sklearn.model_selection import train_test_split | |
def plot_heat_map(ax, X, Y, Z, xlabel, ylabel, format='d', title='Heat Map'): | |