View source: R/NeuralNetwork.R
Trains a neural network and prints some helpful statistics. Returns a trained model.
| 1 | Train.Neural.Network(model, model.par, x_train, y_train, action = NULL)
 | 
| model | A Neural Network e.g. given by  | 
| model.par | Parameters of Neural Network, e.g. given by  | 
| x_train | A Matrix with as much columns as input parameters in the encoding. | 
| y_train | A Matrix with as much columns as output parameters (e.g. action parameters). For each state (x_train)/action combination(column of y_train) this value determines the target. | 
| action | Which action has been taken to receive the respective reward? | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.