Integrating RapidMiner with Jython

michaelhechtmichaelhecht Member Posts: 89 Maven
edited November 2018 in Help
Here is an example for the simplest way of integration RapidMiner into your own application (here Jython).
Doing it shorter and easier is impossible!!  ;D

Full code:

import com.rapidminer.RapidMiner as RapidMiner
import com.rapidminer.Process as Process
import com.rapidminer.RapidMiner.ExecutionMode as ExecutionMode
import java.io.File as File

RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE)
RapidMiner.init()
process = Process(File('D:/Repository/myRMworkflow.rmp'))
process.run()
Sign In or Register to comment.