Autoencoder EncoderWeights and DecoderWeights
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!