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/ModelComparison documentation built on Nov. 4, 2019, 11:11 p.m.