powered by
Create setting for neural network model with python
setMLP( size = 4, alpha = c(0.3, 0.01, 0.001, 1e-06), maxIter = 2000, tol = 1e-04, learningRateInit = 0.001, nIterNoChange = 10, beta1 = 0.9, beta2 = 0.999, epsilon = c(1, 0.1, 1e-08), seed = NULL )
The number of hidden nodes
The l2 regularisation
Maximum number of iterations. The solver iterates until convergence (determined by <U+2018>tol<U+2019>) or this number of iterations.
Tolerance for the optimization
The initial learning rate used. It controls the step-size in updating the weights.
Maximum number of epochs to not meet tol improvement.
Exponential decay rate for estimates of first moment vector in adam, should be in [0, 1).
Exponential decay rate for estimates of second moment vector in adam, should be in [0, 1).
Value for numerical stability in adam.
A seed for the model
# NOT RUN { model.mlp <- setMLP(size=4, alpha=0.00001, seed=NULL) # }
Run the code above in your browser using DataLab