Hi.
I'm following the example to obtain feature importance here, and even copying and running the code there as is, I get the following error:
AttributeError: 'RCTree' object has no attribute 'codisp_with_cut_dimension'
referring to the line:
for tree in forest:
for leaf in tree.leaves:
--> codisp,cutdim = tree.codisp_with_cut_dimension(leaf)
Any ideia why might that be?
Thank you,