-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: DataFrame.dtypes for data must be int, float or bool. #41
Comments
Hi @ChuliangXiao, this error may come from LightGBM model itself. Would you mind looking at solutions like this or this? If they don't work for you, could you provide any more details for your problem, such as the schema of your table - which would be easier for me to reproduce your error? |
Had the same issue with XGBoost. |
Hey @ChuliangXiao , how is everything going? I want to follow up the issue and see if you can provide a dataset/table schema so that I can reproduce the issue. If the problem is solved, I can close this issue. |
Hi @ChuliangXiao , we are closing this stale issue. If you have any updates, please re-open it. Thank you for supporting. |
Try to use
LGBMClassifier
and got the following error
while all those fields are
DoubleType()
orLongType()
. Still got the same issue after.cast(FloatType())
.The text was updated successfully, but these errors were encountered: