BouchardLab / pyuoi

The Union of Intersections Framework in Python
https://pyuoi.readthedocs.io
Other
13 stars 16 forks source link

Update imports from sklearn to account for new linear_model organization #199

Closed pssachdeva closed 3 years ago

pssachdeva commented 3 years ago

Currently, we import a mixin and several functions directly from specific modules in scikit-learn. This includes SparseCoefMixin, _check_multi_class, and _intercept_dot. The latter two come from the logistic module.

scikit-learn has updated their linear_model module organization, making most of it private. We must either update these imports to get it directly from the private API, or include the functions directly into PyUoI. The latter might be more stable.