58add0ebf660b6e7e71d1c6ccd44ea960c40fd1b,yellowbrick/features/scatter.py,ScatterVisualizer,fit,#ScatterVisualizer#Any#Any#,182

Before Change


        // handle numpy named/ structured array
        elif self.features_ is not None and is_structured_array(X):
            X_selected = X[self.features_]
            X_two_cols = X_selected.view((np.float64, len(X_selected.dtype.names)))

        // handle features that are numeric columns in ndarray matrix
        elif self.features_ is not None and has_ndarray_int_columns(self.features_, X):
            f_one, f_two = self.features_

After Change



        // handle numpy named/ structured array
        elif self.features_ is not None and is_structured_array(X):
            X_two_cols = np.array(X[self.features_].tolist())

        // handle features that are numeric columns in ndarray matrix
        elif self.features_ is not None and has_ndarray_int_columns(self.features_, X):
            f_one, f_two = self.features_
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


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


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 09ded558fd334e068de9c3612cffa4ebad51ab35
Time: 2017-05-21
Author: benjamin@bengfort.com
File Name: tests/test_features/test_pcoords.py
Class Name: ParallelCoordinatesTests
Method Name: test_integrated_pcoords


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 58add0ebf660b6e7e71d1c6ccd44ea960c40fd1b
Time: 2018-03-02
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: 58add0ebf660b6e7e71d1c6ccd44ea960c40fd1b
Time: 2018-03-02
Author: benjamin@bengfort.com
File Name: tests/test_features/test_scatter.py
Class Name: ScatterVizTests
Method Name: test_scatter_quick_method