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
Append multiple 1 row datasets together
if I have a folder of 1 row datasets with the same attribute count and type how do I append them into 1 larger dataset? The append operator obviously looks for 2 inputs but is it smart enough to know that the 2nd dataset might be coming from a loop operator?
0
Answers
Scott
Loop Examples with Iris sample data set Loop Values with Iris sample data set Make sense?
Scott
If you look at this simple setup the append operator is fine if I have a small number of datasets (x = 5) I can wire up individually but if x = 100 or 1000 then it becomes alot of work and very messy. Is there a way in rapidminer to accomplish this using ? Collections would just group them together but I need to end up with 1 dataset and forget about the individual datasets from then on.
Is it a case of needing to start a different way so i don't end up with 1000's of small datasets in the first place
One is Exa which is the last iteration of your process if connected (or the last iteration of the loop depending on how you connect it).
The other port name out is the one you want to connect to as it outputs a collection of all the loops in your set.
Here's Scott's Iris & Loop Examples example again reworked to show two ways of getting Output from the loop operator.
The 3rd way is using Remember & Recall if your operator doesn't have an output port.
if you already have all your datasets in a repository folder, you can just loop over it and append the collection. Regards,
Marco
By using Remember, Recall operators you can combine the examplesets together (in this case using Union rather than Append).
Why did I never notice the second output of the Loop Examples operator?
Scott