I would like to look at the loss curves for training data and test data side by side. Currently it seems straightforward to get the loss on the training set for each iterati
I use jupyter, this is my code:
jupyter
clf = MLPClassifier(hidden_layer_sizes=(10,10,10)) clf.fit(train_X,train_Y) plt.ylabel('cost') plt.xlabel('iterations') plt.title("Learning rate =" + str(0.001)) plt.plot(pose_clf.loss_curve_) plt.show()