LSTM序列到序列的数据格式处理

5 次查看(过去 30 天)
正杰 康
正杰 康 2023-4-10
回答: Varun 2023-4-17
输入数据是10000×1的元胞数组,每个元胞是21×100的矩阵,输出数据是10000×1的元胞数组,每个元胞是1×13的矩阵,这样是按照序列到序列来处理吗?如果是,数据格式又该如何改呢?

回答(1 个)

Varun
Varun 2023-4-17
Hello 正杰 ,
I am not exactly sure what kind of data you’re working with, but I found this example which seems to be along the lines of what you’re trying to implement: https://www.mathworks.com/help/deeplearning/ug/sequence-to-sequence-classification-using-deep-learning.html
The data is in the form of a cell array, where each cell has a matrix of features and their values. The output cell array size depends on the size of the test cell array being passed when the model is called to predict the values.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 MATLAB 快速入门 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!