powered by
The function pnn.imp derives the importance rank of all predictors used in the PNN It essentially is a wrapper around the function pnn.x_imp.
pnn.imp
pnn.x_imp
pnn.imp(net)
A PNN object generated by pnn.fit()
A dataframe with important values of all predictors in the PNN
# NOT RUN { data(iris, package = "datasets") Y <- iris[, 5] X <- scale(iris[, 1:4]) pnet <- pnn.fit(x = X, y = Y) # } # NOT RUN { pnn.imp(pnet) # }
Run the code above in your browser using DataLab