07 决策树与随机森林

所属分类:matlab编程
开发工具:matlab
文件大小:808KB
下载次数:10
上传日期:2020-03-04 00:13:56
上 传 者忆之路
说明:  决策树和随机森林算法教程、源代码事例,已经关于决策树和随机森林算法的衍生混合算法代码
(Tutorials on decision trees and random forest algorithms, source code examples, and derived hybrid algorithm codes on decision trees and random forest algorithms)

文件列表:
07 决策树与随机森林 (0, 2018-03-31)
07 决策树与随机森林\Class_07.pptx (292096, 2018-03-27)
07 决策树与随机森林\Class_07_Code (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\DecisionTrees (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\DecisionTrees\data.mat (86267, 2009-11-29)
07 决策树与随机森林\Class_07_Code\DecisionTrees\main.m (2721, 2015-10-17)
07 决策树与随机森林\Class_07_Code\RandomForest (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\data.mat (86267, 2009-11-29)
07 决策树与随机森林\Class_07_Code\RandomForest\main.m (2637, 2017-08-12)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\Compile_Check (856, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\Makefile (2693, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\Makefile.windows (2523, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\Version_History.txt (1311, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\classRF_predict.m (2166, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\classRF_train.m (14829, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\compile_linux.m (557, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\compile_windows.m (1589, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\data (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\data\X_twonorm.txt (96300, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\data\Y_twonorm.txt (600, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\data\twonorm.mat (48856, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\mexClassRF_predict.mexw64 (26624, 2017-10-19)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\mexClassRF_train.mexw64 (43520, 2017-10-19)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\precompiled_rfsub (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\precompiled_rfsub\linux64 (0, 2020-03-04)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\precompiled_rfsub\win32 (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\precompiled_rfsub\win32\rfsub.o (6848, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\precompiled_rfsub\win64 (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\precompiled_rfsub\win64\rfsub.o (9840, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\rfsub.o (9840, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src (0, 2018-03-31)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src\classRF.cpp (33889, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src\classTree.cpp (8947, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src\cokus.cpp (7678, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src\cokus_test.cpp (1189, 2009-04-25)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src\mex_ClassificationRF_predict.cpp (5225, 2009-05-17)
07 决策树与随机森林\Class_07_Code\RandomForest\randomforest-matlab\RF_Class_C\src\mex_ClassificationRF_train.cpp (8545, 2009-05-17)
... ...

mex/standalone interface to Andy Liaw et al.'s C code (used in R package randomForest) Added by Abhishek Jaiantilal ( abhishek.jaiantilal@colorado.edu ) License: GPLv2 Version: 0.02 REGRESSION BASED RANDOMFOREST ****A tutorial for matlab now in tutorial_ClassRF.m**** Ways to generate Mex's and Standalone files ___STANDALONE____ (not exactly standalone but an interface via C) An example for a C file using the pima indian diabetes dataset for regression is shown in src/diabetes_C_wrapper.cpp This is a standalone version that needs to set right parameters in CPP file. Compiling in windows: Method 1: use cygwin and make: go to current directory and run 'make diabetes' in cygwin command prompt. Need to have gcc/g++ installed. Will generate diabetes_test.exe Method 2: use DevC++ (download from http://www.bloodshed.net/devcpp.html ). Open the diabetes_C_devc.dev file which is a project file which has the sources etc set. Just compile and run. Will generate diabetes_C_devc.exe Compiling in linux: Method 1: use linux and make: go to this directory and run 'make diabetes' in command prompt. Need to have gcc/g++ installed. Will generate diabetes_test. run as ./diabetes_test ___MATLAB___ generates Mex files that can be called in Matlab directly. Compiling in windows: Use the compile_windows.m and run in windows. It will compile and generate appropriate mex files. Need Visual C++ or some other compiler (VC++ express edition also works). Won't work with Matlab's inbuilt compiler (lcc) Compiling in linux: Use the compile_linux.m and run in windows. It will compile and generate appropriate mex files. Using the Mex interface: There are 2 functions regRF_train and regRF_predict as given below. See the sample file test_RegRF_extensively.m %function Y_hat = regRF_predict(X,model) %requires 2 arguments %X: data matrix %model: generated via regRF_train function %function model = regRF_train(X,Y,ntree,mtry) %requires 2 arguments and the rest 2 are optional %X: data matrix %Y: target values %ntree (optional): number of trees (default is 500) %mtry (default is max(floor(D/3),1) D=number of features in X) Version History: v0.02 (May-15-09):Updated so that regression package now has about 95% of the total options that the R-package gives. Woohoo. Tracing of what happening behind screen works better. v0.01 (Mar-22-09): very basic interface for mex/standalone to Liaw et al's randomForest Package supports only ntree and mtry changing for time being.

近期下载者

相关文件


收藏者