Signal Labeller App / Machine Learning data format
Show older comments
I have labelled a signal in the signal labeller app which provides me with ls (labeledSignalSet) but the classifier learner app will not accepet this format of data, only table or matrix. However it appears you cannot change a labelledSignalSet into a table or matrix) What is the best way to create a format with the signal in one column and the label in the other?
load('labeled23.mat')
load('lblDefs.mat')
[sd,ld] = createDatastores(ls,["Cycle"]);
lss = labeledSignalSet(sd,lblDefs)
Answers (1)
Pratyush Roy
on 29 Apr 2021
0 votes
Hi,
The getLabeledSignal function can convert a labelled signal set to a table. You can go through the documentation page for more details.
Hope this helps!
2 Comments
Thomas Wellsbury
on 29 Apr 2021
Frantz Bouchereau
on 20 Jul 2021
Thomas, you can use the signalMask object to convert region or interest labels to cateorical sequences with one label per sample.
Categories
Find more on Descriptive Statistics 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!