public class RegressionModel extends Model 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}MiningSchema"/>
<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}ModelExplanation" 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}RegressionTable" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_1}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_1}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_1}FIELD-NAME" />
<attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_1}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.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithmName |
protected List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected LocalTransformations |
localTransformations |
protected Locator |
locator |
protected MiningSchema |
miningSchema |
protected ModelExplanation |
modelExplanation |
protected String |
modelName |
protected ModelStats |
modelStats |
protected RegressionModel.ModelType |
modelType |
protected ModelVerification |
modelVerification |
protected RegressionNormalizationMethodType |
normalizationMethod |
protected Output |
output |
protected List<RegressionTable> |
regressionTables |
protected Boolean |
scorable |
protected FieldName |
targetFieldName |
protected Targets |
targets |
| Constructor and Description |
|---|
RegressionModel()
Deprecated.
|
RegressionModel(MiningSchema miningSchema,
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.
|
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 |
isScorable()
Gets the value of the scorable 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 |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setModelExplanation(ModelExplanation value)
Sets the value of the modelExplanation property.
|
void |
setModelName(String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setModelType(RegressionModel.ModelType value)
Sets the value of the modelType property.
|
void |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification property.
|
void |
setNormalizationMethod(RegressionNormalizationMethodType value)
Sets the value of the normalizationMethod property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(Boolean value)
Sets the value of the scorable property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTargetFieldName(FieldName value)
Sets the value of the targetFieldName property.
|
void |
setTargets(Targets value)
Sets the value of the targets property.
|
Locator |
sourceLocation() |
RegressionModel |
withAlgorithmName(String value) |
RegressionModel |
withExtensions(Collection<Extension> values) |
RegressionModel |
withExtensions(Extension... values) |
RegressionModel |
withFunctionName(MiningFunctionType value) |
RegressionModel |
withLocalTransformations(LocalTransformations value) |
RegressionModel |
withMiningSchema(MiningSchema value) |
RegressionModel |
withModelExplanation(ModelExplanation value) |
RegressionModel |
withModelName(String value) |
RegressionModel |
withModelStats(ModelStats value) |
RegressionModel |
withModelType(RegressionModel.ModelType value) |
RegressionModel |
withModelVerification(ModelVerification value) |
RegressionModel |
withNormalizationMethod(RegressionNormalizationMethodType value) |
RegressionModel |
withOutput(Output value) |
RegressionModel |
withRegressionTables(Collection<RegressionTable> values) |
RegressionModel |
withRegressionTables(RegressionTable... values) |
RegressionModel |
withScorable(Boolean value) |
RegressionModel |
withTargetFieldName(FieldName value) |
RegressionModel |
withTargets(Targets value) |
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected Targets targets
protected LocalTransformations localTransformations
protected List<RegressionTable> regressionTables
protected ModelVerification modelVerification
protected String modelName
protected MiningFunctionType functionName
protected String algorithmName
protected RegressionModel.ModelType modelType
protected FieldName targetFieldName
protected RegressionNormalizationMethodType normalizationMethod
protected Boolean scorable
protected Locator locator
@Deprecated public RegressionModel()
public RegressionModel(MiningSchema miningSchema, 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 MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic void setMiningSchema(MiningSchema value)
setMiningSchema in class Modelvalue - allowed object is
MiningSchemapublic Output getOutput()
public void setOutput(Output value)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class Modelvalue - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
ModelExplanationpublic void setModelExplanation(ModelExplanation value)
value - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic void setTargets(Targets value)
setTargets in class Modelvalue - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - 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()
ModelVerificationpublic void setModelVerification(ModelVerification value)
value - allowed object is
ModelVerificationpublic String getModelName()
getModelName in class ModelStringpublic void setModelName(String value)
setModelName in class Modelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class Modelvalue - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
Stringpublic void setAlgorithmName(String value)
value - allowed object is
Stringpublic RegressionModel.ModelType getModelType()
RegressionModel.ModelTypepublic void setModelType(RegressionModel.ModelType value)
value - allowed object is
RegressionModel.ModelTypepublic FieldName getTargetFieldName()
Stringpublic void setTargetFieldName(FieldName value)
value - allowed object is
Stringpublic RegressionNormalizationMethodType getNormalizationMethod()
RegressionNormalizationMethodTypepublic void setNormalizationMethod(RegressionNormalizationMethodType value)
value - allowed object is
RegressionNormalizationMethodTypepublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic RegressionModel withExtensions(Extension... values)
public RegressionModel withExtensions(Collection<Extension> values)
public RegressionModel withMiningSchema(MiningSchema value)
public RegressionModel withOutput(Output value)
public RegressionModel withModelStats(ModelStats value)
public RegressionModel withModelExplanation(ModelExplanation value)
public RegressionModel withTargets(Targets value)
public RegressionModel withLocalTransformations(LocalTransformations value)
public RegressionModel withRegressionTables(RegressionTable... values)
public RegressionModel withRegressionTables(Collection<RegressionTable> values)
public RegressionModel withModelVerification(ModelVerification value)
public RegressionModel withModelName(String value)
public RegressionModel withFunctionName(MiningFunctionType value)
public RegressionModel withAlgorithmName(String value)
public RegressionModel withModelType(RegressionModel.ModelType value)
public RegressionModel withTargetFieldName(FieldName value)
public RegressionModel withNormalizationMethod(RegressionNormalizationMethodType value)
public RegressionModel withScorable(Boolean 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.