Initializor to catch input errors
1 2 3 | ## S4 method for signature 'nnePtR'
initialize(.Object, input, outcome, levels, n_layers,
n_units, penalty, cost, fitted_params, info)
|
.Object |
object of class nnePtR |
input |
matrix of inputs. Dimensions are (n training samples x n features) |
outcome |
factor variable for outcome |
levels |
character vector of levels of outcome |
n_layers |
number of hidden layers in the network |
n_units |
number of units in the hidden layers |
penalty |
penalty term (weight decay) |
cost |
final cost obtained through optimisation |
fitted_params |
list of matrices holding the fitted parameters |
info |
list containing infomation from optimisation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.