Skip to content
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

Error in 'fit' command: Error while saving model #27

Open
gabrielbenitezfml opened this issue Jul 1, 2021 · 0 comments
Open

Error in 'fit' command: Error while saving model #27

gabrielbenitezfml opened this issue Jul 1, 2021 · 0 comments

Comments

@gabrielbenitezfml
Copy link

Hi,

Im trying to run GradientBoostingClassifier but it seems the model cannot be saved

Not JSON serializable: sklearn.ensemble._gb_losses.BinomialDeviance

Checking the logs found out the error was produced in this line

"/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/codec/__init__.py", line 24, in default
return json.JSONEncoder.default(self, obj)

I am using version of MLTK 5.2 and Splunk 8.1.3, when I was using version 4.5 this problem didn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant