PMMLModelType Objects

Subclass of Enum.

Enumerates the model types specified by PMML 4.0.

Constants:

  • ASSOCIATION (PMMLModelType) : PMML AssociationModel
  • CLUSTERING (PMMLModelType) : PMML ClusteringModel
  • GENERAL_REGRESSION (PMMLModelType) : PMML GeneralRegressionModel
  • MINING (PMMLModelType) : PMML MiningModel
  • NAIVE_BAYES (PMMLModelType) : PMML NaiveBayesModel
  • NEURAL_NETWORK (PMMLModelType) : PMML NeuralNetwork
  • REGRESSION (PMMLModelType) : PMML RegressionModel
  • RULE_SET (PMMLModelType) : PMML RuleSetModel
  • SEQUENCE (PMMLModelType) : PMML SequenceModel
  • SUPPORT_VECTOR_MACHINE (PMMLModelType) : PMML SupportVectorMachineModel
  • TEXT (PMMLModelType) : PMML TextModel
  • TIME_SERIES (PMMLModelType) : PMML TimeSeriesModel
  • TREE (PMMLModelType) : PMML TreeModel
getEnum(name) : PMMLModelType

name (string) : the PMML model type name

Returns the PMMLModelType corresponding to the specified PMML model type name, or None if there is no such model type. The name must be one specified by PMML 4.0.

getValues() : PMMLModelType[]

Returns an array containing all the valid values for this enumeration class.

p.isUnknown() : boolean

Returns False always. All the values in this class represent known model types; there is no "unknown".