主要内容

lvqoutputs

(To be removed) LVQ outputs processing function

lvqoutputs will be removed in a future release. For more information, see Transition Legacy Neural Network Code to dlnetwork Workflows.

For advice on updating your code, see Version History.

Syntax

[X,settings] = lvqoutputs(X)
X = lvqoutputs('apply',X,PS)
X = lvqoutputs('reverse',X,PS)
dx_dy = lvqoutputs('dx_dy',X,X,PS)

Description

[X,settings] = lvqoutputs(X) returns its argument unchanged, but stores the ratio of target classes in the settings for use by initlvq to initialize weights.

X = lvqoutputs('apply',X,PS) returns X.

X = lvqoutputs('reverse',X,PS) returns X.

dx_dy = lvqoutputs('dx_dy',X,X,PS) returns the identity derivative.

Version History

Introduced in R2010b

collapse all