View source: R/param_network.R
dropout | R Documentation |
These functions generate parameters that are useful for neural network models.
dropout(range = c(0, 1), trans = NULL)
epochs(range = c(10L, 1000L), trans = NULL)
hidden_units(range = c(1L, 10L), trans = NULL)
hidden_units_2(range = c(1L, 10L), trans = NULL)
batch_size(range = c(unknown(), unknown()), trans = transform_log2())
range |
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units. |
trans |
A |
dropout()
: The parameter dropout rate. (See parsnip:::mlp()
).
epochs()
: The number of iterations of training. (See parsnip:::mlp()
).
hidden_units()
: The number of hidden units in a network layer.
(See parsnip:::mlp()
).
batch_size()
: The mini-batch size for neural networks.
dropout()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.