How to obtain prediction (or class) confidence from a PMML ensemble model file?

Hi guys,

Using the Tree Ensemble Predictor node, present in the KNIME Labs repository, it is possible to obtain the overall prediction confidence (and/or the individual class confidence) as both are output options of this node. That is great.

Additionally Tree ensemble models can also be exported into a PMML file using the following nodes sequence:

 

Tree Ensemble Learner → Tree Ensemble Model Extract → Table To PMML Ensemble → PMML Writer

 

Nevertheless when the PMML ensemble model is read from a PMML file, it seems that is not possible to obtain the overall prediction confidence (and/or the individual class confidence). I tried to obtain that using the PMML Ensemble Predictor node, but there is no option there to obtain the confidence. I also tried to obtain that using some node sequences but without success so far. Is there any way by which is it possible to obtain the prediction confidence from a PMML ensemble file?

Thanks in advance,

Gio

Hi Gio,

as far as I know, this is currently not possible, sorry!

Regards,

Alexander

Hi Alexander,

Thanks for your reply. Finally I did it manually counting the individual tree results using a Java Snippet node.

Thank you anyway,

Gio