I am trying to validate my processes in terms of how I am engaging in model stacking for binary classification. Say I have two models as my base models, models A and B both with different classifiers and model C as my meta model.
My steps are as below.
- Split data into train, test sets
- Split my test set into a validation set (for my meta model training), and a final testing set.
- Train my base models A and B, on the training set using CV. Return the test statistics on the base models on my final testing set.
- Train my meta model using the probabilities generated in the base models on the validation set in part 2. Return the test statistics on the meta model on the final testing set.
- Compare the testing results from models A,B,C.