-
Notifications
You must be signed in to change notification settings - Fork 411
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
TypeError: Object of type float32 is not JSON serializable #613
Comments
Hi @nosacapital, Thank you for reporting the issue. Could you send me full error output? Looks like some problem with saving model ... |
Hello @pplonski |
Thank you! Do you have the same error in |
I am running AutoML inside Visual Studio Code using the Jupyter notebook plugin. Let me look into the results_path and get back to you |
I have just gone through the AutoML 36 folder and there is no errors.md nor results_path directory. I will look again but I have gone through every file and folder carefully to ensure I don't miss either. |
It should be fixed with #496 fix. |
I ran a regression algorithm for LightGBM on the same data in the code below and had no problems in obtaining results. It ran in full with no hitches. I needed to do the same with Xgboost on the same data and get the error in the title. I tried casting the X_train to both float32 and float64 via numpy but got the same message. I even tried scaling and then casting and got the same thing. Please find the code, the output, and the error message below:
CODE
OUTPUT
As mentioned this is not the only solution, this happens to be the latest one. Please advise on how to solve the problem. Thanks
The text was updated successfully, but these errors were encountered: