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
Problem: Extending Rapidminer (a new operator)
Hi folks,
first of all thanks a lot for such a great piece of software!
Unfortunately, I've got a bit of a problem extending RapidMiner, more precisely the first example from the tutorial (ExampleSetWriter).
What I've done so far:
- Checked out the project RapidMiner_Vega with Eclipse
- Added a new package and class: ExampleSetWriter in my.new.operators (just like written in the tutorial)
- created a .xml file called operators.xml (just like written in the tutorial)
- Added "-Drapidminer.operators.additional=resources/com/rapidminer/resources/operators.xml" in the VM arguments (the operators.xml is located in ...\workspace\RapidMiner_Vega\resources\com\rapidminer\resources\operators.xml)
- Started the RapidMinerGUI
But I just can't find the new operator.
What did I do wrong?
Thanks in advance,
Cheers Q-Dog
first of all thanks a lot for such a great piece of software!
Unfortunately, I've got a bit of a problem extending RapidMiner, more precisely the first example from the tutorial (ExampleSetWriter).
What I've done so far:
- Checked out the project RapidMiner_Vega with Eclipse
- Added a new package and class: ExampleSetWriter in my.new.operators (just like written in the tutorial)
- created a .xml file called operators.xml (just like written in the tutorial)
- Added "-Drapidminer.operators.additional=resources/com/rapidminer/resources/operators.xml" in the VM arguments (the operators.xml is located in ...\workspace\RapidMiner_Vega\resources\com\rapidminer\resources\operators.xml)
- Started the RapidMinerGUI
But I just can't find the new operator.
What did I do wrong?
Thanks in advance,
Cheers Q-Dog
Tagged:
0
Answers
it seems you've mixed something up
You seem to have modified the original RapidMiner source instead of creating a plugin for RapidMiner.
If you want to add functionality to RapidMiner, you can do so by either adding the operator directly in the RapidMiner sourcode - but these additions are only for your personal use as you can never share your additions with anyone because you've modified the original RapidMiner files.
The second way (described in the "How to extend RapidMiner 5.0" white paper, use the pre-created tutorial project) is to create a new java project via Eclipse, and add it to RapidMiner as an extension (extension_xyz.jar). This can be shared with anyone, so the new stuff you create is not limited to your personal use.
If you have any specific questions or problems concerning the aforementioned white paper, feel free to ask
Regards,
Marco
I also tried to write a simple .jar plugin and put it into the lib/plugins directory. In RapidMiner 4.6 it worked like a charm, but unfortunately not in RapidMiner 5.1.
Has there been a change in creating a plugin?
Again, what I did:
- Create the ExampleSetWriter.java from the tutorial - Create the operator.xml from the tutorial - Create the manifest file - Create the .jar out of it
As I said, in RapidMiner 4.6 it works but unfortunately not in 5.1.
I would really like to buy the whitepaper, but for a student 40€ is definitely to much :-\
So is there a simple trick in order to get it to work in RapidMiner 5.1, do I have to change the operators.xml or something?
Cheers Q-Dog
I have not been around in the RapidMiner 4 days, however from what I can see it has indeed changed quite a bit. The best advice I can give you is probably to checkout one of the RapidMiner extensions, for example Text Processing, and pay close attention to the "OperatorsPluginName.xml" and "OperatorsDocPluginName.xml" files in the resource folder. Also have a look at the build.xml file, where the properties like operator definition file etc can be found. On that basis you should be able to work out what you need yourself
Regards,
Marco
sir, i am making a project in rapidminer .i want a new extension for my project.would you make it for me