Question

How to use SVM-RFE for feature selection?

I used thse codes from github for SVM-RFE feature selection % original code by PKF % RFE original courtesy of KE YAN, SM %...

9 días ago | 0 answers | 0

Question

how to use ReliefF algorithm for feteare selection?

I want to use ReliefF Algorithm for feature selection problem,I have a dataset (CNS.mat) I wanted to apply ReliefF Algoritm on t...

9 días ago | 0 answers | 0

Question

How to define a set of features of a dataset in matlab?

I have a dataset CNS with the size nxm n instances and m features(columns), I wanted to write codes to collect all the feature...

16 días ago | 0 answers | 0

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

alrededor de 1 mes 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

alrededor de 1 año 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 ,...

alrededor de 1 año 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? ...

alrededor de 1 año ago | 1 answer | 0