背景
在用GBDT系列训练时,报错ValueError: X.dtype should be np.float32, got float64,如下所示。
ValueError Traceback (most recent call last)
<ipython-input-14-aa936862d7d7> in <module>()
----> 1 abc.apply(X_train)
~/tmp/dataset/Augboost+FM/AugBoost.py in apply(self, X)
461 for j in <