Borrar filtros
Borrar filtros

Autoencoder EncoderWeights and DecoderWeights

2 visualizaciones (últimos 30 días)
Neelabh Pant
Neelabh Pant el 28 de Nov. de 2016
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!

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by