MATLAB R2018B documents the commands oobPermutedPredictorImportance and predictorImportance but these commands are not recognized by MATLAB, neither at the command nor in m-code.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Christopher Stokely
el 26 de En. de 2019
Comentada: Christopher Stokely
el 27 de En. de 2019
MATLAB R2018B documents the commands oobPermutedPredictorImportance and predictorImportance but these commands are not recognized by MATLAB. This is true for both the command line and when running m-code.
I have developed an tree ensemble model and I need to determine the predictor variables importances.
0 comentarios
Respuestas (1)
Steven Lord
el 27 de En. de 2019
It is a method of that class, not a plain old function. It will only work when its first input is one of those objects. You can't, for example, say oobPermutedPredictorImportance(magic(4)) because magic(4) returns a double array, not a RegressionBaggedEnsemble object.
The same general answer holds for predictorImportance, though it may be a different class or a different set of classes that define this method.
Ver también
Categorías
Más información sobre Classification Ensembles en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!