Problem with table/cell array in an LSTM anomaly detection project
2 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone, I'm a novice of MATLAB and programming in general and I'm doing an anomaly detection project through LSTM neural networks.
My problem is at the origin of the project since I can't understand how to treat the dataset I want to use.
Being a .csv file, this is represented, inside MATLAB, with a table, but reading many examples on LSTM, I noticed that all the datasets used were never table but array or cell array.
I would like to ask you if it is possible to use a table in this kind of problem or if the dataset should be transformed first by some function and if so which ones (table2cell?).
I leave you a picture of what the table looks like once opened in MATLAB, in this one you can see a column that represents the day and time of the detection, 52 sensors and a final column that represents the state of the system and that is the target of our problem:
Obviously it is not a 4x9 matrix but 220000x55, reduced only as an example.
Thank you to everyone who would like to help me.
0 件のコメント
採用された回答
Divya Gaddipati
2020 年 2 月 14 日
You can use a table as an input to the trainNetwork function for training your LSTM model.
If the data size is same for all columns, then table can be used. Otherwise, it is preferable to use cell.
You can refer to the usage of trainNetwork in the below link:
Hope this helps!
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!