Skip to content
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

Don't Allow Infeasible Hyperparameter Combinations #26

Open
epeters3 opened this issue Apr 14, 2020 · 0 comments
Open

Don't Allow Infeasible Hyperparameter Combinations #26

epeters3 opened this issue Apr 14, 2020 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@epeters3
Copy link
Owner

epeters3 commented Apr 14, 2020

In the logistic regression solver, this hyperparameter combo is not supported, so make sure it cannot be tried in skplumber:

  File "/usr/local/lib/python3.6/dist-packages/sklearn/linear_model/_logistic.py", line 445, in _check_solver
    "got %s penalty." % (solver, penalty))
ValueError: Solver lbfgs supports only 'l2' or 'none' penalties, got elasticnet penalty.

Here is another one for SVM:

  File "/usr/local/lib/python3.6/dist-packages/sklearn/svm/_base.py", line 793, in _get_liblinear_solver_type
    % (error_string, penalty, loss, dual))
ValueError: Unsupported set of arguments: The combination of penalty='l1' and loss='squared_hinge' are not supported when 
dual=True, Parameters: penalty='l1', loss='squared_hinge', dual=True
@epeters3 epeters3 added the bug 🐛 Something isn't working label Apr 14, 2020
@epeters3 epeters3 changed the title Don't Allow Hyperparameter Combination Don't Allow Infeasible Hyperparameter Combinations Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant