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
Answers
One example you can see here.
Now I just have to learn java lol
ExampleSet exampleSet = operator.getInput(ExampleSet.class);
for (Example example : exampleSet) {
example["attribute_test"] = "test";
}
return exampleSet;
You could try .
Good luck.
That gives me the following error:
AM SEVERE: Process failed: The scripting engine Groovy reported an error in the script: groovy.lang.MissingMethodException: No signature of method: com.rapidminer.example.Example.setValue() is applicable for argument types: (java.lang.String, java.lang.String) values: [attribute_test, test]
Possible solutions: setValue(com.rapidminer.example.Attribute, java.lang.String), setValue(com.rapidminer.example.Attribute, double), getValue(com.rapidminer.example.Attribute), getClass(), values().
Using "equal" the script was working (the attribute is correctly filled), but the GUI doesn't accept the connection
Attribute attr = example.getAttributes().get("attribute_test");
example.setValue(attr,"test" );
same behavior as with "equal", I guess I need to inform the GUI, don't I ?
what do you mean with "the gui states an error" - do you mean a warning or an error in the Problems view of RapidMiner? Don't worry, these are *possible* problems, and in some cases RapidMiner is not able to get the correct meta data information and thus indicates a possible error/warning.
Best, Marius