View source: R/class-definition.R
Constructor for nnePtR
1 2 3 |
train_input |
data frame or matrix of input features |
train_outcome |
vector of outcome. should be a factor |
nLayers |
number of hidden layers |
nUnits |
number of units in hidden layers. Constant across each hidden layer. |
lambda |
penalty term |
seed |
seed for initialising network |
iters |
number of iterations (passed to optim) |
optim_method |
opitimisation method (passed to optim) |
trace |
should report from optim be produced? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.