870022ab7abce46f9bff47c8a9c787808a630e59,tests/test_classifier/test_confusion_matrix.py,ConfusionMatrixTests,test_quick_method,#ConfusionMatrixTests#,310
Before Change
)
_, ax = plt.subplots()
confusion_matrix(DecisionTreeClassifier(), X, y, ax=ax)
self.assert_images_similar(ax=ax)
After Change
)
_, ax = plt.subplots()
model = DecisionTreeClassifier(random_state=25)
confusion_matrix(model, X, y, ax=ax, random_state=23)
tol = 0.1 if six.PY3 else 10
self.assert_images_similar(ax=ax, tol=tol)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 870022ab7abce46f9bff47c8a9c787808a630e59
Time: 2019-01-30
Author: benjamin@bengfort.com
File Name: tests/test_classifier/test_confusion_matrix.py
Class Name: ConfusionMatrixTests
Method Name: test_quick_method
Project Name: DistrictDataLabs/yellowbrick
Commit Name: b3256666df69e645159c8ef91fb3e4bfd826b8de
Time: 2018-06-05
Author: lwgray@gmail.com
File Name: tests/test_classifier/test_classification_report.py
Class Name: ClassificationReportTests
Method Name: test_quick_method
Project Name: openml/openml-python
Commit Name: 906992a725d448fedf8d448e675e23cb4c76b6e1
Time: 2018-06-21
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/test_runs/test_run.py
Class Name: TestRun
Method Name: test_to_from_filesystem_search