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
[Solved] How to create new tables, attributes and examples with a script?
Dear all,
initially I thought that this question would go along with my last post but after spending some hours trying, I thought that it might better fit in a new topic.
Thanks to Marco I found a way to manipulate example sets / tables with the script operator
(http://rapid-i.com/rapidforum/index.php/topic,8342.0.html)
But a short time after I ended up with the questions
-How to create a new table / example set with scripting?
-How to add new attributes and examples to the input example set?
-How to provide newly created and input example set together to the scripting output?
As mentioned in the linked post, I found a kind of documentation but probably I do something wrong with the syntax. Struggling for hours now
Please help
Cheers
Sachs
initially I thought that this question would go along with my last post but after spending some hours trying, I thought that it might better fit in a new topic.
Thanks to Marco I found a way to manipulate example sets / tables with the script operator
(http://rapid-i.com/rapidforum/index.php/topic,8342.0.html)
But a short time after I ended up with the questions
-How to create a new table / example set with scripting?
-How to add new attributes and examples to the input example set?
-How to provide newly created and input example set together to the scripting output?
As mentioned in the linked post, I found a kind of documentation but probably I do something wrong with the syntax. Struggling for hours now
Please help
Cheers
Sachs
0
Answers
let me just start with a warning: Using "Execute Script" on a RapidMiner Server will result in problems, mainly eating up memory and never ever releasing it again unless the whole Server is restarted. Which is one of the reasons why we don't use this operator to solve customer problems.
Now that we got the warning out of the way, here you go Regards,
Marco
Thanks a lot! It's so helpful to have a piece of example code in order to understand the basics!
For all other users that work on the same topic I would like to reference to two similar yet slighly different posts:
http://rapid-i.com/rapidforum/index.php?topic=2214.0
http://rapidminernotes.blogspot.de/2013/06/using-groovy-to-make-arbitrary-example.html
Best regards
Sachs
This is definitely worth reading for everyone who wants to start with scripts!