import numpy as np import matplotlib.pyplot as plt # truc pour un affichage plus convivial des matrices numpy np.set_printoptions(precision=2, linewidth=320) plt.close('all') data = pkl.load(file("ressources/lettres.pkl","rb")) X = np.array(data.get('letters')) Y = np.array(data.get('labels')) nCl = 26