Community Profile

photo

sun rise


Last seen: Today Active since 2021

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


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 ...

29 days ago | 1 answer | 0

1

answer

Answered
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...

30 days ago | 0

Question


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 ...

1 month ago | 3 answers | 0

3

answers

Question


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...

1 month ago | 0 answers | 0

0

answers

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 0 answers | 0

0

answers

Question


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...

4 months ago | 0 answers | 0

0

answers

Question


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...

4 months ago | 1 answer | 0

1

answer

Question


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)...

4 months ago | 0 answers | 0

0

answers

Question


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); %...

4 months ago | 1 answer | 0

1

answer

Question


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...

5 months ago | 0 answers | 0

0

answers

Question


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); %-------------...

5 months ago | 0 answers | 0

0

answers

Question


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...

5 months ago | 1 answer | 0

1

answer

Question


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'...

5 months ago | 1 answer | 0

1

answer

Question


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'...

6 months ago | 1 answer | 0

1

answer

Question


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 ...

6 months ago | 0 answers | 0

0

answers

Question


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...

6 months ago | 0 answers | 0

0

answers

Question


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...

6 months ago | 1 answer | 0

1

answer

Question


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...

6 months ago | 0 answers | 0

0

answers

Question


Too many input arguments.
clear;clc;close all net = inceptionv3; inputSizeNet = net.Layers(1).InputSize; %Convert the network to a dlnetwork obje...

6 months ago | 1 answer | 0

1

answer

Question


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...

7 months ago | 1 answer | 0

1

answer

Question


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...

7 months ago | 2 answers | 0

2

answers

Question


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...

8 months ago | 1 answer | 0

1

answer

Question


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 . ...

9 months ago | 0 answers | 0

0

answers

Question


Why Accuracy is zero
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,Group_Test1) %Models a given training set with a corresponding ...

9 months ago | 1 answer | 0

1

answer

Question


Too many input arguments.
function [result] = multisvm(TrainingSet,Group_Train1,TestSet,Group_Test1) %Models a given training set with a corresponding ...

9 months ago | 0 answers | 0

0

answers

Question


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 ...

10 months ago | 1 answer | 0

1

answer

Answered
why accuracy is zero
Yes

10 months ago | 0

Question


why accuracy is zero
function [result] = multisvm(TrainingSet,GroupTrain,TestSet) %Models a given training set with a corresponding group vector a...

11 months ago | 2 answers | 0

2

answers

Question


Dot indexing is not supported for variables of this type.
sad1 = 'D:\Project\DB\train\'; sad = dir(sad1); % Returns both folders and files % sad = dir(pwd); % Returns both folder...

1 year ago | 3 answers | 1

3

answers

Load more