Signal Labeller App / Machine Learning data format

6 views (last 30 days)
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.

Categories

Find more on Machine Learning and Deep Learning for Signals 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!

Translated by