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
Loop operator does not output Generated attributes for later use
Is there a workaround for this? I am using a Loop Parameter operator to generate a bunch of moving averages. Later on the same process I would like to select some of those newly created attributes but they are never available from the select attributes operator window. The only way for me to see them is to export the dataset to an excel file and then import it again as a new file. Then the attributes appear as normal.
Tagged:
0
Best Answer
-
lionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 UnicornHi @pblack476,
You can always enter manually the differents attributes names in the Select Attributes operator window...
If I misunderstood what you are trying to do, please explain the problem in more detail.
Regards,
Lionel6
Answers
RapidMiner has the concept of so called meta data. This means RM evaluates the process before execution and tries to update the meta data at each of the operators without actually executing the process. This allows RM for example to provide a list of attributes when you configure the Select Attribute operator. Sometimes this meta data propagation is not possible (for example if you don't have any meta data information about the raw data), thus the attribute selection list is empty in this case.
But in your case there could also be a bug in the meta data propagation. To check this, we would need your process and input data.
Best regards,
Fabian
Unfortunately for me every thing is fine, so I cannot reproduce your problem. Could you please check if you have the latest version of RapidMiner Studio and all extensions installed. You can check this by open the Marketplace and click on the 'Updates' tab which checks for newer versions. Especially please check if you are on the latest version of the Operator Toolbox extension (which is 2.2.0). There was a fix in the meta data propagation for the Merge Attributes operator in 2.0.0).
If you have the latest versions of RM Studio and all extensions, could you provide the rapidminer-studio.log file (located under $User/.RapidMiner/).
Best regards,
Fabian
Sorry took me a few days to find the time to look into this again. I think I misunderstood you in the first run. So probably a few attributes appear in the selection, but not for the other iterations of the Loop, correct?
If this is correct, I unfortunately have to say that there is no workaround for this. The Loop operator only evaluates the Meta Data for its first iteration, and the meta data of the collection at the output port only contains the information of the first iteration.
I would suggest your kind of workaround with intermediate Store. But you don't need to write it as an excel file, you can use the Store operator to store the ExampleSet after the Merge Attributes operator in your repository. Then use a new process to Retrieve the ExampleSet from the repository and process them further. Thus you also separate different steps of your analysis, which can improve overview and you don't need to rerun the whole analysis chain if you change some step in the chain.
Best regards,
Fabian