public class Regression extends EmbeddedModel implements com.sun.xml.bind.Locatable, HasExtensions
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}ResultField" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}RegressionTable" maxOccurs="unbounded"/>
</sequence>
<attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_1}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_1}REGRESSIONNORMALIZATIONMETHOD" default="none" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithmName |
protected List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected LocalTransformations |
localTransformations |
protected Locator |
locator |
protected String |
modelName |
protected ModelStats |
modelStats |
protected RegressionNormalizationMethodType |
normalizationMethod |
protected Output |
output |
protected List<RegressionTable> |
regressionTables |
protected List<ResultField> |
resultFields |
protected Targets |
targets |
| Constructor and Description |
|---|
Regression()
Deprecated.
|
Regression(MiningFunctionType functionName) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
RegressionNormalizationMethodType |
getNormalizationMethod()
Gets the value of the normalizationMethod property.
|
Output |
getOutput()
Gets the value of the output property.
|
List<RegressionTable> |
getRegressionTables()
Gets the value of the regressionTables property.
|
List<ResultField> |
getResultFields()
Gets the value of the resultFields property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
void |
setAlgorithmName(String value)
Sets the value of the algorithmName property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setModelName(String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setNormalizationMethod(RegressionNormalizationMethodType value)
Sets the value of the normalizationMethod property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTargets(Targets value)
Sets the value of the targets property.
|
Locator |
sourceLocation() |
Regression |
withAlgorithmName(String value) |
Regression |
withExtensions(Collection<Extension> values) |
Regression |
withExtensions(Extension... values) |
Regression |
withFunctionName(MiningFunctionType value) |
Regression |
withLocalTransformations(LocalTransformations value) |
Regression |
withModelName(String value) |
Regression |
withModelStats(ModelStats value) |
Regression |
withNormalizationMethod(RegressionNormalizationMethodType value) |
Regression |
withOutput(Output value) |
Regression |
withRegressionTables(Collection<RegressionTable> values) |
Regression |
withRegressionTables(RegressionTable... values) |
Regression |
withResultFields(Collection<ResultField> values) |
Regression |
withResultFields(ResultField... values) |
Regression |
withTargets(Targets value) |
protected Output output
protected ModelStats modelStats
protected Targets targets
protected LocalTransformations localTransformations
protected List<ResultField> resultFields
protected List<RegressionTable> regressionTables
protected String modelName
protected MiningFunctionType functionName
protected String algorithmName
protected RegressionNormalizationMethodType normalizationMethod
protected Locator locator
@Deprecated public Regression()
public Regression(MiningFunctionType functionName)
public List<Extension> getExtensions()
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 set method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic Output getOutput()
getOutput in class EmbeddedModelOutputpublic void setOutput(Output value)
setOutput in class EmbeddedModelvalue - allowed object is
Outputpublic ModelStats getModelStats()
getModelStats in class EmbeddedModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class EmbeddedModelvalue - allowed object is
ModelStatspublic Targets getTargets()
getTargets in class EmbeddedModelTargetspublic void setTargets(Targets value)
setTargets in class EmbeddedModelvalue - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class EmbeddedModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class EmbeddedModelvalue - allowed object is
LocalTransformationspublic List<ResultField> getResultFields()
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 set method for the resultFields property.
For example, to add a new item, do as follows:
getResultFields().add(newItem);
Objects of the following type(s) are allowed in the list
ResultField
public List<RegressionTable> getRegressionTables()
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 set method for the regressionTables property.
For example, to add a new item, do as follows:
getRegressionTables().add(newItem);
Objects of the following type(s) are allowed in the list
RegressionTable
public String getModelName()
getModelName in class EmbeddedModelStringpublic void setModelName(String value)
setModelName in class EmbeddedModelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class EmbeddedModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class EmbeddedModelvalue - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
Stringpublic void setAlgorithmName(String value)
value - allowed object is
Stringpublic RegressionNormalizationMethodType getNormalizationMethod()
RegressionNormalizationMethodTypepublic void setNormalizationMethod(RegressionNormalizationMethodType value)
value - allowed object is
RegressionNormalizationMethodTypepublic Regression withExtensions(Extension... values)
public Regression withExtensions(Collection<Extension> values)
public Regression withOutput(Output value)
public Regression withModelStats(ModelStats value)
public Regression withTargets(Targets value)
public Regression withLocalTransformations(LocalTransformations value)
public Regression withResultFields(ResultField... values)
public Regression withResultFields(Collection<ResultField> values)
public Regression withRegressionTables(RegressionTable... values)
public Regression withRegressionTables(Collection<RegressionTable> values)
public Regression withModelName(String value)
public Regression withFunctionName(MiningFunctionType value)
public Regression withAlgorithmName(String value)
public Regression withNormalizationMethod(RegressionNormalizationMethodType value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.