Linear stacking combines diverse level-1 estimators by feeding their predictions or probabilities into a linear level-2 model. Linear regression and logistic regression are common choices because they train quickly and can support exploratory analysis. section 3.3.1
Build a linear stacking model in three stages:
- Train the individual base estimators. section 3.3.1
- Generate meta-features from their predictions or prediction probabilities. section 3.3.1
Two-moons classification
A stack can combine six diverse classifiers, including decision trees, support vector machines, Gaussian processes, nearest neighbors, random forests, and Gaussian naive Bayes. Logistic regression can then learn how to combine their outputs. section 3.3.1
