1

How to know the type of features (numeric, categorial) that Featuretools generates?

deevroman
  • 99
  • 1
  • 2
  • 14

1 Answers1

3

In the generated feature definitions, there is a variable_type attribute to see the type of feature.

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)

Let me know if that helps.

Jeff Hernandez
  • 2,063
  • 16
  • 20