Skip to content
3 changes: 2 additions & 1 deletion examples/neural_networks/plot_mlp_alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@

classifiers = []
for i in alphas:
classifiers.append(MLPClassifier(alpha=i, random_state=1))
classifiers.append(MLPClassifier(solver='lbfgs', alpha=i, random_state=1,
hidden_layer_sizes=[100, 100]))

X, y = make_classification(n_features=2, n_redundant=0, n_informative=2,
random_state=0, n_clusters_per_class=1)
Expand Down