Description Usage Arguments Value See Also Examples
View source: R/grnn.optmiz_auc.R
The function grnn.optmiz_auc
optimize the optimal value of GRNN smoothing parameter by cross-validation.
It is applicable to the classification.
1 | grnn.optmiz_auc(net, lower = 0, upper, nfolds = 4, seed = 1, method = 1)
|
net |
A GRNN object generated by grnn.fit() |
lower |
A scalar for the lower bound of the smoothing parameter |
upper |
A scalar for the upper bound of the 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 |
method |
A scalar referring to the optimization method, 1 for Golden section searc and 2 for Brent’s method |
The best outcome
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.