Please sign in to comment.
Bugfix: sklearn 0.22 (#571)
* Remove import-outside-toplevel from pylint Very unnecessary :/ * Make check_is_fitted work again `check_is_fitted` was changed (see #570) in a way that we won't raise a `NotInitializedError` anymore despite the net not being initialized. This is now solved by basically porting the old `check_is_fitted` behavior to skorch. * Fix multi_indexing with sklearn 0.22 sklearn's (_)safe_indexing used to work with tuples as indices, now doesn't. * Remove unnecessary import * Make convert_sklearn_metric_function work again In sklearn 0.22, make_scorer returns a special object that must be treated differently in skorch. * Update CHANGELOG
- Loading branch information
Showing with 40 additions and 19 deletions.