Forward-propagate given data through the deep neural network and return
classification accuracy using the given labels.
Usage
darchTest(darch, newdata = NULL, targets = T)
Arguments
darch
'>DArch instance.
newdata
New data to use, NULL to use training data.
targets
Labels for the data, NULL to use training
labels (only possible when data is NULL as well).
Value
Vector containing error function output, percentage of incorrect
classifications and absolute number of incorrect classifications.
Details
This is primarily a convenience function similar to predict.DArch with
classification performance measurements instead of network output,
and it returns a list of accuracy indicators (raw network error, percentage
of incorrect classifications and absolute number of incorrect
classifications).