How to crate datastore for .mat file dataset?
Show older comments
I have 3 classes and each class contain 2000 sample of .mat. for example
2PSK
fram2psk1.mat, fram2psk2.mat, fram2psk3.mat, fram2psk4.mat, ......... fram2psk2000.mat,
4PSK
fram4psk1.mat, fram4psk2.mat, fram4psk3.mat, fram4psk4.mat, ......... fram4psk2000.mat,
8PSK
fram8psk1.mat, fram8psk2.mat, fram8psk3.mat, fram8psk4.mat, ......... fram8psk2000.mat,
How do i crate a datastore to train modeil on this dataset
Answers (2)
KSSV
on 12 Nov 2021
0 votes
Read here an example is given: https://in.mathworks.com/help/matlab/ref/matlab.io.datastore.filedatastore.html#mw_1ef829ea-2656-4260-9dcb-f676352d8470
sir,may be use cell to save the data in mat file,such as
[XTrain,YTrain] = japaneseVowelsTrainData
2 Comments
john karli
on 12 Nov 2021
yanqi liu
on 12 Nov 2021
sir,i think use Y to define label,such as Y{1} = 'folder1'
Categories
Find more on Deep Learning Toolbox 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!