Learn R Programming

handwriterRF (version 1.1.1)

random_forest: A ranger Random Forest and Data Frame of Distances

Description

A list that contains a trained random forest created with ranger and the dataframe of distances used to train the random forest.

Usage

random_forest

Arguments

Format

A list with the following components:

rf

A random forest created with ranger with settings: importance = 'permutation', scale.permutation.importance = TRUE, and num.trees = 200.

distance_measures

A vector of the distance measures used to train the random forest: c('abs', 'euc')

Examples

Run this code
# view the random forest
random_forest$rf

# view the distance measures used to train the random forest
random_forest$distance_measures

Run the code above in your browser using DataLab