5d81bc9e8e19ab31f3e85f88207538e9f478d7d6,tests/test_target/test_class_balance.py,TestClassBalance,test_pandas_occupancy_balance,#TestClassBalance#,163

Before Change


        Test pandas data frame with string target in balance mode
        
        data = self.load_data("occupancy")
        y = pd.Series([
            "occupied" if yi else "unoccupied" for yi in data["occupancy"]
        ])

        // Create and fit the visualizer
        oz = ClassBalance()
        assert oz.fit(y) is oz

After Change


        
        Test pandas data frame with string target in balance mode
        
        data = load_occupancy(return_dataset=True)
        X, y = data.to_pandas()

        // Create and fit the visualizer
        oz = ClassBalance()
        assert oz.fit(y) is oz
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_target/test_class_balance.py
Class Name: TestClassBalance
Method Name: test_pandas_occupancy_balance


Project Name: DistrictDataLabs/yellowbrick
Commit Name: eb9f8cce1d00417520f3282807ae99c40801346d
Time: 2019-05-14
Author: 8103276+zjpoh@users.noreply.github.com
File Name: tests/test_features/test_pcoords.py
Class Name: TestParallelCoordinates
Method Name: test_pandas_integration_fast


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_target/test_class_balance.py
Class Name: TestClassBalance
Method Name: test_pandas_occupancy_compare


Project Name: DistrictDataLabs/yellowbrick
Commit Name: eb9f8cce1d00417520f3282807ae99c40801346d
Time: 2019-05-14
Author: 8103276+zjpoh@users.noreply.github.com
File Name: tests/test_features/test_pcoords.py
Class Name: TestParallelCoordinates
Method Name: test_pandas_integration_sampled