Class Regression

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

public class Regression extends PMMLClassifier implements Serializable
Class implementing import of PMML 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

    • Regression

      public Regression(Element model, Instances dataDictionary, MiningSchema miningSchema) throws Exception
      Constructs a new PMML Regression.
      Parameters:
      model - the Element containing the regression model
      dataDictionary - the data dictionary as an Instances object
      miningSchema - the mining schema
      Throws:
      Exception - if there is a problem constructing this Regression
  • Method Details