featuretools分类变量的功能交互

时间:2019-07-10 19:35:28

标签: featuretools

DFS是否具有“功能交互”功能?

例如,我有三列:

{"A": ["abc", "lmnop", "xyz"],
"B": ["some", "more", "a little"],
"C": [10, 100, 1000]
}

我想从各列中获得交互,尤其是绝对的:

# after dfs
feature_matrix.columns
["A = abc AND B = some",
"A = abc AND B != more",
...
"A = abc OR B = more",
"abc AND C <= 100", 
]

这将允许将整数和浮点数与分类或数字阈值进行交互的分箱。

0 个答案:

没有答案