The function produces the predictions for a n-layer feed-forward neural network.
# S3 method for snnR
predict(object,newdata,…)an object of the class snnR as returned by snnR
matrix of test examples.
arguments passed to or from other methods.
A vector containing the predictions
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.