mindep: Execute minimal depth variable importance

View source: R/mindep.R

mindepR Documentation

Execute minimal depth variable importance

Description

This function determines the minimal depth of variables from a forest that is created by getTreeranger, and addLayer functions.

Usage

mindep(variables, trees)

Arguments

variables

vector of variable names

trees

list of trees that was generated by getTreeranger and layers functions

Value

List with the following components:

  • depth: mean minimal depth for each variable

  • selected: variables has been selected (1) or not (0),

  • threshold: the threshold that is used for the selection


StephanSeifert/SurrogateMinimalDepth documentation built on Aug. 7, 2023, 1:59 a.m.