Autoencoder EncoderWeights and DecoderWeights
1 回表示 (過去 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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File 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!