Deep Learning Layers to increase training accuracy
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyones.
I want to use DL for modeling a problem with 6 inputs and one output.
I've used the following layers but I cannot increase the model accuracy not only for unseen samples but also for training samples.
I've check different structures and try to generated a complex model as much as possible to get at least good results in training stages
numHiddenNeuron = 100;
layers = [
featureInputLayer(numFeatures,'Normalization','rescale-symmetric')
fullyConnectedLayer(numHiddenNeuron)
reluLayer('Name','relu')
batchNormalizationLayer
fullyConnectedLayer(numOut)
regressionLayer('Name','regression')];
I would be appreciated it if you could help me.
Regards,
0 commentaires
Réponses (1)
yanqi liu
le 23 Fév 2022
yes,sir,may be add some dropoutLayer in net Layers,such as
numHiddenNeuron = 100;
layers = [
featureInputLayer(numFeatures,'Normalization','rescale-symmetric')
fullyConnectedLayer(numHiddenNeuron)
reluLayer('Name','relu')
batchNormalizationLayer
dropoutLayer
fullyConnectedLayer(numOut)
regressionLayer('Name','regression')];
% or
layers = [ ...
sequenceInputLayer(numFeatures)
lstmLayer(100,'OutputMode','sequence')
dropoutLayer(0.3)
lstmLayer(50,'OutputMode','sequence')
dropoutLayer(0.2)
fullyConnectedLayer(numOut)
regressionLayer];
if possible,may be upload your data to analysis
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!