predict_folds: Get a matrix of predictions for a list of models. Parallelise...

Description Usage Arguments Value

Description

Get a matrix of predictions for a list of models. Parallelise with registerDoMC (if you want, I guess).

Usage

1
predict_folds(data, fold_id, models, predict_model)

Arguments

data

any training data format that can be indexed by [i, ]

fold_id

integer sequence denoting folds starting at 1

predict_model

a function with signature (model, data) => predictions. Defaults to predict.

Value

matrix of predictions


DexGroves/hacktoolkit documentation built on May 6, 2019, 2:12 p.m.