public class LogisticProducerHelper extends AbstractPMMLProducerHelper
PMML_VERSION
Constructor and Description |
---|
LogisticProducerHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toPMML(Instances train,
Instances structureAfterFiltering,
double[][] par,
int numClasses)
Produce the PMML for a Logistic classifier
|
addDataDictionary, getNameAndValueFromUnsupervisedNominalToBinaryDerivedAttribute, getOPTYPE, initPMML
public static java.lang.String toPMML(Instances train, Instances structureAfterFiltering, double[][] par, int numClasses)
train
- the training data used to build the Logistic modelstructureAfterFiltering
- the structure of the training data after
filteringpar
- the parameters of the function(s)numClasses
- the number of classes in the data