plot.ecv.regression: S3 Methods for class '"ecv.regression"'

Description Usage Arguments Value Author(s)

View source: R/ecv.R

Description

Functions for prediction and plotting of ecv.regression objects.

Usage

1
2
3
4
## S3 method for class 'ecv.regression'
predict(object, newdata=NULL, ncores=1, ...)
## S3 method for class 'ecv.regression'
plot(x, ...)

Arguments

object

Object of class "ecv.regression", typically the output of function ecv.regression.

newdata

New data frame to make predictions for. If NULL, prediction is made for training data.

ncores

Number of cores to use for parallel prediction.

x

Object of class "ecv.regression", typically the output of function ecv.regression.

...

Arguments passed to/from other methods.

Value

Function plot.ecv.regression creates a plot of base learner CV errors, with one data point per base learner configuration. The horizontal dotted line indicates the CV error corresponding to the chosen base learner configuration. For "default" method, this is the same as the minimum error of points on this plot. Function predict.ecv.regression returns a vector of length nrow(newdata) (or of length of training data if newdata==NULL.)

Author(s)

Mansour T.A. Sharabiani, Alireza S. Mahani


EnsembleCV documentation built on May 1, 2019, 9:12 p.m.