5d81bc9e8e19ab31f3e85f88207538e9f478d7d6,tests/test_model_selection/test_validation_curve.py,TestValidationCurve,test_pandas_integration,#TestValidationCurve#,137
Before Change
Test on mushroom dataset with pandas DataFrame and Series and NB
df = self.load_pandas("mushroom")
target = "target"
features = [col for col in df.columns if col != target]
X = pd.get_dummies(df[features])
y = df[target]
assert isinstance(X, pd.DataFrame)
assert isinstance(y, pd.Series)
After Change
Test on mushroom dataset with pandas DataFrame and Series and NB
data = load_mushroom(return_dataset=True)
X, y = data.to_pandas()
X = pd.get_dummies(X)
assert isinstance(X, pd.DataFrame)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 15
Instances
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_model_selection/test_validation_curve.py
Class Name: TestValidationCurve
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_model_selection/test_learning_curve.py
Class Name: TestLearningCurve
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_model_selection/test_cross_validation.py
Class Name: TestCrossValidation
Method Name: test_pandas_integration