Answer the question
In order to leave comments, you need to log in
How to make a bridge between Python and Java programs?
Does anyone have an example of how you can call functions with return parameters of a python program directly from Java? Or, as a last resort, on the contrary - from the python to send values to the Java functions?
It is necessary to use libraries like sklearn and keras so that the results of the algorithms are ultimately in Java.
So far, I have only found Jython, but I'm not sure if it will suit this task exactly, maybe there are better solutions. In general, it is interested in something that definitely "works"))
Answer the question
In order to leave comments, you need to log in
use RPC
use jython (but won't use python3)
run python as a process and read output
run python as a process and store in storage available to all components
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question