Loading topic
fit/predict API. Earlier chapters built stacking by hand. Here you will use StackingClassifier and StackingRegressor, which do the out-of-fold bookkeeping for you, and5 min readStackingClassifier or by hand. It also assumes you know what L1 and L2 regularization do. The earlier chapters covered how meta-features are produced. This one covers the model that consumes them.4 min readStackingClassifier, that you know why the meta-learner trains on out-of-fold predictions, and that you can read cross-validation scores. By default, the meta-learner sees only the base models' predictions. Here you will see what changes when you also give it th5 min readStackingClassifier as in the previous chapters. It covers how to measure whether a stack or blend is better than its parts, and the ways that measurement goes wrong.5 min readStackingClassifier uses them, and how a regularized meta-learner is chosen. Here the question is what happens when you stack the stack, and whether you should.5 min readStackingClassifier, know why out-of-fold (OOF) predictions are needed, and have used k-fold cross-validation. Stacking works, but it has costs that are easy to underestimate. This chapter covers three of them: the compute and maintenance bill, the break6 min read