How do I feed examples incrementally to a looped process?
raoji
New Altair Community Member
Say I have 50 examples in my dataset, I want to feed the the first 10 data examples to the process, then the first 20 in the next iteration and then the first 30 and then the first 40 and then all 50 - How can I do this in RapidMiner?
Tagged:
0
Best Answer
-
Hi @raoji you are doing some loops
You'll need to use the following operators:- Loop: With this you'll control the 5 times you are repeating the operation
- Macro or Generate attribute or Generate Examples: With this you'll create a macro that increases in n each time the loop runs. Example 1st time value 10 the Second time Value * Number of iteration ( this part you should think since its the funny part of building solutions you can build it in many ways)
- Filter Example Range: With this you'll determine the 1st and the nth example you'll want to filter and use
5
Answers
-
Hi @raoji you are doing some loops
You'll need to use the following operators:- Loop: With this you'll control the 5 times you are repeating the operation
- Macro or Generate attribute or Generate Examples: With this you'll create a macro that increases in n each time the loop runs. Example 1st time value 10 the Second time Value * Number of iteration ( this part you should think since its the funny part of building solutions you can build it in many ways)
- Filter Example Range: With this you'll determine the 1st and the nth example you'll want to filter and use
5