Learn R Programming

snnR (version 1.0)

predict.snnR: predict.snnR

Description

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

Usage

# S3 method for snnR
predict(object,newdata,…)

Arguments

object

an object of the class snnR as returned by snnR

newdata

matrix of test examples.

arguments passed to or from other methods.

Value

A vector containing the predictions

Details

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