predict-multilayer-forestry {Rforestry}R Documentation

predict-multilayer-forestry

Description

Return the prediction from the forest.

Usage

## S3 method for class 'multilayerForestry'
predict(
  object,
  feature.new,
  aggregation = "average",
  seed = as.integer(runif(1) * 10000),
  ...
)

Arguments

object

A 'multilayerForestry' object.

feature.new

A data frame of testing predictors.

aggregation

How shall the leaf be aggregated. The default is to return the mean of the leave 'average'. Other options are 'weightMatrix'.

seed

random seed

...

additional arguments.

Value

A vector of predicted responses.


[Package Rforestry version 0.11.1.0 Index]