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

3 días 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...

3 días 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...

24 días 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...

alrededor de 2 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...

alrededor de 2 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 ...

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

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

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

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

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

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

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

5 meses ago | 1 answer | 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...

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

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

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

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

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

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

9 meses ago | 0 answers | 0

Question

How to split a column's elements to two vectors based on lables?

I attached a part of lung dataset(32X57), It's last column is the lables(1 or 2), I want to split each column to two vectors bas...

9 meses ago | 2 answers | 0

Question

How to use pdist2 for unequal vectors?

I want to compute the distance between two vectors by using Jaccard distance measure in matlab program. I studied about pdist2 ...

9 meses ago | 0 answers | 0

Question

How to split positive & negative comments?

Firefox users' opinions collected in a text file, I want to write codes in Matlab to split them into positive & negative comment...

11 meses ago | 0 answers | 0

Question

How to convert text to matrix?

I attached a program and a dataset: https://files.fm/u/j8snykvm. This program splits positive and negative comments from the tex...

11 meses ago | 0 answers | 0

Question

How to convert a text dataset to a numeric matrix?

I have a text dataset and I want to convert it to a numeric matrix by feature representation methods like Uni-gram, (Uni-Bi) gra...

11 meses ago | 0 answers | 0

Question

Using feature selection or sample selection?

I'm Implementing an article in Matlab( the article is attached). You can get the dataset in this link: https://sites.google.co...

11 meses ago | 0 answers | 0

Question

How to cluster my graph?

I used community detection toolbox (ComDetTBv091) for clustering my directed weighted graph. I tried to use gui but it didn't i...

más de 1 año ago | 0 answers | 0

Question

Error in importing data in community detection toolbox

I downloaded community detection toolbox from the following link: https://nl.mathworks.com/matlabcentral/fileexchange/45867-com...

más de 1 año ago | 1 answer | 0

Question

how to calculate the edges' weights from a dataset?

filename='C:\Program Files\MATLAB\R2016a\bin\Firefox.xlsx'; t=readtable(filename); g = graph(t.Assignee, t.Reporter ); plot...

más de 1 año ago | 0 answers | 0

Question

How to define cell arrays that their elements are extracted from a Dataset?

I have two 29*1 cells in my Matlab workspace (they were two columns in my excel dataset with the names: Assignee & Reporter that...

más de 1 año ago | 1 answer | 0