Stacked Autoencoder for regression output layer
显示 更早的评论
I am trying to use stacked auto encoder (SAE) by following this link:
I get that the first two autoencoders can be stacked normally, however my problem is regression output and the last layer which is stacked in the link is trainSoftmaxLayer.
Below is the code i would like to replace:
softnet = trainSoftmaxLayer(feat2,tTrain,'MaxEpochs',400);
Which should look like:
regNet = trainRegressionLayer(feat2,tTrain,'MaxEpochs',400);
Is there any way to train regression layer with SAE?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!