Data format for classification Learner App for time sequence to class prediction
Mostrar comentarios más antiguos
I want to use Classification Learner App for dataset with 400 observations divided into 4 folders: A,B,C,D (100 each).
Folder Names are as per their category/ class: A,B,C,D.
Each observation is stored in CSV file as Var 1,....Var 10 (as col) for 20 time steps (as row).
Is it possible to import these data in Classification Learner App in some way?
Respuestas (1)
Binaya
el 14 de En. de 2024
0 votos
Hi Subhadip
I understand that you want to load your dataset into MATLAB's Classification Learner app.
To load the dataset into Classification Learner app, please follow the below steps:
- Read the all CSV files into MATLAB workspace using "readtable" function.
- Concatenate all the tables into one using "vertcat".
- In Classification Learner app, select the final combined table as the input.
- The data from the table should now be loaded into the Classification Learner app.
Please refer to the below documentation for more details:
- "classificationLearner": https://www.mathworks.com/help/stats/classificationlearner-app.html
- "readtable": https://www.mathworks.com/help/matlab/ref/readtable.html
- "vertcat": https://www.mathworks.com/help/matlab/ref/double.vertcat.html
I hope this helps.
Regards
Binaya
1 comentario
Categorías
Más información sobre Classification Learner App en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!