Matlab code decision tree model
2016-08-23
0 0 0
4.0
Other
Earn points
Function [tree rulesmatrix] = decisiontree (dataset, attributename)% input is the training set, which is the discrete number, for example, record 1:1, 1, 3, 2, 1;% is preceded by attribute column, and the last column is class label, if nargin & lt; 1 & nbsp; & nbsp; error ('Please input dataset '); else & nbsp; & nbsp; & nbsp; if isstr (dataset) & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; [dataset attributionvalue] = readdata2 (dataset); & nbsp; else AttributValue=[]; endendif nargin<2
matlab
代码
模型
决策
Related Source Codes
GMSK Linear Receiver
0
0
no vote
NSGA-II algorithm
0
0
no vote
NSGA-III multi-objective optimization algorithm
0
0
no vote
Compressed sensing example
0
0
no vote
CFAR detector example
0
0
no vote
No comment