RFEAT_object: Create a RFEAT object

Description Usage Arguments Value

View source: R/objects.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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.


MiriamEsteve/EAT documentation built on Jan. 18, 2022, 6:55 p.m.