I recently was reading about ensemble models, and I want to try constructing one with my data. I want to randomly combine my two models with the lowest RMSLE scores into one similarly constructed model.
My first model uses a boosted regression tree, has 1000 rows and 2 columns (ID and prediction).
My second model is an elastic net regression, also with 1000 rows and 2 columns.
How can I randomly combine the predictions of each model without repeating or missing any ID values? Also, if anyone has other tips about using this type of modeling, I'd greatly appreciate them!