-
Notifications
You must be signed in to change notification settings - Fork 0
Don't Allow Infeasible Hyperparameter Combinations #26
Copy link
Copy link
Open
Labels
bug 🐛Something isn't workingSomething isn't working
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't working