如何知道 Featuretools 生成的特征类型?

How to know the type of features that the Featuretools generates?

如何知道 Featuretools 生成的特征类型(数字、分类)?

在生成的特征定义中,有一个 variable_type 属性可以查看特征的类型。

feature_matrix, feature_defs = ft.dfs(target_entity='customers', entityset=es)

feature_defs[1], feature_defs[1].variable_type
(<Feature: COUNT(sessions)>, featuretools.variable_types.variable.Numeric)

如果有帮助请告诉我。