Main Content
decode
Class: Autoencoder
Decode encoded data
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 R2015b