Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 89b14f64 authored by Ngocson's avatar Ngocson

Saving the figure

parent 7dbef904
File added
......@@ -57,5 +57,8 @@ sc = np.array(scoreKmeansOverN(MNISTtrainData,
tr_score = sc[:,0]
te_score = sc[:,1]
\ No newline at end of file
fig, ax = plt.figure('Kmean over MNIST')
plt.plot(range(1,N),tr_score,'b.-',label='training score')
plt.plot(range(1,N),te_score,'r.-',label='testing score')
legend = ax.legend(loc=(0.8,0.1), shadow=True, fontsize='x-large')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment