Skip to content

Using check_array to be compatible with sklearn 0.16.1+#3

Open
lkugler wants to merge 2 commits intoejlb:masterfrom
lkugler:atleast2d
Open

Using check_array to be compatible with sklearn 0.16.1+#3
lkugler wants to merge 2 commits intoejlb:masterfrom
lkugler:atleast2d

Conversation

@lkugler
Copy link

@lkugler lkugler commented Mar 20, 2019

Due to the absence of atleast2d_or_csr in newer scikit-learn versions, I added check_array. Compatibility to older versions through try-except fallback to the old name with user warning.

Pegasos Issue
Sklearn Issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant