public class Regression extends EmbeddedModel implements 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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ResultField" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}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_2}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_2}REGRESSIONNORMALIZATIONMETHOD" default="none" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Regression() |
Regression(MiningFunctionType functionName,
List<RegressionTable> regressionTables) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Regression |
addExtensions(Extension... extensions) |
Regression |
addRegressionTables(RegressionTable... regressionTables) |
Regression |
addResultFields(ResultField... resultFields) |
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.
|
boolean |
hasExtensions() |
boolean |
hasRegressionTables() |
boolean |
hasResultFields() |
Regression |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
Regression |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
Regression |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
Regression |
setModelName(String modelName)
Sets the value of the modelName property.
|
Regression |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
Regression |
setNormalizationMethod(RegressionNormalizationMethodType normalizationMethod)
Sets the value of the normalizationMethod property.
|
Regression |
setOutput(Output output)
Sets the value of the output property.
|
Regression |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocatorpublic Regression()
public Regression(MiningFunctionType functionName, List<RegressionTable> regressionTables)
public String getModelName()
getModelName in class EmbeddedModelStringpublic Regression setModelName(String modelName)
setModelName in class EmbeddedModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class EmbeddedModelMiningFunctionTypepublic Regression setFunctionName(MiningFunctionType functionName)
setFunctionName in class EmbeddedModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
Stringpublic Regression setAlgorithmName(String algorithmName)
algorithmName - allowed object is
Stringpublic RegressionNormalizationMethodType getNormalizationMethod()
RegressionNormalizationMethodTypepublic Regression setNormalizationMethod(RegressionNormalizationMethodType normalizationMethod)
normalizationMethod - allowed object is
RegressionNormalizationMethodTypepublic 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 Regression setOutput(Output output)
setOutput in class EmbeddedModeloutput - allowed object is
Outputpublic ModelStats getModelStats()
getModelStats in class EmbeddedModelModelStatspublic Regression setModelStats(ModelStats modelStats)
setModelStats in class EmbeddedModelmodelStats - allowed object is
ModelStatspublic Targets getTargets()
getTargets in class EmbeddedModelTargetspublic Regression setTargets(Targets targets)
setTargets in class EmbeddedModeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class EmbeddedModelLocalTransformationspublic Regression setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class EmbeddedModellocalTransformations - 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 boolean hasExtensions()
hasExtensions in interface HasExtensionspublic Regression addExtensions(Extension... extensions)
public boolean hasResultFields()
public Regression addResultFields(ResultField... resultFields)
public boolean hasRegressionTables()
public Regression addRegressionTables(RegressionTable... regressionTables)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.