Class RegressionTable
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.RegressionTable
-
public class RegressionTable extends java.lang.ObjectJava class for RegressionTable element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="RegressionTable"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}NumericPredictor" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}CategoricalPredictor" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}PredictorTerm" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="intercept" use="required" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="targetCategory" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description RegressionTable()RegressionTable(java.lang.String targetCategory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNumericPredictor(NumericPredictor predictor)java.util.List<CategoricalPredictor>getCategoricalPredictor()Gets the value of the categoricalPredictor property.java.util.List<Extension>getExtension()Gets the value of the extension property.doublegetIntercept()Gets the value of the intercept property.java.util.List<NumericPredictor>getNumericPredictors()Gets the value of the numericPredictor property.java.util.List<PredictorTerm>getPredictorTerm()Gets the value of the predictorTerm property.java.lang.StringgetTargetCategory()Gets the value of the targetCategory property.voidsetIntercept(double value)Sets the value of the intercept property.voidsetTargetCategory(java.lang.String value)Sets the value of the targetCategory property.
-
-
-
Method Detail
-
getExtension
public java.util.List<Extension> getExtension()
Gets the value of the extension property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the extension property.For example, to add a new item, do as follows:
getExtension().add(newItem);Objects of the following type(s) are allowed in the list
Extension
-
getNumericPredictors
public java.util.List<NumericPredictor> getNumericPredictors()
Gets the value of the numericPredictor property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the numericPredictor property.For example, to add a new item, do as follows:
getNumericPredictor().add(newItem);Objects of the following type(s) are allowed in the list
NumericPredictor
-
addNumericPredictor
public void addNumericPredictor(NumericPredictor predictor)
-
getCategoricalPredictor
public java.util.List<CategoricalPredictor> getCategoricalPredictor()
Gets the value of the categoricalPredictor property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the categoricalPredictor property.For example, to add a new item, do as follows:
getCategoricalPredictor().add(newItem);Objects of the following type(s) are allowed in the list
CategoricalPredictor
-
getPredictorTerm
public java.util.List<PredictorTerm> getPredictorTerm()
Gets the value of the predictorTerm property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the predictorTerm property.For example, to add a new item, do as follows:
getPredictorTerm().add(newItem);Objects of the following type(s) are allowed in the list
PredictorTerm
-
getIntercept
public double getIntercept()
Gets the value of the intercept property.
-
setIntercept
public void setIntercept(double value)
Sets the value of the intercept property.
-
getTargetCategory
public java.lang.String getTargetCategory()
Gets the value of the targetCategory property.- Returns:
- possible object is
String
-
setTargetCategory
public void setTargetCategory(java.lang.String value)
Sets the value of the targetCategory property.- Parameters:
value- allowed object isString
-
-