-2

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.

1 Answers1

0

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.

user1808924
  • 4,563
  • 2
  • 17
  • 20