DOC Improve performance of the plot_rbm_logistic_classification.py example
@@ -85,7 +85,7 @@ X_train, X_test, Y_train, Y_test = train_test_split(
X, Y, test_size=0.2, random_state=0)
# Models we will use
-logistic = linear_model.LogisticRegression(solver='lbfgs', max_iter=10000,
+logistic = linear_model.LogisticRegression(solver='newton-cg', tol=1,
multi_class='multinomial')
rbm = BernoulliRBM(random_state=0, verbose=True)
