predict.deepforest: Deep Forest Prediction

Description Usage Arguments Value

View source: R/deepforest.R

Description

Predict function for a deepforest object.

Usage

1
2
3
## S3 method for class 'deepforest'
predict(object, newdata, nlayer = object$nlayer,
  accumulate = object$accumulate, reshape = TRUE)

Arguments

object

A deepforest object

newdata

An object to predict on

nlayer

The number of layers to use for prediction

accumulate

A logical indicating whether to use the accumulated predictions.

reshape

If reshape then the means of each observation across meta models are computed and returned.

Value

A matrix of the predictions


michaelzxu/deepforest documentation built on May 5, 2019, 5:56 p.m.