regression
(To be removed) Perform linear regression of shallow network outputs on targets
regression will be removed. For more information, see Version History.
Description
[ calculates the linear regression between each element of the network response and the corresponding target. r,m,b] = regression(t,y)
This function takes cell array or matrix target t and output y, each with total matrix rows of N, and returns the regression values, r, the slopes of regression fit, m, and the y-intercepts, b, for each of the N matrix rows.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork

