92e4bca871dc7a0c54b3e9a391b15cd910703bcf,tests/test_dataframe_mapper.py,,test_with_iris_dataframe,#Any#,28
Before Change
("petal width (cm)", PassthroughTransformer()),
("sepal length (cm)", PassthroughTransformer()),
("sepal width (cm)", PassthroughTransformer()),
("species", LabelBinarizer()),
])
data = iris_dataframe.drop("species", axis=1)
labels = iris_dataframe["species"]
After Change
("sepal length (cm)", PassthroughTransformer()),
("sepal width (cm)", PassthroughTransformer()),
])),
("classify", SVC(kernel="linear"))
])
data = iris_dataframe.drop("species", axis=1)
labels = iris_dataframe["species"]
scores = cross_val_score(pipeline, data, labels)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: scikit-learn-contrib/sklearn-pandas
Commit Name: 92e4bca871dc7a0c54b3e9a391b15cd910703bcf
Time: 2015-05-30
Author: cal@calpaterson.com
File Name: tests/test_dataframe_mapper.py
Class Name:
Method Name: test_with_iris_dataframe
Project Name: rtavenar/tslearn
Commit Name: 85aabb5014e22659ac722280607a1f4b44e1fb32
Time: 2020-05-03
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/shapelets.py
Class Name: ShapeletModel
Method Name: fit
Project Name: scikit-learn-contrib/sklearn-pandas
Commit Name: 766f95571c7ac08d0f4be61d160b932c34cacdcd
Time: 2015-11-07
Author: israel.saeta@dukebody.com
File Name: tests/test_dataframe_mapper.py
Class Name:
Method Name: test_sparse_features