predict.snnR_extended {snnR}R Documentation

predict.snnR_extended

Description

The function produces the predictions for a n-layer feed-forward neural network with additive and dominance effects.

Usage

   ## S3 method for class 'snnR_extended'
predict(object,newdata_add,newdata_dom,...)

Arguments

object

an object of the class snnR_extended as returned by snnR_extended

newdata_add

matrix of test examples for additive effects.

newdata_dom

matrix of test examples for dominance effects.

...

arguments passed to or from other methods.

Details

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

Value

A vector containig the predictions


[Package snnR version 1.0 Index]