da729dab14194dba84e75571f08f927efbc19865,yellowbrick/classifier/class_prediction_error.py,ClassPredictionError,score,#ClassPredictionError#Any#Any#,90
Before Change
)
self.draw()
self.score_ = self.estimator.score(X, y)
return self.score_
def draw(self):
After Change
// Call super to compute self.score_ and verify classes
try:
super(ClassPredictionError, self).score(X, y)
except ModelError as e:
// raise visualizer-specific errors
if labels is not None and len(labels) < len(indices):
raise NotImplementedError(
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances Project Name: DistrictDataLabs/yellowbrick
Commit Name: da729dab14194dba84e75571f08f927efbc19865
Time: 2019-08-22
Author: benjamin@bengfort.com
File Name: yellowbrick/classifier/class_prediction_error.py
Class Name: ClassPredictionError
Method Name: score
Project Name: DistrictDataLabs/yellowbrick
Commit Name: da729dab14194dba84e75571f08f927efbc19865
Time: 2019-08-22
Author: benjamin@bengfort.com
File Name: yellowbrick/classifier/rocauc.py
Class Name: ROCAUC
Method Name: score
Project Name: DistrictDataLabs/yellowbrick
Commit Name: da729dab14194dba84e75571f08f927efbc19865
Time: 2019-08-22
Author: benjamin@bengfort.com
File Name: yellowbrick/classifier/confusion_matrix.py
Class Name: ConfusionMatrix
Method Name: score
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 275c10aa389cfb70a2f9e16be5618773a014dbad
Time: 2019-08-01
Author: benjamin@bengfort.com
File Name: yellowbrick/regressor/residuals.py
Class Name: PredictionError
Method Name: score
Project Name: DistrictDataLabs/yellowbrick
Commit Name: da729dab14194dba84e75571f08f927efbc19865
Time: 2019-08-22
Author: benjamin@bengfort.com
File Name: yellowbrick/classifier/classification_report.py
Class Name: ClassificationReport
Method Name: score