Closed karenc closed 2 years ago
FWIW: This is the current version of that file I've been using: https://github.com/Kitware/kwcoco/blob/master/kwcoco/util/util_sklearn.py
Thank you, @Erotemic, for the copy you are using. I've merged your implementation with our code (albeit I substituted kwarray
for utool
's version). Hopefully, the tests pass now.
@karenc I've merged in fix-tests-2
into this fix to peg the version number. We can keep that fixed version for now and also incorporate JC's fixes. Luckily, this change only impacts CLF and the VAMP models, so this failing test has a limited impact outside of the GraphID and LCA implementations (and for limited species)
The upgrade from scikit-learn 0.24.2 to 1.0 changed the arguments so we need to use keyword arguments instead: