Learn R Programming

rerf (version 2.0.4)

getWeights: Extract feature weights from the sparse projection vector.

Description

A helper function to extract the feature weights from the projection vector stored in a tree object.

Usage

getWeights(x)

Arguments

x

a list of unique.projections from the intermediate steps of the FeatureImportance function.

Value

list of unique feature weights