6d459e256bd6d403831055647f7dc97c0c3988ac,skater/tests/test_partial_dependence.py,TestPartialDependence,test_plot_2D_pdp,#TestPartialDependence#,210

Before Change




    def test_plot_2D_pdp(self):
        coefs = self.interpreter.partial_dependence.plot_partial_dependence(self.features[:2],
                                                                       self.regressor_predict_fn,
                                                                       grid_resolution=10,
                                                                       sample=False)

    def test_plot_2D_pdp_with_sampling(self):
        coefs = self.interpreter.partial_dependence.plot_partial_dependence(self.features[:2],
                                                                       self.regressor_predict_fn,

After Change




    def test_plot_2D_pdp(self):
        try:
            self.interpreter.partial_dependence.plot_partial_dependence(self.features[:2],
                                                                        self.regressor_predict_fn,
                                                                        grid_resolution=10,
                                                                        sample=False)
        except:
            self.fail("2D partial dep plot failed")

    def test_plot_2D_pdp_with_sampling(self):
        try:
            self.interpreter.partial_dependence.plot_partial_dependence(self.features[:2],
                                                                        self.regressor_predict_fn,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

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_plot_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_plot_1D_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_plot_2D_pdp_with_sampling


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_plot_1D_pdp_with_sampling