Classification prediction | MATLAB implements PCA-BiLSTM (principal component bidirectional long short-term memory neural network) classification prediction
Table of contents
Prediction effect
basic introduction
Classification prediction | MATLAB implements PCA-BiLSTM (principal component bidirectional long short-term memory neural network) classification prediction (complete program and data)
based on principal component analysis-bidirectional long short-term memory neural network classification prediction, PCA-BiLSTM classification prediction, multi-input classification prediction (Matlab complete program and data)
Input multiple features, which can be used for two-classification and multi-classification models to visually display the classification accuracy.
The operating environment is Matlab2018 and above.
programming
-
Complete program and data download: The private message blogger replied to MATLAB to implement PCA-BiLSTM (principal component bidirectional long short-term memory neural network) classification prediction .
-
programming
dropoutLayer(0.2)
fullyConnectedLayer(outputSize)
regressionLayer];
%% trainoption(lstm)
%优化算法、训练次数、梯度阈值、运行环境、学习率、学习计划
opts = trainingOptions('adam', ...
'MaxEpochs',800, ...
'MiniBatchSize',48,...
'GradientThreshold',1,...
'ExecutionEnvironment','gpu',...
'InitialLearnRate',0.005, ...
'LearnRateSchedule','piecewise', ...
'LearnRateDropPeriod',100, ...
'LearnRateDropFactor',0.8, ...
'Verbose',0, ...
'Plots','training-progress'...
);
References
[1] https://blog.csdn.net/kjm13182345320/article/details/120498871?spm=1001.2014.3001.5501
[2] https://blog.csdn.net/kjm13182345320/article/details/120525662?spm=1001.2014.3001.5501
[3] https://blog.csdn.net/kjm13182345320/article/details/120406657?spm=1001.2014.3001.5501
[4] https://mianbaoduo.com/o/bread/mbd-YZyblpxy
Acknowledgments
- Everyone’s support is the motivation for me to write!!