I want to train a classification model using KNIME Analytics and export it to PMML. The thing is that when I evaluate that model using other tools, the model just outputs the class for each observation.
I’d like the model to output the probability for each class as well. Is there a way to export a PMML from KNIME that achieves this?
I think it depends on the type of model. Normally you would have to tell the Predictor to add the class probabilities. The generic PMML predictor does not have this function - or it depends on the type of model.