decode
Class: Autoencoder
(To be removed) Decode encoded data
decode 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
Description
returns
the decoded data
Y = decode(autoenc,Z)Y, using the autoencoder autoenc.
Input Arguments
Output Arguments
Examples
Algorithms
If the input to an autoencoder is a vector , then the encoder maps the vector x to another vector as follows:
where the superscript (1) indicates the first layer. is a transfer function for the encoder, is a weight matrix, and is a bias vector. Then, the decoder maps the encoded representation z back into an estimate of the original input vector, x, as follows:
where the superscript (2) represents the second layer. is the transfer function for the decoder, is a weight matrix, and is a bias vector.
Version History
Introduced in R2015bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork