Question

How to draw a bar plot for comparison different methods?

I want to draw a figure like the figure that I attached, every colourful line is the output of a specific methode and the output...

13 days ago | 0 answers | 0

Answered

How to save the several results of a program in an array?

@Stephen Cobeldick I attaced the allaccuracydata,classificationa and ftanimotodist functions. Thanks greatly

How to save the several results of a program in an array?

@Stephen Cobeldick I attaced the allaccuracydata,classificationa and ftanimotodist functions. Thanks greatly

1 month ago | 0

Question

How to save the several results of a program in an array?

clc; clear; close all; tic load colon.mat data=colon; [n,m]=size(data); %% %supervised d=10; l=1; t=1; for i=1:n ...

1 month ago | 2 answers | 0

Question

how to compute the average of several repeats of a program in matlab?

I wrote this program to classify the dataset(colon) and compute the accuracy of the classifier, I wanted to repeat the classific...

1 month ago | 1 answer | 0

Question

How to compute the average of several runs of a function?

I wrote these codes,I loaded the dataset(colon attached) and I randomly selected a part of the data for test and a part for trai...

2 months ago | 0 answers | 0

Question

Inner matrix dimensions must agree

I wrote these codes, I splitted the dataset(colon attached) into two parts (data1 and data2) based on the last column(1 or else)...

2 months ago | 2 answers | 0

Question

How to make two vectors the same size?

I wrote these codes, I splitted the dataset(colon attached) into two parts (data1 and data2) based on the last column(1 or else)...

2 months ago | 1 answer | 0

Question

how to define Sorenson distance as a function?

I wrote this function for computing Sorenson distance (the formula of Sorenson is attached), Is this code right? the colon is 6...

2 months ago | 0 answers | 0

Question

Why my MATLAB program doesn't stop?

I wrote this program in MATLAB to compute the distance between each feature with the rest of features in CNS data (attached) , b...

2 months ago | 0 answers | 0

Question

How to apply voting for classifiers and obtain the accuracy of classification?

I want to combine the results of five classifiers (SVM, random forest, naive Bayes, decision tree, KNN) by majority voting. I co...

3 months ago | 0 answers | 0

Question

How to select the values greater than the mean in an array?

I want to apply feature selection on a dataset (lung.mat) After loading the data, I computed the mean of distances between eac...

4 months ago | 1 answer | 0

Question

How to apply NMI (mutualinfo) accuracy measure for classifiers?

I want to compute the NMI measure for obtaining the accuracy of the classifiers on a dataset (attached) I used this mutualinfo f...

4 months ago | 0 answers | 0

Question

How to sort a matrix's columns by using indexes

I wrote some codes to sort an array (a) descendingly. I want to use the indexes (indA) to sort the data matrix's columns. clo...

5 months ago | 2 answers | 0

Question

How to compare array's values with each other?

In an array (a) with indexes from 1 to m, I want to compare the values of this array one by one with each other, and if the dist...

6 months ago | 2 answers | 0

Question

How to calculate threshold for matrix in Matlab?

I wrote these codes to calculate a threshold for distance values between features of the dataset. after computing hamming distan...

6 months ago | 1 answer | 0

Question

How to compare matrices with different dimensions?

I wrote a code for classification by using 5 classifiers and at the end I used voting this code is for initia defining of train ...

7 months ago | 0 answers | 0

Question

How to fix MATLAB errors arise from changing the search path?

The Matlab software installed on my computer(windows OS) shows a lot of errors when I tried to change the search path by using a...

7 months ago | 1 answer | 0

Question

How to fix an error about struct input of an function in Matlab?

I wrote this function svmclassify: [SL: Removed the svmclassify function. This is identical (modulo a few blank lines added) to...

7 months ago | 1 answer | 0

Question

How to fix a program that does not end?

I wrote a program for clustering that a number of kmeans algorithms are implemented on a dataset, clear all close all clc lo...

7 months ago | 1 answer | 0

Question

How to fix the errors Arise from moving .m files and functions in folders?

I wrote some codes in Matlab for classification and I achieved the desired results, all the functions which were used in the pro...

7 months ago | 2 answers | 0

Question

How to write CSPA algorithm for clustering ensemble in matlab?

I have lung cancer dataset (attached) , I want to apply clustering ensemble algorithm on the data : CSPA (cluster-based similari...

8 months ago | 0 answers | 0

Question

How to combine classifiers by voting?

I used five classifiers on a dataset, then I want to combine the results of the classifiers by a simple voting methode but I don...

9 months ago | 0 answers | 0

Question

How to apply majority voting for classification ensemble in Matlab?

I have five classifiers SVM, random forest, naive Bayes, decision tree, KNN,I attached my Matlab code. I want to combine the res...

9 months ago | 2 answers | 0

Question

How to save a xls file as a mat file?

I used this code to save an excel file as a .mat file in matlab. num = xlsread('Immunotherapy.xls') save Immunotherapy.mat num...

11 months ago | 1 answer | 0

Question

How to implement classification in Matlab?

I've found that after feature selection I can use classification algorithm to specify the class(label) of each sample, In my re...

11 months ago | 0 answers | 0

Question

How do I import dataset in classification learner app?

I want to use classification learner app in Matlab program to classify my data, I studied this matlab documentation MathWorks ,...

11 months ago | 1 answer | 0

Question

Is random forest a classification ensemble methode?

I want to apply classification ensembke methode for my matrix , Is random forest algorithm a classification ensemble method? ...

12 months ago | 1 answer | 0

Question

How to apply classification ensemble?

I wrote a feature selection code and It's output is a matrix, now I want to apply classification ensemble on the output. I studi...

12 months ago | 0 answers | 0

Question

Testing my feature selection program with datasets

I wrote a feature selection program based on a dataset with two class labels, now I want to test It with more datasets. I searc...

12 months ago | 0 answers | 0

Question

How to compute the average of distances between a column and other columns of a matrix?

I want to compute the average of distances between a column and other columns in a matrix except itself. I'm not sure that the...

1 year ago | 0 answers | 0