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

quasi 9 anni fa | 0

| accettato

Risposto
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)'...

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

| accettato

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 2

| accettato

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

quasi 9 anni fa | 0

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

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

quasi 9 anni fa | 0

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

quasi 9 anni fa | 0

| accettato