I try to ensemble some models. I think that if I want to use stacking method, I have to divide data into two-parts. One part is for training first layer models. After training first layer models, next step is predict value with the other data. Finally with predicted value, we can train final model. Thus, train data should be divided into two parts. However some comments do not divide it. Please tell me which one is correct.