简体   繁体   中英

Creating random forest after selecting feature of variable importance in MATLAB

Is it possible to make feature selection of variable importance and then create a random forest in MATLAB?

I am using TreeBagger() with OOBPermutedVarDeltaError() to get the result of important features. But now I want to use these important features to recreate a random forest. Is it possible?

Use 50% of the data for parameter and feature selection. After this, then do 10-fold cross validation on the full data and check the performance. Then create a random forest model using full data for only training.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM