简体   繁体   中英

How to implement machine learning models on mobile phones?

I've built Machine Learning Models Random Forest and XGBOOST on Python or R

How can I implement that my model work in mobile phone IOS / Android? Not for training, just to predict the probability for users by properties and events.

You can expose your machine learning model as a REST API endpoint. Essentially, the client (mobile) will be making requests at a specific endpoint, which will then be triggering your model.

There quite a few examples available in the Web for you to read but for your convenience you may take a look at this one .

I think I'm qualified to answer this because it was yesterday that I viewed Google's "DevFestOnAir 2018". There was an "End to End Machine Learning" talk where the speaker mentioned what TensorFlow(TF) has to support AI in mobile devices.

Now, TF is available for JS , Java and many other languages, so this captures the entirety of the model that runs on your PC, uses other functionalities to make it run on lesser RAM and Processors. Do check this out. If I'm not wrong TF has a feature that would do the conversion for you.

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