58add0ebf660b6e7e71d1c6ccd44ea960c40fd1b,tests/test_features/test_radviz.py,RadVizTests,test_integrated_radviz,#RadVizTests#,75
Before Change
y = self.occupancy["occupancy"].astype(int)
// Convert X to an ndarray
X = X.view((float, len(X.dtype.names)))
// Test the visualizer
visualizer = RadViz()
visualizer.fit_transform(X, y)
After Change
// Load the data from the fixture
X = np.array(self.occupancy[[
"temperature", "relative_humidity", "light", "C02", "humidity"
]].tolist() )
y = self.occupancy["occupancy"].astype(int)
// Test the visualizer
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances 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
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_integrated_scatter