Skip to content
Snippets Groups Projects
Commit 045f23e2 authored by Khalil's avatar Khalil
Browse files

update mlp

parent ef4c73ac
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ if __name__== '__main__': ...@@ -161,7 +161,7 @@ if __name__== '__main__':
train_accuracies, test_accuracy=run_mlp_training(data_train, labels_train, data_test, labels_test,d_h,learning_rate,num_epoch) train_accuracies, test_accuracy=run_mlp_training(data_train, labels_train, data_test, labels_test,d_h,learning_rate,num_epoch)
train_accuracies.append(test_accuracy) train_accuracies.append(test_accuracy)
print(train_accuracies)
K=list(range(num_epoch+1)) K=list(range(num_epoch+1))
plt.plot(K,train_accuracies) plt.plot(K,train_accuracies)
plt.title("Accuracy=f(epoch)") plt.title("Accuracy=f(epoch)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment