Stacked autoencoder, problems

I'm using a stacked autoencoder with fine tuning to perform function approximation. Feature extracted from the first autoencoder are ok, then I use it as input of a 2nd autoenc. What happen is that the feat of the 2nd autoenc. are always identical. Indipendently on the size of thelayer and on the data sets. Why? Also, the second autoencoder is not able to reconstruct the input. Here is my code:
nfeat1=8
autoenc1 = trainAutoencoder(pattern',nfeat1,'MaxEpochs',500,'EncoderTransferFunction','logsig','DecoderTransferFunction','purelin');
feat1 = encode(autoenc1,pattern');
nfeat2=3
autoenc2 = trainAutoencoder(feat1,nfeat2,'MaxEpochs',500,'EncoderTransferFunction','logsig','DecoderTransferFunction','purelin');
feat2 = encode(autoenc2,feat1);
second.jpg

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

질문:

2019년 5월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by