Save classifiers Model

Hi

I am using different types of classifiers from weka package of nodes in a loop. Is there a way to save a model in a plain text file, e.g. leaves in decision trees? I only found a way to save model in binary .zip format.

Regards

I see no easy way to do this with the Weka modelling nodes.

However, the Decision Tree modelling in the Mining/Decision Tree section called "Decision Tree Learner" node can be exported as an image for use using "Decision Tree to Image" node, or alternatively, you can add a "PMML to cell" node from the Mining/Ensemble section which you can then export in XML format using the "XML Writer" nodein the XML section.

Hope this may be of some help,

Simon.

Hi

I found a quite simple way to do this. In weka nodes there is package called IO which contains "classifier writer" and "classifier reader". The first node writes received model in zip format and the second node reads that zip file.

Regards