Data handling in LSTM custom loops
Show older comments
I have written a custom loop to train an LSTM model for sequence-to-sequence regression. I am passing the training data as a cell array where each cell contains a time history observation from the process I am trying to model. So, the training variable is a cell array with size nObservations x 1. Each cell variable has a size of nFeatures x nTimeSteps where, nFeatures refer to the total number of input features and nTimeSteps is the time duration over which the data is recorded. For this data, how should I format the variables in dlarray?
I am formatting each time history as "CT" but I am not sure if that is correct for using the "mse" function.
Accepted Answer
More Answers (0)
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!