What is the Stacking Algorithm in Weka? How it actually is working?

做~自己de王妃 提交于 2019-12-06 10:50:49

Consider an ensemble of n members. Each of these members are trained on a given set of training data. The ensemble members may share the same classifier type (homogeneous) or use different classifiers (heterogeneous). Diversity is encouraged between the members so that each member generates different estimates.

Instead of voting or averaging the estimates of each ensemble member to generate the ensemble estimate, stacking trains a meta-learner between the ensemble members and the ensemble estimate that accepts each ensemble member's estimate as inputs and generates the ensemble output.

An example is outlined below:

Ensemble Member 1 Estimate --->
Ensemble Member 2 Estimate --->  Meta-Learner -> Ensemble Estimate
Ensemble Member 3 Estimate --->

In the case of Weka, the 'classifiers' parameter refers to the ensemble members that are initially trained to estimate the output, and the 'metaClassifier' is the model that takes the classifier inputs and estimates the ensemble output.

Hope this helps!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!