Commit 780bc5c3 authored by Ngocson's avatar Ngocson

correction

parent 69b18b93
......@@ -59,7 +59,7 @@ LDAWineDataset = (WineTrainDataLDA,WineTrainLabel,WineTestDataLDA,WineTestLabel,
WineDatasets = (WineDataset,PCAWineDataset,ICAWineDataset,RPWineDataset,LDAWineDataset)
N = 20
N = 30
te_scores = []
tr_scores = []
......@@ -89,7 +89,7 @@ for dataset in MNISTdatasets:
test_loss, test_acc = model.evaluate(testData, testLabel)
te_score.append(test_acc)
train_loss, train_acc = model.evaluate(testData, trainLabel)
train_loss, train_acc = model.evaluate(trainData, trainLabel)
tr_score.append(train_acc)
plt.figure()
plt.plot(te_score,'b.-',label = "testing score")
......@@ -126,7 +126,7 @@ for dataset in WineDatasets:
test_loss, test_acc = model.evaluate(testData, testLabel)
te_score.append(test_acc)
train_loss, train_acc = model.evaluate(testData, trainLabel)
train_loss, train_acc = model.evaluate(trainData, trainLabel)
tr_score.append(train_acc)
plt.figure()
plt.plot(te_score,'b.-',label = "testing score")
......
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