extract best decision tree model from bagging


I'm using the bagging node to generate a set of tree models and now I would like to select the model with the best score. It is possible to record the generated tree models and choose the best one? If yes, with wich nodes is it possible?


You can always translate a Decision Tree Model (PMML) or any model in KNIME into a data table by using the the PMML to Cell node, together with the scoring information the resulting row can be collected with the Loop End node. Btw, under Mining > Ensembles > Meta Nodes you find any Bagging example for collecting models (just without the scoring info).