d3d73573ee26dac29902c37ed1f605b662980041,test/test_evaluation/test_cv_evaluator.py,CVEvaluator_Test,test_datasets,#CVEvaluator_Test#,20
Before Change
getter.__name__)
with self.subTest(testname):
D = getter()
output_directory = os.path.join(os.getcwd(), ".%s" % testname)
err = np.zeros([N_TEST_RUNS])
for i in range(N_TEST_RUNS):
D_ = copy.deepcopy(D)
evaluator = CVEvaluator(D_, output_directory, None)
err[i] = evaluator.fit_predict_and_loss()[0]
self.assertTrue(np.isfinite(err[i]))
self.assertEqual(err[i], 1.0)
After Change
getter.__name__)
with self.subTest(testname):
D = getter()
output_directory = os.path.join(os.path.dirname(__file__),
".%s" % testname)
self.output_directories.append(output_directory)
err = np.zeros([N_TEST_RUNS])
for i in range(N_TEST_RUNS):
D_ = copy.deepcopy(D)
evaluator = CVEvaluator(D_, output_directory, None)
err[i] = evaluator.fit_predict_and_loss()[0]
self.assertTrue(np.isfinite(err[i]))
self.assertEqual(err[i], 1.0)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: automl/auto-sklearn
Commit Name: d3d73573ee26dac29902c37ed1f605b662980041
Time: 2016-02-26
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_cv_evaluator.py
Class Name: CVEvaluator_Test
Method Name: test_datasets
Project Name: automl/auto-sklearn
Commit Name: d3d73573ee26dac29902c37ed1f605b662980041
Time: 2016-02-26
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_nested_cv_evaluator.py
Class Name: NestedCVEvaluator_Test
Method Name: test_datasets
Project Name: automl/auto-sklearn
Commit Name: d3d73573ee26dac29902c37ed1f605b662980041
Time: 2016-02-26
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_holdout_evaluator.py
Class Name: HoldoutEvaluatorTest
Method Name: test_datasets