The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

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.