Help needed in using R to PMML node

Dear R & KNIME users,

I'm using an R learner node to build a Quadratic Discriminant Analysis (QDA) model ( qda() function in library(MASS) ).

The model works well for prediction (using R predictor node) but it seems I cannot export it to PMML. Probably I'm not using well the R to PMML node. I just leave it as it is configured by default. Meaning:

 

library(pmml)

knime.model.pmml <- toString(pmml(knime.model))

 

But it gives me the following error:

 

Error in UseMethod("pmml") :

no applicable method for 'pmml' applied to an object of class "qda"

 

Please, can anybody help?

Thanks in advance,

Gio

I don't think PMML supports this type of model. See http://www.dmg.org/v4-1/GeneralStructure.html for a list of supported models.

OK, so they are simply not supported.

Thank you Thor.