public class Scorecard 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}Characteristics"/>
<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="initialScore" type="{http://www.dmg.org/PMML-4_2}NUMBER" default="0" />
<attribute name="useReasonCodes" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="reasonCodeAlgorithm" default="pointsBelow">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="pointsAbove"/>
<enumeration value="pointsBelow"/>
</restriction>
</simpleType>
</attribute>
<attribute name="baselineScore" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="baselineMethod" default="other">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="max"/>
<enumeration value="min"/>
<enumeration value="mean"/>
<enumeration value="neutral"/>
<enumeration value="other"/>
</restriction>
</simpleType>
</attribute>
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Scorecard.BaselineMethod
Java class for null.
|
static class |
Scorecard.ReasonCodeAlgorithm
Java class for null.
|
| Constructor and Description |
|---|
Scorecard() |
Scorecard(MiningFunctionType functionName,
MiningSchema miningSchema,
Characteristics characteristics) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Scorecard |
addExtensions(Extension... extensions) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
Scorecard.BaselineMethod |
getBaselineMethod()
Gets the value of the baselineMethod property.
|
Double |
getBaselineScore()
Gets the value of the baselineScore property.
|
Characteristics |
getCharacteristics()
Gets the value of the characteristics property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
double |
getInitialScore()
Gets the value of the initialScore 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.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
Output |
getOutput()
Gets the value of the output property.
|
Scorecard.ReasonCodeAlgorithm |
getReasonCodeAlgorithm()
Gets the value of the reasonCodeAlgorithm property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
boolean |
isUseReasonCodes()
Gets the value of the useReasonCodes property.
|
Scorecard |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
Scorecard |
setBaselineMethod(Scorecard.BaselineMethod baselineMethod)
Sets the value of the baselineMethod property.
|
Scorecard |
setBaselineScore(Double baselineScore)
Sets the value of the baselineScore property.
|
Scorecard |
setCharacteristics(Characteristics characteristics)
Sets the value of the characteristics property.
|
Scorecard |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
Scorecard |
setInitialScore(Double initialScore)
Sets the value of the initialScore property.
|
Scorecard |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
Scorecard |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
Scorecard |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
Scorecard |
setModelName(String modelName)
Sets the value of the modelName property.
|
Scorecard |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
Scorecard |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
Scorecard |
setOutput(Output output)
Sets the value of the output property.
|
Scorecard |
setReasonCodeAlgorithm(Scorecard.ReasonCodeAlgorithm reasonCodeAlgorithm)
Sets the value of the reasonCodeAlgorithm property.
|
Scorecard |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
Scorecard |
setTargets(Targets targets)
Sets the value of the targets property.
|
Scorecard |
setUseReasonCodes(Boolean useReasonCodes)
Sets the value of the useReasonCodes property.
|
getLocator, setLocatorpublic Scorecard()
public Scorecard(MiningFunctionType functionName, MiningSchema miningSchema, Characteristics characteristics)
public String getModelName()
getModelName in class ModelStringpublic Scorecard setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic Scorecard setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic Scorecard setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic double getInitialScore()
Doublepublic Scorecard setInitialScore(Double initialScore)
initialScore - allowed object is
Doublepublic boolean isUseReasonCodes()
Booleanpublic Scorecard setUseReasonCodes(Boolean useReasonCodes)
useReasonCodes - allowed object is
Booleanpublic Scorecard.ReasonCodeAlgorithm getReasonCodeAlgorithm()
Scorecard.ReasonCodeAlgorithmpublic Scorecard setReasonCodeAlgorithm(Scorecard.ReasonCodeAlgorithm reasonCodeAlgorithm)
reasonCodeAlgorithm - allowed object is
Scorecard.ReasonCodeAlgorithmpublic Double getBaselineScore()
Doublepublic Scorecard setBaselineScore(Double baselineScore)
baselineScore - allowed object is
Doublepublic Scorecard.BaselineMethod getBaselineMethod()
Scorecard.BaselineMethodpublic Scorecard setBaselineMethod(Scorecard.BaselineMethod baselineMethod)
baselineMethod - allowed object is
Scorecard.BaselineMethodpublic boolean isScorable()
isScorable in class ModelBooleanpublic Scorecard 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 Scorecard setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic Scorecard setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic Scorecard setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic Scorecard setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic Scorecard setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic Characteristics getCharacteristics()
Characteristicspublic Scorecard setCharacteristics(Characteristics characteristics)
characteristics - allowed object is
Characteristicspublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic Scorecard setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.