Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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