From 045f23e2562e3c6706c11b92d6e6910a881321a5 Mon Sep 17 00:00:00 2001 From: Khalil <medkhalilbabay@gmail.com> Date: Thu, 30 Nov 2023 14:40:17 +0100 Subject: [PATCH] update mlp --- mlp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlp.py b/mlp.py index cf89295..ac45a1f 100644 --- a/mlp.py +++ b/mlp.py @@ -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.append(test_accuracy) - print(train_accuracies) + K=list(range(num_epoch+1)) plt.plot(K,train_accuracies) plt.title("Accuracy=f(epoch)") -- GitLab