Neural Network Toolbox
  Go to function:
    Search    Help Desk 
postreg    Examples   See Also

Postprocess the trained network response with a linear regression

Syntax

[m,b,r] = postreg(A,T)

Description

postreg postprocesses the network training set by performing a linear regression between each element of the network response and the corresponding target.

postreg(A,T) takes these inputs,

and returns,

Examples

In this example we normalize a set of training data with prestd, perform a principal component transformation on the normalized data, create and train a network using the pca data, simulate the network, unnormalize the output of the network using poststd, and perform a linear regression between the network outputs (unnormalized) and the targets to check the quality of the network training.

Algorithm

Performs a linear regression between the network response and the target, and then computes the correlation coefficient (R-value) between the network response and the target.

See Also

premnmx, prepca



[ Previous | Help Desk | Next ]