ClimbsRocks / auto_ml

[UNMAINTAINED] Automated machine learning for analytics & production
http://auto-ml.readthedocs.io
MIT License
1.64k stars 310 forks source link

Exporting auto_ml models to use in other programming languages. #351

Open Goorman opened 7 years ago

Goorman commented 7 years ago

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?

ClimbsRocks commented 7 years ago

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.