文件样本是:
window_fm, window_features = ft.dfs(entityset=es,
....: target_entity="customers",
....: cutoff_time=cutoff_times,
....: cutoff_time_in_index=True,
....: training_window="1 hour")
当我更改参数trainging_window = '90分钟'时,如
window_fm, window_features = ft.dfs(entityset=es,
....: target_entity="customers",
....: cutoff_time=cutoff_times,
....: cutoff_time_in_index=True,
....: training_window="90 minute")
我得到了这个结果:window_fm
Out[144]:
zip_code COUNT(sessions) COUNT(transactions) label
customer_id
1 60091 3 32 0
2 02139 3 36 0
3 02139 1 7 1
4 60091 0 0 0
5 02139 1 15 1
当我检查数据时,customer_id = 1,COUNT(会话)似乎是2,而不是3.这是一个错误吗?或者我错了?