predict-multilayer-forestry function

predict-multilayer-forestry

predict-multilayer-forestry

Return the prediction from the forest.

## 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.

Returns

A vector of predicted responses.

  • Maintainer: Theo Saarinen
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2025-03-15