已回答
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 =...

9 years 前 | 0

| 已接受

已回答
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)'...

9 years 前 | 0

已回答
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...

9 years 前 | 0

已回答
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 ...

9 years 前 | 0

| 已接受

已回答
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...

9 years 前 | 0

已回答
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". ...

9 years 前 | 2

| 已接受

已回答
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 ...

9 years 前 | 0

提问


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

9 years 前 | 1 个回答 | 0

1

个回答

已回答
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. ...

9 years 前 | 0

已回答
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...

9 years 前 | 0

| 已接受