call Python script from JavaEE

i create model using sklearn library and i want to run this model in JavaEE application i have been trying Jython, but it's impossible to import some important library like pandas and numpy, so how I can do to call a python script for JavaEE application.

Topic java python

Category Data Science


You should probably ask programming questions on StackOverflow as more people will be able to help you with this kind of problems. As suggested here, you can serialize scikit-learn model to PMML and then execute it using jpmml-evaluator. There are different suggestions in that post, so you should take a look at it and see what works best for your use case.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.