Borrar filtros
Borrar filtros

Predictor Importance feature for Tree Ensemble (Random Forest) method

52 visualizaciones (últimos 30 días)
Gina
Gina el 24 de Abr. de 2013
Comentada: Zainab Al-RubayezayMATH el 4 de Nov. de 2018
Hello, It seems that MATLAB package has two approaches for calculating variable importance:
I'm wondering what are the difference between the two approaches, and which is preferred?
Thanks!

Respuestas (1)

Prashanth Ravindran
Prashanth Ravindran el 8 de Feb. de 2016
This query was asked back in 2013. I will try to answer for those people who might be looking for the answer.
predictorImportance. This function has input as the ensemble created by the fitensembe function. And this function can be used to create many different kinds of ensembles such as boosting trees, bagging trees, etc..
treebagger.oobpermutedvardeltaerror: Yes this is an output from the Treebagger function in matlab which implements random forests. This can also be used to implement baggin trees by setting the 'NumPredictorsToSample' to 'all'.
You see the basic algorithms are different for the two functions and hence the outputs may be different.
  4 comentarios
Zainab Al-RubayezayMATH
Zainab Al-RubayezayMATH el 4 de Nov. de 2018
Hi
I got a negative result of feature importance as well when I used Treebagger. However, I got a positive result when I try to know what are the most important features of the same dataset by applying predictorImportance for the model result from ensemble.
Does anyone know the reasons?
Thanks Zainab

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by