predictions.snnR_extended: predict.snnR_extended

Description Usage Arguments Details Value

Description

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

Usage

1
2
   ## 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


snnR documentation built on May 2, 2019, 8:54 a.m.