AllenNeuralDynamics / AllenNeuralDynamics/aind-dynamic-foraging-models

logistic_regression.fit_logistic_regression throws a future warning about "penalty" kwarg

オープン
#60 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
2
フォーク
1
平均マージ
7時間 46分
マージ済み PR(30日)
8

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。