Respondida
how can find a point from an array where the points it follows start to decrease
Assumption : there is on only one decreasing region in your data points. x = -2:0.1:6; y = x.^3-5*x.^2+5*x-2; D =...

alrededor de 8 años hace | 0

| aceptada

Respondida
In adding a plot legend, is there a way to name a legend element with what is contained within a specific cell within a structure?
something like this? x = -pi:pi/20:pi; y1 = sin(x); y2 = cos(x); leg(1).name = 'sin(x)'; leg(2).name = 'cos(x)'...

alrededor de 8 años hace | 0

Respondida
how to get file name when i take a image file from imgetfile
One easy way is to write a code for that ! (assumption: there is no dot (.) in the name of the image) IMPORTANT NOTE : if you...

alrededor de 8 años hace | 0

Respondida
Ranking rows in a matrix without changing order of elements in rows
A = [1 0 0 1 0; 0 1 1 1 1; 1 0 1 1 0; 0 0 0 1 0] B = sum(A')'; [m,n] = sort(B); now A(n(1),:) shows the raw with the ...

alrededor de 8 años hace | 0

| aceptada

Respondida
delete rows depend on repeated value from 1 col
Consider this example (it is not the fastest and easiest way, but it solves your problem) s = {3 '2013-10-01' '11:00:00' '00...

alrededor de 8 años hace | 0

Respondida
save a table result
1- Use "save" to save any variable (including tables) in workspace. For example, save the table "T" in the file "savefile.mat". ...

alrededor de 8 años hace | 2

| aceptada

Respondida
How to write MATLAb code to generate confusion matrices and calcultes recall and precision?
You do not have to make 21 separate confusion matrices. You should just make one confusion matrix. E.g. let Y be a vector with ...

alrededor de 8 años hace | 0

Pregunta


How can I make a decision stump using a decision tree ?
Right now, I am using fitctree and pruning the tree to level one, but beacuse the 'SplitCriterion' is 'gdi' and the 'PruneCriter...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
What parameters to use to show performance of a classifer
There is not any "best" performance evaluation, specifically for N-class classifier (N>2) . It depends on your problem in hand. ...

alrededor de 8 años hace | 0

Respondida
what does it mean: "MaxNumSplits is not a valid parameter name"
I believe the Matlab version that you are using does not support MaxNumSplits. To check this, type help templateTree an...

alrededor de 8 años hace | 0

| aceptada