【发布时间】:2021-05-04 07:35:59
【问题描述】:
在特征工具中的经典模拟客户数据集示例中,如果我必须派生 transactions entity 的 month, day, year 等 transactions entity 属性的 trans_primitives。我该怎么做?
import featuretools as ft
es = ft.demo.load_mock_customer(return_entityset=True)
feature_matrix, feature_defs = ft.dfs(entityset=es, target_entity=???, agg_primitives=["count"], trans_primitives=["month"], max_depth=1)
在这种情况下,目标实体应该是什么?
【问题讨论】:
标签: python feature-engineering featuretools