This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
| from matplotlib.ticker import PercentFormatter | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns | |
| from sklearn.metrics import confusion_matrix | |
| def cm_analysis(y_true, y_pred, filename, labels, classes, ymap=None, figsize=(17,17)): | |
| """ | |
| Generate matrix plot of confusion matrix with pretty annotations. | |
| The plot image is saved to disk. | |
| args: |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks