alteryx / alteryx/evalml

Add more regularization options to LogisticRegressionClassifier

Aperta
#1,859 1 commento 0 reazioni 1 assegnatario Rivendicata da @asniyaz Vedi su GitHub
enhancement performance
Lingua principale
Python
Stelle
850
Fork
96
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Our `LogisticRegressionClassifier` only supports an `l2` [penalty](https://github.com/alteryx/evalml/blob/main/evalml/pipelines/components/estimators/classifiers/logistic_regression.py#L17), but the underlying sklearn implementation additionally [supports](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) `l1`, and `elasticnet`.

I think we should add these regularizer options to our component hyperparameters.

One possible complication is that certain regularizers can only be used with certain solvers.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.