Description Usage Arguments Examples
This function generates a population of neural nets with the same input-output configuration
1 2 | populate.nn(npop, inputs, outputs, hiddens = 0, weights = NULL,
weight_range = c(-1, 1), enable_rate = 0.7)
|
npop |
Numerical value of the number of individuals of the population |
inputs |
Numeric indicating the number of inputs and outputs |
outputs |
Numeric indicating the number of inputs and outputs |
hiddens |
Numeric Vector indicating the number of hidden neurons per layer (optional) |
weights |
Numeric Vector of the nodal weight, if NULL (default) random weights will be sampled from an uniform distribution over weight_range. missing values will be randomized and excess values will be cropped |
weight_range |
Numeric Vector of length 2 with the lower and upper bounds for the random weight generation |
enable_rate |
Numeric between 0 and 1 indicating the probability that a link will be enabled |
1 2 | populate.nn(10, 3, 1)
populate.nn(100, 3, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.