Learn R Programming

brnn (version 0.9.3)

predict.brnn_extended: predict.brnn_extended

Description

The function produces the predictions for a two-layer feed-forward neural network.

Usage

# S3 method for brnn_extended
predict(object,newdata,...)

Value

A vector containig the predictions

Arguments

object

an object of the class brnn_extended as returned by brnn_extended

newdata

matrix or data frame of test examples. A vector is considered to be a row vector comprising a single case.

...

arguments passed to or from other methods.

Details

This function is a method for the generic function predict() for class "brnn_extended". It can be invoked by calling predict(x) for an object x of the appropriate class, or directly by calling predict.brnn(x) regardless of the class of the object.