Using sklearn on android device

I am currently using sklearn for machine learning for the sensor data that I collected from an Android device.

But I need to make a prediction after training the model. Since a lot of sensor data will be created in a very short time, making my prediction on a server or some other machine is my last choice.

Then it occurs to me that what can I do sklearn in android? I could think of three solutions:

  • Is it possible to run sklearn in android and let sklearn script make a prediction?

  • If not 1, is it possible to use some intermediate library in java (android) to load the model that I trained in python?

  • If there are no 1 and 2, is it possible to use a different computer learning library supported on the Android platform?

+4
source share
1 answer

I am working on a project called sklearn-porter that brings tutorial models to a low-level programming language such as C, Java, and JavaScript. At the moment, additional classifiers and regressors will be added.

+4
source

Source: https://habr.com/ru/post/1536050/


All Articles