![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16482360_1570398418449_DEF.jpg)
sun rise
Followers: 0 Following: 0
Feeds
提问
Invalid types for comparison.
load Group_Test load labelIdx.mat [c,cm,ind,per] = confusion(Group_Test1,labelIdx); figure cm = confusionchart(cm); cm.Colu...
2 years 前 | 1 个回答 | 0
1
个回答提问
Relational comparisons are not allowed for categorical arrays that are not ordinal
The error is due to the difference in the type of the array. How can I change the type of the array so that the code works.Look ...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Index in position 2 exceeds array bounds (must not exceed 1).
%label.m setup_folders; sadtrdinfo = dir(sad1train); % Returns both folders and files % sad = dir(pwd); % Returns bot...
Index in position 2 exceeds array bounds (must not exceed 1).
%label.m setup_folders; sadtrdinfo = dir(sad1train); % Returns both folders and files % sad = dir(pwd); % Returns bot...
2 years 前 | 0
提问
Index in position 2 exceeds array bounds (must not exceed 1).
load featurs_T load featurs_S load Group_Train load Group_Test load actual_label load predict_label load predict_label ...
2 years 前 | 3 个回答 | 0
3
个回答提问
No constructor 'handle.listener' with matching signature found.
I need to compare between two classifiers can anyone help me to compute the accuracy of these classifiers? No constructor 'ha...
2 years 前 | 0 个回答 | 0
0
个回答提问
Invalid RHS for assignment to a categorical array.
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,actual_label) %Models a given training set with a corresponding...
2 years 前 | 1 个回答 | 0
1
个回答提问
How can I get the prediction matrix to use in voting between two classifiers?
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,Group_Test1) %Models a given training set with a corresponding ...
2 years 前 | 0 个回答 | 0
0
个回答提问
Is it possible to get a code to vote among the max accuracy for each image for two classifiers.
For example, the accuracies of recognition of each classifier on this image. Then compare the two accuracies and choose the maxi...
2 years 前 | 0 个回答 | 0
0
个回答提问
Index exceeds the number of array elements (2).
load featurs_T load featurs_S load Group_Train load Group_Test load featurs_TLBP load featurs_SLBP result= multis...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to apply majority voting for classification ensemble in Matlab? HOG-SVM & LBP-SVM
load featurs_T load featurs_S load Group_Train load Group_Test result= multisvm(Feat1,Group_Train1,Feat2,Group_Test1)...
2 years 前 | 0 个回答 | 0
0
个回答提问
Cannot find an exact (case-sensitive) match for 'lbp'
clear all clc PF = 'D:\Project\DB1\train\' % Parent Folder SFL = dir(PF) ;% List the sub folders [mp, np] = size(SFL); %...
2 years 前 | 1 个回答 | 0
1
个回答提问
SAMPLE and TRAINING must have the same number of columns. after using pca
load featurs_T load featurs_S load Group_Train load Group_Test %{ cv_x=cov(Feat1); [V,D] = eig(cv_x); d=diag(D); d=d(end...
2 years 前 | 0 个回答 | 0
0
个回答提问
The length of GROUP must equal the number of rows in TRAINING.
load featurs_T load featurs_S load Group_Train load Group_Test Feat1 = pca(Feat1); Feat2 = pca (Feat2); %-------------...
2 years 前 | 0 个回答 | 0
0
个回答提问
The pooled covariance matrix of TRAINING must be positive definite.
clc clear all load featurs_T load featurs_S load Group_Train load Group_Test cv_x=cov(Feat1); [V,D] = eig(cv_x); d=d...
2 years 前 | 1 个回答 | 0
1
个回答提问
Writing TIFFs with 9 components is not supported with IMWRITE. Use Tiff instead. Type "help Tiff" for more information.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC imdsTrain = imageDatastore('D:\Project\DB1\train'...
2 years 前 | 1 个回答 | 0
1
个回答提问
1-bit TIFF images having more than 1 channel are not supported.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC imdsTrain = imageDatastore('D:\Project\DB1\train'...
2 years 前 | 1 个回答 | 0
1
个回答提问
Accuracy is very low! When I used a small part of the data set, the accuracy reached 15%, and when I used the whole data set, the accuracy was zero
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,Group_Test1) %Models a given training set with a corresponding ...
2 years 前 | 0 个回答 | 0
0
个回答提问
Error using trainingOptions (line 269) The value of 'ValidationData' is invalid. The datastore used for 'ValidationData' must return a 2-column table or an M-by-2 cell array.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC imdsTrain = imageDatastore('D:\Project\DB1\train','In...
2 years 前 | 1 个回答 | 0
1
个回答提问
The value of 'ValidationData' is invalid. Validation data must be a table, a datastore, or a cell array with input data and responses.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC imdsTrain = imageDatastore('D:\Project\DB1\train','In...
2 years 前 | 1 个回答 | 0
1
个回答提问
Invalid training data. X must be a 4-D array of images, an ImageDatastore, or a table.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC imdsTrain = imageDatastore('D:\Project\DB1\train','In...
2 years 前 | 0 个回答 | 0
0
个回答提问
Too many input arguments.
clear;clc;close all net = inceptionv3; inputSizeNet = net.Layers(1).InputSize; %Convert the network to a dlnetwork obje...
2 years 前 | 1 个回答 | 0
1
个回答提问
Array formation and parentheses-style indexing with objects of class 'matlab.io.datastore.ImageDatastore' is not allowed.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC %imds = imageDatastore('D:\Project\DB1\train','Incl...
2 years 前 | 1 个回答 | 0
1
个回答提问
The number of observations must be a positive integer greater than one.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC %imds = imageDatastore('D:\Project\DB1\train','Incl...
2 years 前 | 2 个回答 | 0
2
个回答提问
Unrecognized method, property, or field 'Min' for class 'nnet.cnn.layer.ImageInputLayer'.
clear;clc;close all % Load the Image Dataset of Normal and Malignant WBC %imds = imageDatastore('D:\Project\DB1\train','Includ...
3 years 前 | 1 个回答 | 0
1
个回答提问
split data by classes
Hello everyone .I want code split data in two class based on the Excel file ,where 01 and oo non_melanoma and 1 0 melanoma . ...
3 years 前 | 0 个回答 | 0
0
个回答提问
Why Accuracy is zero
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,Group_Test1) %Models a given training set with a corresponding ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Too many input arguments.
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,Group_Test1) %Models a given training set with a corresponding ...
3 years 前 | 0 个回答 | 0
0
个回答提问
X and Y do not have the same number of observations.
setup_folders; sadtrdinfo = dir(sad1train); % Returns both folders and files % sad = dir(pwd); % Returns both folders and ...
3 years 前 | 1 个回答 | 1
1
个回答提问
why accuracy is zero
function [result] = multisvm(TrainingSet,GroupTrain,TestSet) %Models a given training set with a corresponding group vector a...
3 years 前 | 2 个回答 | 0