CART 算法程序 Matlab 实现

时间:2016-02-14 07:50:01
【文件属性】:

文件名称:CART 算法程序 Matlab 实现

文件大小:4KB

文件格式:M

更新时间:2016-02-14 07:50:01

CART 算法程序 Matlab 实现

function test_targets = CART(train_patterns, train_targets, test_patterns, params) % Classify using classification and regression trees % Inputs: % training_patterns - Train patterns % training_targets - Train targets % test_patterns - Test patterns % params - [Impurity type, Percentage of incorrectly assigned samples at a node] % Impurity can be: Entropy, Variance (or Gini), or Misclassification % % Outputs % test_targets - Predicted targets


网友评论

  • 我怎么下载的是空的
  • 跟博客上的一样