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
How to run Rapidminer Process from Java console application?
I built a process in Rapidminer Studio (classification with decision tree/neural net), I would like to load this process and run it with different datasets in a Java console application. I read about this here, but I didn't really found a great tutorial/documentation, how to do this, the basic things (load process, change properties, change the training model, ... ). Any advice would be helpful.
Tagged:
0
Best Answer
-
nom1010 Member Posts: 8 Contributor II
Thanks! These informations were really helpful.
RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE);
RapidMiner.init();
Process process = new Process(new File("/MyProcessFile.rmp"));
System.out.println(process.run());Finally I wrote this, after that I got the result. Maybe it'll be useful for others.
1
Answers
Your best bet is to use RapidMiner Server or getting an OEM license.
@Thomas_Ott that's not right.As long as it part of the open core you can do this. I think there is no explicit documentation on it though.
Easy way might be to use the CLI.
Best,
Martin
Dortmund, Germany
Yes, I'd like a simple cli, to load the process and run the process, but I don't really know, how to load a process that I made in Rapidminer, and things like that.
Hi,
rm already has an CLI. Just go for
or
.
That works. You can also provide macros if you want to.
Best,
Martin
Dortmund, Germany
hi !
i'm trying to do the same but i'm getting this exception. Im using springboot and maven, i also included rapidminer libraries as dependencies in pom.xml but still, it doesn't work
can anybody help me ?
thank you