This function simply applies a weighted average, where the predictions of the base models Y_hat are weighted according to their weights W. If a committee is specified, only models in the committee are weighted.
combine_predictions(Y_hat, W, committee = NULL)
a data.frame with the predictions of the base models;
a matrix or data.frame with the weights of the base models;
A list containing the ids of the models in the committee.