How to assign labels to a dataset using 'signalDatastore' object?
4 views (last 30 days)
Show older comments
I have a dataset in a folder for classification purpose using crossentropy as loss function in deep learning. I need to add labels to my dataset. How can I do this? Whether signalDatastore object helps to assign labels like imageDatastore object?
0 Comments
Answers (1)
dpb
on 24 Jun 2024
Not at all sure about what you mean by "object helps to assign labels like imageDatastore object".
signalDatastore <example> illustrates picking two variables out of a set of files; it does require you know what the desired variable names from the files are, but that seems like something would have to know, anyway.
But, there's also an example of programmatically return variable names from a .mat or text file under the SignalVariableNames parameter for files.
See Also
Categories
Find more on AI for Signals and Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!