grnn.pfi: Derive the PFI rank of all predictors used in the GRNN

Description Usage Arguments Value See Also Examples

View source: R/grnn.pfi.R

Description

The function grnn.pfi derives the PFI rank of all predictors used in the GRNN It essentially is a wrapper around the function grnn.x_pfi.

Usage

1
grnn.pfi(net, class = FALSE, ntry = 1000, seed = 1)

Arguments

net

The GRNN object generated by grnn.fit()

class

TRUE or FALSE, whether it is for the classification or not

ntry

The number of random permutations to try, 1e3 times by default

seed

The seed value for the random permutation

Value

A dataframe with PFI values of all predictors in the GRNN

See Also

grnn.x_pfi

Examples

1
2
3
4
5
6
7
8
data(iris, package = "datasets")
Y <- ifelse(iris[, 5] == "setosa", 1, 0)
X <- scale(iris[, 1:3])
gnet <- grnn.fit(x = X, y = Y)
## Not run: 
grnn.pfi(net = gnet, class = TRUE)

## End(Not run)

yager documentation built on Oct. 26, 2020, 1:06 a.m.

Related to grnn.pfi in yager...