Autoencoder EncoderWeights and DecoderWeights

2 次查看(过去 30 天)
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 中查找有关 Pattern Recognition and Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by