My Code is given below :
import seaborn as sn import pandas as pd import matplotlib.pyplot as plt array = confusion_matrix df_cm = pd.DataFrame(array, index = [i