auto_ml icon indicating copy to clipboard operation
auto_ml copied to clipboard

Exporting auto_ml models to use in other programming languages.

Open Goorman opened this issue 8 years ago • 1 comments

Is there any way to export auto_ml models to use in other languages?

Sort of like there is PMML for many other models like lgbm/xgboost/sklearn?

Goorman avatar Nov 08 '17 09:11 Goorman

Possibly. When a model is saved, it's saved as a .dill file. dill is a drop-in replacement for pickle, and it seems possible to load .pkl files in other languages, at least based on a cursory google search: https://www.google.com/search?q=loading+a+pkl+file+in+java

It's not something we currently natively support, and we don't really have any plans to in the near future. The pipeline itself uses enough Python logic that it's probably kinda difficult.

What I really want to do is build in interfaces to interact with auto_ml in other languages. We'd probably spin up a python server on localhost on that machine, and send data to and from that server from whatever the non-python language is.

If you want to take a crack at that, I'd love to see it!

You can also use auto_ml to find what works, do all the rapid iteration testing and development, and then write the production code in a different language once you've got a pretty good direction figured out.

Let me know what you end up doing- I'm curious.

ClimbsRocks avatar Nov 09 '17 00:11 ClimbsRocks