Description Usage Arguments Value Examples
View source: R/pnn.search_logl.R
The function pnn.search_logl
searches for the optimal value of PNN smoothing parameter by cross-validation.
1 | pnn.search_logl(net, sigmas, nfolds = 4, seed = 1)
|
net |
A PNN object generated by pnn.fit() |
sigmas |
A numeric vector to search for the best smoothing parameter |
nfolds |
A scalar for the number of n-fold, 4 by default |
seed |
The seed value for the n-fold cross-validation, 1 by default |
The list of all searching outcomes and the best outcome
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.