6d459e256bd6d403831055647f7dc97c0c3988ac,skater/tests/test_partial_dependence.py,TestPartialDependence,test_pdp_1d_classifier_with_proba,#TestPartialDependence#,251
Before Change
def test_pdp_1d_classifier_with_proba(self):
coefs = self.interpreter.partial_dependence.partial_dependence(self.features[:1],
self.classifier_predict_proba_fn,
grid_resolution=10)
def test_pdp_2d_classifier_with_proba(self):
coefs = self.interpreter.partial_dependence.partial_dependence(self.features[:2],
After Change
def test_pdp_1d_classifier_with_proba(self):
try:
self.interpreter.partial_dependence.partial_dependence(self.features[:1],
self.classifier_predict_proba_fn,
grid_resolution=10)
except:
self.fail("1D classifier with probability scores failed")
def test_pdp_2d_classifier_with_proba(self):
try:
self.interpreter.partial_dependence.partial_dependence(self.features[:2],
self.classifier_predict_proba_fn,
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: datascienceinc/Skater
Commit Name: 6d459e256bd6d403831055647f7dc97c0c3988ac
Time: 2017-05-12
Author: aikramer2@gmail.com
File Name: skater/tests/test_partial_dependence.py
Class Name: TestPartialDependence
Method Name: test_pdp_1d_classifier_with_proba
Project Name: datascienceinc/Skater
Commit Name: 88ad0a6ee22b579de945f7f5373310d98f9f2618
Time: 2017-08-02
Author: aikramer2@gmail.com
File Name: skater/tests/test_partial_dependence.py
Class Name: TestPartialDependence
Method Name: test_pd_with_variance_type_prediction
Project Name: datascienceinc/Skater
Commit Name: 6d459e256bd6d403831055647f7dc97c0c3988ac
Time: 2017-05-12
Author: aikramer2@gmail.com
File Name: skater/tests/test_partial_dependence.py
Class Name: TestPartialDependence
Method Name: test_2D_pdp
Project Name: datascienceinc/Skater
Commit Name: 6d459e256bd6d403831055647f7dc97c0c3988ac
Time: 2017-05-12
Author: aikramer2@gmail.com
File Name: skater/tests/test_partial_dependence.py
Class Name: TestPartialDependence
Method Name: test_pdp_1d_string_classifier_with_proba
Project Name: datascienceinc/Skater
Commit Name: 6d459e256bd6d403831055647f7dc97c0c3988ac
Time: 2017-05-12
Author: aikramer2@gmail.com
File Name: skater/tests/test_partial_dependence.py
Class Name: TestPartialDependence
Method Name: test_pdp_2d_classifier_with_proba