Random-Forests-Matlab-master
所属分类:其他
开发工具:matlab
文件大小:5KB
下载次数:2
上传日期:2019-05-07 11:31:37
上 传 者:
蓝兰lan
说明: 决策树相当于一个大师,通过自己在数据集中学到的知识对于新的数据进行分类。但是俗话说得好,一个诸葛亮,玩不过三个臭皮匠。随机森林就是希望构建多个臭皮匠,希望最终的分类效果能够超过单个大师的一种算法。
(In machine learning, a random forest is a classifier that contains multiple decision trees, and its output category is determined by the mode of the output categories of individual trees.)
文件列表:
library (0, 2015-11-06)
library\DecisionTree.m (4374, 2015-11-06)
library\ParametricClassifier.m (2763, 2015-11-06)
library\WeakClassifier.m (8008, 2015-11-06)
# Random-Forests-Matlab
This is an introductory implementation of Random Forests in Matlab.
## Add your own weak learner
Modify:
[library/WeakClassifier.m](library/WeakClassifier.m):
### train
In constructor, add another `elseif` statement to `classf` variable and add your own training implementention.
### predict
In function `predict(instance, X)`, add another `elseif` statement to `instance.classifierID` variable and add your own predict implementention.
近期下载者:
相关文件:
收藏者: