Export PMML that outputs class probabilities

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.

Nodes that support Probabilities and PMML are:

Additionally the Decision Tree offers the possibility to create a quite readably ruleset that you can then use with SQL or another language

Additionally the

Supports these model types and also has the possibility to add probabilities/scores. But from my experience needs some resources to work

Currently supported PMML models are all those generated by KNIME plus Naive Bayes:

  • Regression
  • SVM
  • MLP
  • K-Means Clustering
  • Decision Trees
  • Naive Bayes
  • Rulesets
  • Ensembles of the above