featuretools

How to apply Deep Feature Synthesis to a single table

半世苍凉 提交于 2019-11-30 14:04:40
问题 After processing, my data is one table with several columns that are features and one column which is a label. I would like to use featuretools.dfs to help me predict the label. Is it possible to do it directly, or do I need to split my single table into multiple? 回答1: It is possible to run DFS on a single table. As an example, if you have a pandas dataframe df with index 'index' , you would write: import featuretools as ft es = ft.EntitySet('Transactions') es.entity_from_dataframe(dataframe

How to apply Deep Feature Synthesis to a single table

ぐ巨炮叔叔 提交于 2019-11-30 10:11:02
After processing, my data is one table with several columns that are features and one column which is a label. I would like to use featuretools.dfs to help me predict the label. Is it possible to do it directly, or do I need to split my single table into multiple? It is possible to run DFS on a single table. As an example, if you have a pandas dataframe df with index 'index' , you would write: import featuretools as ft es = ft.EntitySet('Transactions') es.entity_from_dataframe(dataframe=df, entity_id='log', index='index') fm, features = ft.dfs(entityset=es, target_entity='log', trans