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 9a915bbf authored by Ngocson's avatar Ngocson

modifying variable

parent fe73496e
......@@ -17,7 +17,7 @@ MNISTtestData = genfromtxt('DATA/MNISTtestData.csv', delimiter=',')
MNISTtestLabel = genfromtxt('DATA/MNISTtestLabel.csv', delimiter=',')
print("MNIST: loaded")
N = 9
N = 81
def scoreKmeansOverN(trainData,trainLabel,testData,testLabel,N):
......@@ -50,10 +50,10 @@ def scoreKmeansOverN(trainData,trainLabel,testData,testLabel,N):
scores.append(score)
return(scores)
sc = np.array(scoreKmeansOverN(MNISTtrainData,
MNISTtrainLabel,
MNISTtestData,
MNISTtestLabel,
sc = np.array(scoreKmeansOverN(WineTrainData,
WineTrainLabel,
WineTestData,
WineTestLabel,
N))
tr_score = sc[:,0]
te_score = sc[:,1]
......
RESULTS/kmeanOverWINE.png

18.9 KB | W: | H:

RESULTS/kmeanOverWINE.png

20.4 KB | W: | H:

RESULTS/kmeanOverWINE.png
RESULTS/kmeanOverWINE.png
RESULTS/kmeanOverWINE.png
RESULTS/kmeanOverWINE.png
  • 2-up
  • Swipe
  • Onion skin
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