Main Content
encode
Class: Autoencoder
Encode input data
Syntax
Description
returns
the encoded data, Z
= encode(autoenc
,Xnew
)Z
,
for the input data Xnew
, 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.
Version History
Introduced in R2015b