The function grnn.imp derives the importance rank of all predictors used in the GRNN It essentially is a wrapper around the function grnn.x_imp.
grnn.imp
grnn.x_imp
grnn.imp(net, class = FALSE)
The GRNN object generated by grnn.fit()
TRUE or FALSE, whether it is for the classification or not
A dataframe with important values of all predictors in the GRNN
# NOT RUN { 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.imp(net = gnet, class = TRUE) # }
Run the code above in your browser using DataLab