May 2020
Intermediate to advanced
404 pages
10h 52m
English
Next, we create an instance of the classifier model by instantiating a new object of the MLPClassifier object:
from sklearn.neural_network import MLPClassifierclf = MLPClassifier(max_iter=200)
We have arbitrarily set the maximum number of iterations to 200. This may not be reached if the convergence happens earlier.
Read now
Unlock full access