c5b2346c03ba5b8aaadf6a4037b1939e9f3063a2,tests/test_classifier/test_rocauc.py,ROCAUCTests,load_binary_data,#ROCAUCTests#,73

Before Change


        y = data["occupancy"].astype(int)

        // Convert X to an ndarray
        X = np.array(X.tolist())

        // Return train/test splits
        return tts(X, y, test_size=0.2, random_state=42)

After Change


        y = data["occupancy"].astype(int)

        // Convert X to an ndarray
        X = X.copy().view((float, len(X.dtype.names)))

        // Return train/test splits
        return tts(X, y, test_size=0.2, random_state=42)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 9

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: c5b2346c03ba5b8aaadf6a4037b1939e9f3063a2
Time: 2018-03-05
Author: benjamin@bengfort.com
File Name: tests/test_classifier/test_rocauc.py
Class Name: ROCAUCTests
Method Name: load_binary_data


Project Name: DistrictDataLabs/yellowbrick
Commit Name: c5b2346c03ba5b8aaadf6a4037b1939e9f3063a2
Time: 2018-03-05
Author: benjamin@bengfort.com
File Name: tests/test_features/test_radviz.py
Class Name: RadVizTests
Method Name: test_integrated_radviz


Project Name: DistrictDataLabs/yellowbrick
Commit Name: c5b2346c03ba5b8aaadf6a4037b1939e9f3063a2
Time: 2018-03-05
Author: benjamin@bengfort.com
File Name: tests/test_features/test_scatter.py
Class Name: ScatterVizTests
Method Name: test_scatter_quick_method


Project Name: DistrictDataLabs/yellowbrick
Commit Name: c5b2346c03ba5b8aaadf6a4037b1939e9f3063a2
Time: 2018-03-05
Author: benjamin@bengfort.com
File Name: yellowbrick/features/scatter.py
Class Name: ScatterVisualizer
Method Name: fit


Project Name: DistrictDataLabs/yellowbrick
Commit Name: c5b2346c03ba5b8aaadf6a4037b1939e9f3063a2
Time: 2018-03-05
Author: benjamin@bengfort.com
File Name: tests/test_features/test_pcoords.py
Class Name: ParallelCoordinatesTests
Method Name: test_integrated_pcoords