forked from scikit-learn/scikit-learn
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX IndexError in fetch_openml('zoo')
The shape extraction from data_qualities was using NumberOfFeatures, which excluded the ignored features. This exclusion caused a bug in the data conversion, since we tried to reshape the whole dataset with a lower number of features. This fix uses data_features to include ignored features in the shape extraction Fixes scikit-learn#14340
- Loading branch information
HABCHI Sarra
committed
Aug 13, 2019
1 parent
9014a6f
commit e6e8a1d
Showing
6 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file added
BIN
+817 Bytes
sklearn/datasets/tests/data/openml/62/api-v1-json-data-features-62.json.gz
Binary file not shown.
Binary file added
BIN
+805 Bytes
sklearn/datasets/tests/data/openml/62/api-v1-json-data-qualities-62.json.gz
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters