Undefined function 'imageDataStore' for input arguments of type 'cell'.
Mostra commenti meno recenti
Code:
outputFolder = fullfile('C:\Users\JIARA\Documents\MainGUI');
rootFolder = fullfile(outputFolder, 'Eye_Images');
categories = {'Normal','Diabetes Detected'};
imds = imageDataStore(fullfile(rootFolder, categories), 'LabelSource', 'foldernames');
tbl = countEachLabel(imds);
[trainingSet,testSet] = splitEachLabel(imds,0.3,'randomize');
bag = bagOfFeatures(trainingSet);
categoryClassifier = trainImageCategoryClassifier(trainingSet,bag);
confMatrix = evaluate(categoryClassifier,testSet)
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Category Classification in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!