36ce3c300172390d702a614b5784332b8b56343a,featuretools/tests/primitive_tests/test_transform_features.py,,test_isin_feat_custom,#Any#,936
Before Change
isin = IsIn(es["log"]["product_id"],
list_of_outputs=["toothpaste", "coke zero"])
features = [isin]
pandas_backend = PandasBackend(es, features)
df = pandas_backend.calculate_all_features(range(8), None)
true = [True, True, True, False, False, True, True, True]
v = df[isin.get_name()].values.tolist()
assert true == v
After Change
"in a list that is provided.",
cls_attributes={"generate_name": isin_generate_name})
isin = ft.Feature(es["log"]["product_id"], primitive=IsIn(list_of_outputs=["toothpaste", "coke zero"]))
features = [isin]
df = ft.calculate_feature_matrix(entityset=es, features=features, instance_ids=range(8))
true = [True, True, True, False, False, True, True, True]
v = df[isin.get_name()].values.tolist()
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 4
Instances
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_isin_feat_custom
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_compare_of_agg
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_haversine
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_compare_of_direct
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_isin_feat
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_compare_of_transform
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_not_feature