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
How to calculate inter-model correlation for an ensemble
djafarsidik
Member Posts: 7 Learner I
in Help
Dear experts,
I have read that empirically, stacking ensemble tend to yield better results when there is a significant diversity among the models, one way to examine that is looking for a low correlation between the predictions of the classifier.
In R there is function modelCor (caret) which can be used to check it, Is there any same function/method/operator in Rapidminer ?
Thank you very much for your help and response.
0
Best Answer
-
varunm1 Member Posts: 1,207 UnicornHello @djafarsidik
Please find the attached process and do let me know if you have any questions. I added comments under the operator in this process. To use this, you need to download the attached .rmp file and import it into your RM by selecting FILE --> IMport Process. Run it and you can see the correlations. I think I can simplify but the provided solution works.Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
8
Answers
Did you build a stacking ensemble in RM? if so, why not extract predictions from each model and use "correlation matrix" operator to find a correlation between the predictions coming from different models in a stacked ensemble.
If you can share your process .rmp file we can have a look.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Can you provide a .rmp file? you can export the process as .rmp by going to FILE --> Export Process in rapidminer. The XML you copied didnt have full code as it shows only the first line of process.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing