jpmml / jpmml-converter

Java library for authoring PMML
GNU Affero General Public License v3.0
15 stars 4 forks source link

Support for transforming labels #16

Open vruusmann opened 4 years ago

vruusmann commented 4 years ago

Translating from one target value space to another (eg. from integer indices to string labels), or reversing the order of class labels (for binary classification problems) as outlined in https://github.com/jpmml/r2pmml/issues/46#issuecomment-589829633.

Its much easier to generate PMML code based on a transformed label, than to try to "rewrite" an existing PMML document to achieve similar effect.