Effacer les filtres
Effacer les filtres

Problem with table/cell array in an LSTM anomaly detection project

2 vues (au cours des 30 derniers jours)
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:
es.PNG
Obviously it is not a 4x9 matrix but 220000x55, reduced only as an example.
Thank you to everyone who would like to help me.

Réponse acceptée

Divya Gaddipati
Divya Gaddipati le 14 Fév 2020
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!

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by