8000 Typo in for sover='lbfgs' in MLPClassifier / Regressor · Issue #7500 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Typo in for sover='lbfgs' in MLPClassifier / Regressor #7500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ogrisel opened this issue Sep 27, 2016 · 3 comments
Closed

Typo in for sover='lbfgs' in MLPClassifier / Regressor #7500

ogrisel opened this issue Sep 27, 2016 · 3 comments
Labels
Milestone

Comments

@ogrisel
Copy link
Member
ogrisel commented Sep 27, 2016
>>> 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

@ogrisel ogrisel added this to the 0.18 milestone Sep 27, 2016
@amueller
Copy link
Member

wait that isn't fixed yet? argghh...

@amueller
Copy link
Member

see #7503

@ogrisel
Copy link
Member Author
ogrisel commented Sep 28, 2016

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0