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
Stacking With different preprocessing for the base learners
Hi everyone. I am new with RapidMiner
I am trying to implement stacking for a dataset. However whenever I attempt to do different preprocessing for each algorithm, i get an error.
My question is, can one apply further preprocessing of input within the stacking operator before feeding into the algorithm operators?
Thanks in advance
Tagged:
0
Answers
WIth help of group models you can do a lot of things in this regard, what did you have in mind?
~Martin
Dortmund, Germany
What I had in mind was to use the Stacking operator to blend several algorithms eg SVM, Decision tree and Naive Bayes. However, I would like to do a diferrent set of preprocessing steps for each model. I thought to input the data into the Stacking operator, then undertake preprocessing within the Stacking operator (different preprocessing for each algorithm) before feeding the training data into each operator(SVM, Decision Tree and Naive Bayes) as shown here
When I attempted this error:
Input ExampleSet does not match the training ExampleSet. Attribute 'Age' is is of value type real but it should be 'nominal' or a supertype.
Does it mean that if I have to apply the Stacking operator, I would need to do all my preprocessing outside of it, and none within it?
What options do I have if I were to use the Stacking operator but apply different preprocessing to the data for each base model? An example process would really be helpful.
Thanks.
Dear Ekiprop,
for the lower to learners you can easily use a Group Models to solve it. What is the preprocessing for the Decision Tree? That has no preprocessing model, so I am a bit confused what it does .
Attached is a 7.2 process showing group models in stacking on golf. We recommend 7.2 not only for feature reasons, but also for stabilty.
~Martin
Dortmund, Germany
Thank you mschmitz . Thats just what I needed.:smileyhappy:
I have modified your process to look as in the code below. I would like to evaluate the performance of the stacked ensemble but when I run it, I get the "Attributes do not match" error on the Apply Model operator. How can I solve the error?