How do I add features to a fully connected layer in a MATLAB neural network?

I am running a LSTM network on some input data using the trainNetwork function. The data consists of sequencing data with nine features, and I have broken the sequences into windowed segments that I can classify. I want to pass the average, standard deviation, and other features of these segments to the fully connected layer of my neural network to hopefully improve the accuracy of the classifier. I have tried using an addition layer to add the statistical features and features from the LSTM output together but I have had no success. Is this even possible in MATLAB, and if so, how would one go across implementing this?

Answers (2)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 10 Dec 2020

Answered:

on 25 Aug 2022

Community Treasure Hunt

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

Start Hunting!