Name

ann_sum_of_sqr — calculates sum-of-squares error

CALLING SEQUENCE

E = ann_sum_of_sqr(y,t)

PARAMETERS

E The sum-of-squares error. y Matrix containing the actual network outputs, one pattern per column, each column have a correspondent in t. t Matrix containing the targets, one pattern per column, each column have a correspondent in y.

Description

This function calculates the sum-of-squares error given y and t. Any other, user defined, error function should have the same input and output format for variables.

See Also

ANN , ANN_FF