predict.Weights {TeachNet}R Documentation

Computes prediction

Description

This function computes for a given data set and weights of a one hidden layer network, a prediction from a TeachNet neural network.

Usage

## S3 method for class 'Weights'
predict(object, newdata, delete.firstColumn=TRUE, ...)

Arguments

object

The Weights 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.Weights2, Weights-class, Weights2-class


[Package TeachNet version 0.7.1 Index]