Signal Labeller App / Machine Learning data format

3 views (last 30 days)
Thomas Wellsbury
Thomas Wellsbury on 24 Apr 2021
Commented: Frantz Bouchereau on 20 Jul 2021
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
Pratyush Roy on 29 Apr 2021
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
Frantz Bouchereau
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!