Hi,
I did a little tweak in this notebook that i've added plot of loss function & validation score to see whether our model is actually learning or not, with code below
mlp = MLPClassifier(activation='logistic', hidden_layer_sizes=(
5), random_state=42, solver='sgd', early_stopping=True)
.
.
.
plt.plot(mlp.loss_curve_)
plt.plot(mlp.validation_scores_)
and the result is that look like this, which we can see that it underfit.
First question is : Was this sample model intentionally made underfit?, or correct us if we are wrong if we do this the wrong way
Second question is, that we try changing the asset into usdjpy, and what we got the loss vs validation score graph is this. we tried tweaking the hyperparameter using GridSearchCV, the validation score is not going down (ie : the model is not learning. Can you share with us how can we make sure that the validation score does decreastes overtime (ie : the model is actually learning).
Or, if you have another better solution than "ensuring the model is learning is to look at validaton vs loss chart and make sure it coverges to 0 overtime", please do share
Thanks!