public class BaselineModel 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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_3}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}TestDistributions"/>
<element ref="{http://www.dmg.org/PMML-4_3}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_3}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
BaselineModel() |
BaselineModel(MiningFunction miningFunction,
MiningSchema miningSchema,
TestDistributions testDistributions) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
BaselineModel |
addExtensions(Extension... extensions) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningFunction |
getMiningFunction()
Gets the value of the miningFunction 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.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
Output |
getOutput()
Gets the value of the output property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
TestDistributions |
getTestDistributions()
Gets the value of the testDistributions property.
|
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
BaselineModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
BaselineModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
BaselineModel |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction property.
|
BaselineModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
BaselineModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
BaselineModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
BaselineModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
BaselineModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
BaselineModel |
setOutput(Output output)
Sets the value of the output property.
|
BaselineModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
BaselineModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
BaselineModel |
setTestDistributions(TestDistributions testDistributions)
Sets the value of the testDistributions property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic BaselineModel()
public BaselineModel(MiningFunction miningFunction, MiningSchema miningSchema, TestDistributions testDistributions)
public String getModelName()
getModelName in class ModelStringpublic BaselineModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic BaselineModel setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic BaselineModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic BaselineModel 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 BaselineModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public BaselineModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic BaselineModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic BaselineModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic BaselineModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic BaselineModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic TestDistributions getTestDistributions()
TestDistributionspublic BaselineModel setTestDistributions(TestDistributions testDistributions)
testDistributions - allowed object is
TestDistributionspublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic BaselineModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic BaselineModel addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.