Can you use a Python trained model sklearn (random forest) in Android (Java).
I need to use it to predict values in real time and a server isn't an option here.
Can you use a Python trained model sklearn (random forest) in Android (Java).
I need to use it to predict values in real time and a server isn't an option here.
You've already answered your question by tagging it with the "pmml" tag - export Scikit-Learn's Random Forest model into PMML data format using the SkLearn2PMML package, and then import/optimize and score it on Android OS using JPMML-Model and JPMML-Evaluator libraries.