public class RegressionModel extends Model 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}MiningSchema"/>
<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}ModelExplanation" 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}RegressionTable" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelVerification" minOccurs="0"/>
</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="modelType">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="linearRegression"/>
<enumeration value="stepwisePolynomialRegression"/>
<enumeration value="logisticRegression"/>
</restriction>
</simpleType>
</attribute>
<attribute name="targetFieldName" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_2}REGRESSIONNORMALIZATIONMETHOD" default="none" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
RegressionModel.ModelType
Java class for null.
|
| Constructor and Description |
|---|
RegressionModel() |
RegressionModel(MiningFunctionType functionName,
MiningSchema miningSchema,
List<RegressionTable> regressionTables) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
RegressionModel |
addExtensions(Extension... extensions) |
RegressionModel |
addRegressionTables(RegressionTable... regressionTables) |
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.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
RegressionModel.ModelType |
getModelType()
Gets the value of the modelType property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification 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.
|
FieldName |
getTargetFieldName()
Gets the value of the targetFieldName property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasExtensions() |
boolean |
hasRegressionTables() |
boolean |
isScorable()
Gets the value of the scorable property.
|
RegressionModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
RegressionModel |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
RegressionModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
RegressionModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
RegressionModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
RegressionModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
RegressionModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
RegressionModel |
setModelType(RegressionModel.ModelType modelType)
Sets the value of the modelType property.
|
RegressionModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
RegressionModel |
setNormalizationMethod(RegressionNormalizationMethodType normalizationMethod)
Sets the value of the normalizationMethod property.
|
RegressionModel |
setOutput(Output output)
Sets the value of the output property.
|
RegressionModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
RegressionModel |
setTargetFieldName(FieldName targetFieldName)
Sets the value of the targetFieldName property.
|
RegressionModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocatorpublic RegressionModel()
public RegressionModel(MiningFunctionType functionName, MiningSchema miningSchema, List<RegressionTable> regressionTables)
public String getModelName()
getModelName in class ModelStringpublic RegressionModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic RegressionModel setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic RegressionModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic RegressionModel.ModelType getModelType()
RegressionModel.ModelTypepublic RegressionModel setModelType(RegressionModel.ModelType modelType)
modelType - allowed object is
RegressionModel.ModelTypepublic FieldName getTargetFieldName()
Stringpublic RegressionModel setTargetFieldName(FieldName targetFieldName)
targetFieldName - allowed object is
Stringpublic RegressionNormalizationMethodType getNormalizationMethod()
RegressionNormalizationMethodTypepublic RegressionModel setNormalizationMethod(RegressionNormalizationMethodType normalizationMethod)
normalizationMethod - allowed object is
RegressionNormalizationMethodTypepublic boolean isScorable()
isScorable in class ModelBooleanpublic RegressionModel setScorable(Boolean scorable)
setScorable in class Modelscorable - allowed object is
Booleanpublic 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 MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic RegressionModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public RegressionModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic RegressionModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic RegressionModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic RegressionModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic RegressionModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic 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 ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic RegressionModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic RegressionModel addExtensions(Extension... extensions)
public boolean hasRegressionTables()
public RegressionModel addRegressionTables(RegressionTable... regressionTables)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.