训练出错了“max() arg is an empty sequence”
由iquant创建,最终由iquant 被浏览 40 用户
问题
训练出错了“max() arg is an empty sequence”
ValueError Traceback (most recent call last)
in ()
354 data_row_fraction=1,
355 ndcg_discount_base=1,
–> 356 m_lazy_run=False
357 )
358
ValueError: max() arg is an empty sequence
主要原因是特征(因子)在重命名的时候,格式在解析的时候出错了。
将等号两边留出空格符 就没问题,亲测有效
这样改一下就行: