Is there a way with Knime to export a matrix or dataframe describing the random forest tree split?

Hi everyone,

recently I found an interesting post about the possibility to export a matrix or dataframe (describing each split on the random forest tree) with an R package function called "getTree".

So, I would like to know if also with Knime is possible to export this kind of matrix/dataframe that should represents my trained model.

Thanks in advance.

Hi gujodm,

There is no direct way to do this in KNIME that is comparable to the R package you mentioned. One thing you could do is to use a Tree ensemble Model Extract node, and then parse the resulting XML.