Réponse apportée
Read Data from .CSV File
fid = fopen(filename); M=textscan(fid,'%s','collectoutput',1,'headerlines',0); fclose(fid); X=M{1,1}; X wil...

plus de 13 ans il y a | 0

Réponse apportée
reading data from dataset.txt
fid = fopen('data.txt'); M=textscan(fid,'%s'); fclose(fid); X=M{1,1} X will have each element includin...

plus de 13 ans il y a | 0

Réponse apportée
How to access the variable range for leaf node in decision tree
Had to do little bit of coding but got it anyway. :)

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Random numbergeneration with constraints
What happens if number of columns is something large may be 20? it would definitely cross your constraint of 60. if you plot the...

plus de 13 ans il y a | 0

Question


How to access the variable range for leaf node in decision tree
I want to access the variable range for each of the leaf node for the decision tree that is created by using classregtree. I can...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Warning on Calling fortran code in Matlab2011a
If I am not wrong, its just the warning. you might wanna try. warning off;

plus de 13 ans il y a | 0

Réponse apportée
Multiple outputs from one function?
A simple example of it is: function [a,b]= myfunction(c,d) a=c*d; b=c+d; Function returns a,b.

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
matrix nan
a=[2 3 NaN 5 NaN NaN 9 3 2]; [m,n]=size(a); b=isnan(a); for j=1:n if b(j)==1 li=j-1; ...

plus de 13 ans il y a | 0

Réponse apportée
Sorting Matricies
[b,c]=sort(a) b will have the sorted a, while c contains the index. Hope it helps.

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
For an nx3 matrix, order the 3 entries in each row, then order rows from least to greatest, then check for repeated rows.
This should do the job for you. a=rand(5,3); [m,n]=size(a); a=sort(a,2); a=sortrows(a,3); temp=[]; f...

plus de 13 ans il y a | 0

Réponse apportée
[Help]+Matrix Operation
b is being used as an index. t is an array with elements incrementing my 0.999, which means b is also an array. Now elements ...

plus de 13 ans il y a | 0

Réponse apportée
Relative different
Why dont you use norm ([x1,y1]-[x2,y2]). if you want relative difference you can use norm([x1,y1]-[x2,y2])/norm([x...

plus de 13 ans il y a | 0

Question


logistic regression
I am trying to use logistic regression, but when i execute the following line of code betaHatNorm=mnrfit(data,class); m...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
how to process the data contained NAN for ANFIS
Depends on what you really need to do. But usually when it comes to be Nan, i assume they come because of the missing value(prov...

plus de 13 ans il y a | 0

| A accepté

Question


Logistic regression
I have dataset on which I want to use logistic regression to answer a simple yes or no question. The dataset has many features. ...

plus de 13 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
How to change the font size of figure name and uitable ColumnName/RowName?
Add the following html as your cell prefix. '<html><font size=+1>' Yes, its the html. Surprizing buts works well. You ca...

plus de 13 ans il y a | 3

Réponse apportée
continious Zero Matrix filling
In that case you need to setup a counter lets say cnt cnt=0%initialization at the very beginning Now you need to use the...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
simple example for SVM
A simple example of multiclass SVM. http://nirmalthapa.wordpress.com/2012/06/03/multiclass-svm/

plus de 13 ans il y a | 0

Question


Naive Bayes - within-class variance must be positive.
I am trying to use Naive Bayes for some classification task, I am not sure what it is complaining about. ??? Error using =...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Question


Logistic Regression - Error: The sizes of B and X are incompatible.
I am trying to use Logistic regression to predict the class of IRIS data set. data=LoadIRISData(); class=zeros(15...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Question


FCM Dimension of center
I am using fcm with IRIS data(150*4) [center, U]=fcm(IRIS,3); I get center with dimension 3*150. If that is a center then...

plus de 14 ans il y a | 1 réponse | 0

1

réponse

Question


Mex, *.cpp not found
Hi, I am new to the mex stuff, dont know much about it. I tried compiling a cpp file and got a error. mex estpab.cpp ...

plus de 14 ans il y a | 2 réponses | 0

2

réponses

Question


Increasing Dimensionality of data
Here is my question, I am not sure if that can be done at all. I want to test relation between a property X to dimensionality o...

presque 15 ans il y a | 2 réponses | 0

2

réponses

Question


K-means with predefined centroid
Hi, I need to cluster the data that I have but the problem is I want to cluster the data based on the centroid that I already...

presque 15 ans il y a | 1 réponse | 0

1

réponse