yphacker / kesci

kesci

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'dict' object has no attribute 'predict'

zhangxiann opened this issue · comments

在执行到下面一行时

y_pred = clf.predict(X_val, num_iteration=clf.best_iteration)
报如下错误:

AttributeError: 'dict' object has no attribute 'predict'

bug已修复,多谢指出