Code used to ensemble models