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 PyCaret transformers #175
Comments
Great to see that this old workaround is still valid! However, I wonder if PyCaret has "systematized" their workflows, so that they could be programmatically converted to standard Scikit-Learn pipeline objects.
Just as the exception message points out - there is a custom PyCaret transformer class Potential solutions:
For starters, try to convert the model without pre-processing. When you can get this part working, only then start adding complexity (such as pre-processing). |
When trying to convert the model alone without preprocessing, the following error appears:
The model is a random forest but trained with GPU, so it is a cuml object:
Converting the model alone without GPU as a sklearn object works without problem. 🤔
|
@szymoonl Please open a new issue for each unsupported ML framework. Otherwise I'll classify all your messages as "spam", and send to trash. |
According to this comment, I tried to convert Pycaret model as follow:
sklearn: 0.23.2
sklearn pandas: 2.2.0
sklearn2pmml: 0.84.1
pycaret: 2.3.6
openjdk version "11.0.15" 2022-04-19
The following exception occurred during conversion using a .jar:
How to solve this? 🤔
Thank you in advance!
The text was updated successfully, but these errors were encountered: