You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> from sklearn.neural_network import MLPRegressor
>>> MLPRegressor(solver='lbfgs').fit([[1], [0]], [1, 0])
Traceback (most recent call last):
File "<ipython-input-4-b1bc97e0c38c>", line 1, in <module>
MLPRegressor(solver='lbfgs').fit([[1], [0]], [1, 0])
File "/home/ogrisel/code/scikit-learn/sklearn/neural_network/multilayer_perceptron.py", line 616, in fit
return self._fit(X, y, incremental=False)
File "/home/ogrisel/code/scikit-learn/sklearn/neural_network/multilayer_perceptron.py", line 323, in _fit
self._validate_hyperparameters()
File "/home/ogrisel/code/scikit-learn/sklearn/neural_network/multilayer_perceptron.py", line 429, in _validate_hyperparameters
(self.solver, ", ".join(supported_solvers)))
ValueError: The solver lbfgs is not supported. Expected one of: sgd, adam, lbgfs
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: