文件名称:matlab决策树算法源代码
文件大小:6KB
文件格式:NONE
更新时间:2014-07-11 05:27:09
决策树 C4_5
%matlab 决策树C4.5算法源代码 function D = C4_5(train_features, train_targets, inc_node, region) % Classify using Quinlan's C4.5 algorithm % Inputs: % features - Train features % targets - Train targets % inc_node - Percentage of incorrectly assigned samples at a node % region - Decision region vector: [-x x -y y number_of_points] % % Outputs % D - Decision sufrace