AllenNeuralDynamics / AllenNeuralDynamics/aind-dynamic-foraging-models
logistic_regression.fit_logistic_regression throws a future warning about "penalty" kwarg
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 2
- Forks
- 1
- Merge medio
- 7 h 46 min
- PR fusionados (30 d)
- 8
Descripción
When calling this function, a FutureWarning is generated about a change in how the penalty keyword argument is used
> /opt/conda/lib/python3.12/site-packages/sklearn/linear_model/_logistic.py:1135: FutureWarning: 'penalty' was deprecated in version 1.8 and will be removed in 1.10. To avoid this warning, leave 'penalty' set to its default value and use 'l1_ratio' or 'C' instead. Use l1_ratio=0 instead of penalty='l2', l1_ratio=1 instead of penalty='l1', and C=np.inf instead of penalty=None.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.