nn_model_sel | R Documentation |
This function determines the optimal number of hidden units to use in a single-hidden-layer MLP. It allows for a bottom-up and top-down approach.
nn_model_sel( X, Y, q_max, q_min = 1, W = NULL, n_iter = 1, inf_crit = "BIC", unif = 3, method = "top_down", remove = "best", plot = F, dev = unif/2, ... )
X |
Matrix of inputs |
Y |
Output vector |
q_max |
Largest number of hidden units to consider |
n_iter |
Number of iterations |
inf_crit |
Information criterion |
unif |
Uniform distribution |
method |
Procedure |
Optimal number of hidden units
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.