Description Usage Arguments Value See Also Examples
The function pnn.x_pfi
derives the permutation feature importance (PFI) of a predictor used in the PNN,
where the "importance" is deined by the increase in cross entropy after the predictor is randomly permutated.
1 | pnn.x_pfi(net, i, ntry = 1000, seed = 1)
|
net |
A PNN object generated by pnn.fit() |
i |
The ith predictor in the PNN |
ntry |
The number of random permutations to try, 1e3 times by default |
seed |
The seed value for the random permutation |
A vector with the variable name and the PFI value.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.