When I apply the ‘crossval’ function on the results of the ‘fitrtree’ function, I end up with a different class, namely: 'classreg.learning.partition.RegressionPartitionedModel' and am unable to use the 'predictorImportance' function on this object. How do you call 'predictorImportance' on the models generated from 'crossval'?
MATLAB: How to use the “predictorImportance” function with models generated by applying “crossval” to RegressionTree objects
crossvalfitrtreeimportancepredictorStatistics and Machine Learning Toolbox
Best Answer