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