AllenNeuralDynamics / AllenNeuralDynamics/aind-dynamic-foraging-models

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

Đang mở
#60 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
2
Fork
1
Merge trung bình
7 giờ 46 phút
Pull request đã merge (30 ngày)
8

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.