5d81bc9e8e19ab31f3e85f88207538e9f478d7d6,tests/test_regressor/test_residuals.py,TestResidualsPlot,test_residuals_plot_pandas,#TestResidualsPlot#,311
Before Change
_, ax = plt.subplots()
// Load the occupancy dataset from fixtures
data = self.load_data("energy")
target = "heating_load"
features = [
"relative_compactness", "surface_area", "wall_area", "roof_area",
"overall_height", "orientation", "glazing_area",
"glazing_area_distribution"
]
// Create instances and target
X = pd.DataFrame(data[features])
y = pd.Series(data[target].astype(float))
// Create train/test splits
splits = tts(X, y, test_size=0.2, random_state=231)
X_train, X_test, y_train, y_test = splits
After Change
// Load the occupancy dataset from fixtures
data = load_energy(return_dataset=True)
X , y = data.to_pandas()
// Create train/test splits
splits = tts(X, y, test_size=0.2, random_state=231)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 13
Instances Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_regressor/test_residuals.py
Class Name: TestResidualsPlot
Method Name: test_residuals_plot_pandas
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_regressor/test_residuals.py
Class Name: TestResidualsPlot
Method Name: test_residuals_plot_pandas
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 870022ab7abce46f9bff47c8a9c787808a630e59
Time: 2019-01-30
Author: benjamin@bengfort.com
File Name: tests/test_classifier/test_confusion_matrix.py
Class Name: ConfusionMatrixTests
Method Name: test_pandas_integration
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_regressor/test_residuals.py
Class Name: TestPredictionError
Method Name: test_prediction_error_pandas
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_classifier/test_classification_report.py
Class Name: TestClassificationReport
Method Name: test_pandas_integration
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_classifier/test_threshold.py
Class Name: TestDiscriminationThreshold
Method Name: test_pandas_integration