【问题标题】:How to know the type of features that the Featuretools generates?如何知道 Featuretools 生成的特征类型?
【发布时间】:2020-04-19 05:39:32
【问题描述】:

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

【问题讨论】:

    标签: featuretools


    【解决方案1】:

    在生成的特征定义中,有一个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)
    

    如果有帮助,请告诉我。

    【讨论】:

      猜你喜欢
      • 2021-03-05
      • 2018-09-11
      • 2018-10-17
      • 2018-08-18
      • 2020-10-14
      • 2019-07-10
      • 2020-08-09
      • 2020-07-29
      • 1970-01-01
      相关资源
      最近更新 更多