Class GeneralRegression

All Implemented Interfaces:
Serializable, Cloneable, Classifier, BatchPredictor, CapabilitiesHandler, CapabilitiesIgnorer, CommandlineRunnable, OptionHandler, PMMLModel, RevisionHandler

public class GeneralRegression extends PMMLClassifier implements Serializable
Class implementing import of PMML General Regression model. Can be used as a Weka classifier for prediction (buildClassifier() raises an Exception).
Version:
$Revision: 8034 $
Author:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
See Also:
  • Constructor Details

    • GeneralRegression

      public GeneralRegression(Element model, Instances dataDictionary, MiningSchema miningSchema) throws Exception
      Constructs a GeneralRegression classifier.
      Parameters:
      model - the Element that holds the model definition
      dataDictionary - the data dictionary as a set of Instances
      miningSchema - the mining schema
      Throws:
      Exception - if there is a problem constructing the general regression object from the PMML.
  • Method Details