-
Notifications
You must be signed in to change notification settings - Fork 114
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
Support for BernoulliNB
estimator type
#81
Comments
I am running on WIN7. |
Can run under Ubuntu 16.04 |
But in running sklearn.naive_bayes.BernoulliNB will be wrong. Exception in thread "main" java.lang.IllegalArgumentException: Tuple contains an unsupported value (Python class sklearn.naive_bayes.BernoulliNB) |
The pickle data format is OS/platform dependent. Let me guess, the The unpickling is actually handled by the Pyrolite library. The first exception ("invalid pickle opcode: 254") should be directed to the Pyrolite project, not here. As for the second exception ("Tuple contains an unsupported value (Python class sklearn.naive_bayes.BernoulliNB)"), then the conversion of |
BernoulliNB
estimator type
Hi Villu, Thank you for your reply. |
Similarly, MultinomialNB and GaussianNB are neither implemented. |
hello,I want to save a decision tree model in pmml format。but failed。
python 2.7.13
scikit-learn-0.19.1
sklearn2pmml 0.29
code:
error log:
The text was updated successfully, but these errors were encountered: