简体   繁体   中英

How to convert automl model ( using autosklearn ) to pmml?

II have already completed learning using autosklearn.calssification.AutoSklearnClassifer(). I want to convert the trained model to PMML. After changing the SimpleClassificationPipeline to the sklearn pipeline in the trained model, I used the sklearn2pmml library, but it did not work. How can I convert a model trained through autosklearn into PMML?

automl_model

automl_model_to_pipeline

modle_to_pmml

You appear to be using the SkLearn2PMML package for Scikit-Learn to PMML conversion work.

AutoML uses custom transformer and estimator types in the fitted pipelines. The SkLearn2PMML package does not support them yet (for a list of supported types, see here ), so it fails with an error.

In principle, AutoML support can be added to SkLearn2PMML, but it would require some development work. If you're interested in seeing that happen, please consider opening a proper feature request with the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM