fpr_fs: False Postivie Rate Feature Selection

Description Usage Arguments Value Author(s) Examples

View source: R/fpr_fs.R

Description

Calculate the False Positive Rate (FPR) for each feature using it's selection frequency

Usage

1
fpr_fs(x)

Arguments

x

a randomForest or ranger object

Value

a tibble of selection frequencies and their false positive rate

Author(s)

Jasen Finch jsf9@aber.ac.uk

Examples

1
2
3
4
5
6
library(randomForest)
data(iris)
iris.rf <- randomForest(iris[,-5], iris[,5], forest = TRUE)

iris.features <- fpr_fs(iris.rf)
print(iris.features)

wilsontom/forestControl documentation built on Feb. 23, 2022, 8:10 p.m.