protected static final class AbstractPMMLRegressionModel.RegressionTable extends Object
Modifier | Constructor and Description |
---|---|
protected |
RegressionTable() |
Modifier and Type | Method and Description |
---|---|
void |
addCategoricalPredictor(AbstractPMMLRegressionModel.CategoricalPredictor categoricalPredictor)
Add a term to the model in the form of a CategoricalPredictor element.
|
void |
addNumericPredictor(AbstractPMMLRegressionModel.NumericPredictor numericPredictor)
Add a term to the model in the form of a NumericPredictor element.
|
protected void |
buildModelElement(Element parent)
Add this RegressionTable to a PMML document as a child of the provided element.
|
void |
clearCategoricalPredictors()
Removes all the CategoricalPredictor elements from the table
|
void |
clearNumericPredictors()
Removes all the NumericPredictor elements from the table
|
List<AbstractPMMLRegressionModel.CategoricalPredictor> |
getCategoricalPredictors()
Gets the table's predictors that take a categorical (i.e.
|
double |
getIntercept()
Gets the constant term (a.k.a the intercept or bias) of the equation specified by
the RegressionTable.
|
Integer |
getInterceptDegreesOfFreedom()
Gets the intercept's degrees of freedom
|
Double |
getInterceptPValue()
Gets the intercept's t test
|
Double |
getInterceptStandardError()
Gets the intercept's standard error
|
Double |
getInterceptTTest()
Gets the intercept's t test
|
List<AbstractPMMLRegressionModel.NumericPredictor> |
getNumericPredictors()
Gets the table's predictors that take a numeric value as input.
|
String |
getTargetCategory() |
protected void |
parseModelElement(Element element) |
void |
setExtensionStatistic(String name,
double value) |
void |
setIntercept(double value)
Sets the intercept i.e.
|
void |
setInterceptDegreesOfFreedom(int value)
Sets the intercept's degrees of freedom
|
void |
setInterceptPValue(double value)
Sets the intercept's p value
|
void |
setInterceptStandardError(double value)
Sets the intercept's standard error
|
void |
setInterceptTTest(double value)
Sets the intercept's t test
|
void |
setTargetCategory(String targetCategory) |
protected void parseModelElement(Element element)
protected void buildModelElement(Element parent)
parent
- The parent of the table's PMML element.public void setIntercept(double value)
value
- the desired interceptpublic void setInterceptDegreesOfFreedom(int value)
public void setInterceptStandardError(double value)
public void setInterceptTTest(double value)
public void setInterceptPValue(double value)
public List<AbstractPMMLRegressionModel.NumericPredictor> getNumericPredictors()
public List<AbstractPMMLRegressionModel.CategoricalPredictor> getCategoricalPredictors()
public double getIntercept()
public Integer getInterceptDegreesOfFreedom()
public Double getInterceptStandardError()
public Double getInterceptTTest()
public Double getInterceptPValue()
public void setTargetCategory(String targetCategory)
targetCategory
- the targetCategory to setpublic String getTargetCategory()
public void addNumericPredictor(AbstractPMMLRegressionModel.NumericPredictor numericPredictor)
numericPredictor
- the predictor to add.public void addCategoricalPredictor(AbstractPMMLRegressionModel.CategoricalPredictor categoricalPredictor)
categoricalPredictor
- the predictor to add.public void clearNumericPredictors()
public void clearCategoricalPredictors()
public void setExtensionStatistic(String name, double value)
Copyright © 2016 Actian Corporation. All rights reserved.