7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c,test/test_evaluation/test_train_evaluator.py,TestTrainEvaluator,test_subsample_indices_regression,#TestTrainEvaluator#Any#Any#,511
Before Change
configuration = unittest.mock.Mock(spec=Configuration)
queue_ = multiprocessing.Queue()
kfold = ShuffleSplit(random_state=1, n_splits=1)
evaluator = TrainEvaluator(D, backend_mock, queue_,
configuration=configuration,
cv=kfold, subsample=30,
metric=accuracy)
After Change
evaluator = TrainEvaluator(D, backend_mock, queue_,
configuration=configuration,
resampling_strategy="cv",
resampling_strategy_args={"folds": 10},
subsample=30,
metric=accuracy)
train_indices = np.arange(69, dtype=int)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: automl/auto-sklearn
Commit Name: 7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c
Time: 2017-11-30
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_train_evaluator.py
Class Name: TestTrainEvaluator
Method Name: test_subsample_indices_regression
Project Name: automl/auto-sklearn
Commit Name: 7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c
Time: 2017-11-30
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_train_evaluator.py
Class Name: TestTrainEvaluator
Method Name: test_datasets
Project Name: automl/auto-sklearn
Commit Name: 7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c
Time: 2017-11-30
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_train_evaluator.py
Class Name: TestTrainEvaluator
Method Name: test_fit_predict_and_loss_additional_run_info
Project Name: automl/auto-sklearn
Commit Name: 7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c
Time: 2017-11-30
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_train_evaluator.py
Class Name: TestTrainEvaluator
Method Name: test_holdout
Project Name: automl/auto-sklearn
Commit Name: 7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c
Time: 2017-11-30
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_train_evaluator.py
Class Name: TestTrainEvaluator
Method Name: test_predict_proba_binary_classification
Project Name: automl/auto-sklearn
Commit Name: 7ffde8f8c6e951c58ce2ecd43c3c29beeb9cac8c
Time: 2017-11-30
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_train_evaluator.py
Class Name: TestTrainEvaluator
Method Name: test_subsample_indices_classification