predict.Weights2 {TeachNet} | R Documentation |
Computes prediction
Description
This function computes for a given data set and weights of a two hidden layer network, a prediction from a TeachNet neural network.
Usage
## S3 method for class 'Weights2'
predict(object, newdata, delete.firstColumn=TRUE, ...)
Arguments
object |
The Weights2 object TeachNet returned after training. |
newdata |
The data set you which to predict. Has to have the same variables as the used training data set (except for the class variable) and has to be scaled (Z-Scores)! |
delete.firstColumn |
When class variable is first column, set to TRUE |
... |
additional arguments affecting the predictions produced |
Value
returns a vector with the predictions of TeachNet
Author(s)
Georg Steinbuss
See Also
predict.Weights, Weights-class, Weights2-class
[Package TeachNet version 0.7.1 Index]