113e984e70d693ae8686fd01438225cc193dae6d,tests/components/preprocessing/test_select_percentile_classification.py,SelectPercentileClassificationTest,test_preprocessing_dtype,#SelectPercentileClassificationTest#,22
Before Change
configuration_space = SelectPercentileClassification.get_hyperparameter_search_space()
default = configuration_space.get_default_configuration()
preprocessor = SelectPercentileClassification(random_state=1,
**{hp.hyperparameter.name: hp.value for hp
in
default.values.values()})
preprocessor.fit(X_train, Y_train)
Xt = preprocessor.transform(X_train)
self.assertEqual(Xt.dtype, np.float64)
After Change
configuration_space = SelectPercentileClassification.get_hyperparameter_search_space()
default = configuration_space.get_default_configuration()
preprocessor = SelectPercentileClassification(random_state=1,
**{hp_name: default[hp_name]
for hp_name in default})
preprocessor.fit(X_train, Y_train)
Xt = preprocessor.transform(X_train)
self.assertEqual(Xt.dtype, np.float64)
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 12
Instances
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_select_percentile_classification.py
Class Name: SelectPercentileClassificationTest
Method Name: test_preprocessing_dtype
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_gem.py
Class Name: GEMComponentTest
Method Name: test_default_configuration_classify
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_select_rates.py
Class Name: SelectRatesComponentTest
Method Name: test_preprocessing_dtype
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_select_percentile_classification.py
Class Name: SelectPercentileClassificationTest
Method Name: test_preprocessing_dtype
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_feature_agglomeration.py
Class Name: FeatureAgglomerationComponentTest
Method Name: test_default_configuration_classify
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_pca.py
Class Name: PCAComponentTest
Method Name: test_preprocessing_dtype
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_fast_ica.py
Class Name: FastICAComponentTest
Method Name: test_default_configuration_classify
Project Name: automl/auto-sklearn
Commit Name: 113e984e70d693ae8686fd01438225cc193dae6d
Time: 2015-05-22
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/components/preprocessing/test_select_percentile_regression.py
Class Name: SelectPercentileRegressionTest
Method Name: test_preprocessing_dtype