merge_predictors: Merge Predictors

Description Usage Arguments Examples

View source: R/merge_predictors.R

Description

This function merges multiple predictors to find the optimal combination for prediction

Usage

1
merge_predictors(y, pred1, pred2)

Arguments

y

the target matrix

pred1

the matrix of predictions given by the first model

pred2

the matrix of predictions given by the second model

Examples

1
merge(y, predict(model1, newdata=x), predict(model2, newdata=x))

jakewalker56/jml documentation built on May 18, 2019, 9:08 a.m.