AverageVote: A function for voting. This is used by the Ensemble to...

Description Usage Arguments Value Examples

View source: R/Ensembling.R

Description

A function for voting. This is used by the Ensemble to predict on new data if the voting type is the same as this function name.

Usage

1
AverageVote(list.of.predictions)

Arguments

list.of.predictions

A list of lists where each sublist is a prediction from one of the models in the Ensemble.

Value

A vector containing the predictions from the combined vote of all models

Examples

1
2
# This function is used by predict.Ensemble. It's usage is as follows:
# AverageVote(preds)

orionw/BestModel documentation built on Aug. 17, 2019, 7:29 p.m.