How can I call scikit-learn classifiers from Java?

前端 未结 6 1439
悲&欢浪女
悲&欢浪女 2020-12-07 17:00

I have a classifier that I trained using Python\'s scikit-learn. How can I use the classifier from a Java program? Can I use Jython? Is there some way to save the classifier

6条回答
  •  难免孤独
    2020-12-07 17:39

    Alternatively you can just generate a Python code from a trained model. Here is a tool that can help you with that https://github.com/BayesWitnesses/m2cgen

提交回复
热议问题