Solved – How to use residuals to train a model

modelingrresiduals

I've read in a couple places about people using residuals from predictions of other models to improve the model's accuracy. Anyone have a link about how to carry this out in R, ideally with some example code?

UPDATE: This is in the context of reading the papers about the Netflix prize where k-nearest neighbors (KNN) models were trained using residuals from other KNN models.

Best Answer

This technique is used in a variety of ways. For example, boosting. There are also various multi-level classifications algorithms that do similar things. The idea is to see where your first level makes mistakes and concentrate further learning in that area, keeping what you have and building on it rather than changing what you have.