필터 지우기
필터 지우기

Autoencoder EncoderWeights and DecoderWeights

조회 수: 1 (최근 30일)
Neelabh Pant
Neelabh Pant 2016년 11월 28일
The autoencoder takes,
autoenc=trainAutoencoder(testData,100,'MaxEpochs',50,'EncoderTransferFunction','satlin','DecoderTransferFunction','purelin');
as argument, but my question is how can I retrieve EncoderWeights, EncoderBias, DecoderWeights and DecoderBias in each epoch. Say for example, the
trainAutoencoder
will start its computation for epoch = 1, 2, 3,..., 50 so once it does for 1st epoch I want the weights to be retrieved in a matrix. How can I do this.
I tried doing this,
for i = 1:50
autoenc = trainAutoencoder(testData,100,'MaxEpochs',i,...
'EncoderTransferFunction','satlin',...
'DecoderTransferFunction','purelin');
EncoderWeights = autoenc.EncoderWeights
and so and so forth...
end
but this doesn't seem to be a viable solution.
Can someone help!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by