RFEAT_object {eat}R Documentation

Create a RFEAT object

Description

This function saves information about the Random Forest for Efficiency Analysis Trees model.

Usage

RFEAT_object(
  data,
  x,
  y,
  rownames,
  numStop,
  m,
  s_mtry,
  na.rm,
  forest,
  error,
  OOB
)

Arguments

data

data.frame or matrix containing the variables in the model.

x

Column input indexes in data.

y

Column output indexes in data.

rownames

string. Data rownames.

numStop

Minimun number of observations in a node for a split to be attempted.

m

Number of trees to be built.

s_mtry

Select number of inputs in each split.

  • "Breiman": in / 3

  • "DEA1": (t.obs / 2) - out

  • "DEA2": (t.obs / 3) - out

  • "DEA3": t.obs - 2 * out

  • "DEA4": min(t.obs / out, (t.obs / 3) - out)

na.rm

logical. If TRUE, NA rows are omitted.

forest

list containing the individual Efficiency Analysis Trees.

error

Error in Random Forest for Efficiency Analysis Trees.

OOB

list containing the observations with which each tree has been trained.

Value

A RFEAT object.


[Package eat version 0.1.4 Index]