Reputation: 49
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.
Upvotes: 1
Views: 732
Reputation: 6180
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.
Upvotes: 2
Reputation: 124
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.
Upvotes: 1