问答交流

window must be an integer 错误

由pp_mm_fox创建,最终由pp_mm_fox 被浏览 12 用户

问题

代码如下:

T1 = 120 - ts_argmax(high_0, 120)

C1 = ts_min(low_0,T1)/ts_max(high_0, 120) > 0.5

运行此特征报错如下:

[INFO: derived_feature_extractor: 提取失败 C1 = ts_min(low_0,T1)/ts_max(high_0, 120) > 0.5: window must be an integer]

麻烦帮我看一下怎么解决这个问题呢?

解答

tsmin(low_0,T1)这里的T1有问题 需要为int

评论
  • ts*min(low*_0,T1)这里的T1有问题 需要为int
{link}