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.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithmName |
protected Scorecard.BaselineMethod |
baselineMethod |
protected java.lang.Double |
baselineScore |
protected Characteristics |
characteristics |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected java.lang.Double |
initialScore |
protected LocalTransformations |
localTransformations |
protected MiningSchema |
miningSchema |
protected ModelExplanation |
modelExplanation |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected Output |
output |
protected Scorecard.ReasonCodeAlgorithm |
reasonCodeAlgorithm |
protected java.lang.Boolean |
scorable |
protected Targets |
targets |
protected java.lang.Boolean |
useReasonCodes |
| Constructor and Description |
|---|
Scorecard() |
Scorecard(MiningFunctionType functionName,
MiningSchema miningSchema,
Characteristics characteristics) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
Scorecard.BaselineMethod |
getBaselineMethod()
Gets the value of the baselineMethod property.
|
java.lang.Double |
getBaselineScore()
Gets the value of the baselineScore property.
|
Characteristics |
getCharacteristics()
Gets the value of the characteristics property.
|
java.util.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.
|
java.lang.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.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setBaselineMethod(Scorecard.BaselineMethod value)
Sets the value of the baselineMethod property.
|
void |
setBaselineScore(java.lang.Double value)
Sets the value of the baselineScore property.
|
void |
setCharacteristics(Characteristics value)
Sets the value of the characteristics property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setInitialScore(java.lang.Double value)
Sets the value of the initialScore 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(java.lang.String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setReasonCodeAlgorithm(Scorecard.ReasonCodeAlgorithm value)
Sets the value of the reasonCodeAlgorithm property.
|
void |
setScorable(java.lang.Boolean value)
Sets the value of the scorable property.
|
void |
setTargets(Targets value)
Sets the value of the targets property.
|
void |
setUseReasonCodes(java.lang.Boolean value)
Sets the value of the useReasonCodes property.
|
Scorecard |
withAlgorithmName(java.lang.String value) |
Scorecard |
withBaselineMethod(Scorecard.BaselineMethod value) |
Scorecard |
withBaselineScore(java.lang.Double value) |
Scorecard |
withCharacteristics(Characteristics value) |
Scorecard |
withExtensions(java.util.Collection<Extension> values) |
Scorecard |
withExtensions(Extension... values) |
Scorecard |
withFunctionName(MiningFunctionType value) |
Scorecard |
withInitialScore(java.lang.Double value) |
Scorecard |
withLocalTransformations(LocalTransformations value) |
Scorecard |
withMiningSchema(MiningSchema value) |
Scorecard |
withModelExplanation(ModelExplanation value) |
Scorecard |
withModelName(java.lang.String value) |
Scorecard |
withModelStats(ModelStats value) |
Scorecard |
withModelVerification(ModelVerification value) |
Scorecard |
withOutput(Output value) |
Scorecard |
withReasonCodeAlgorithm(Scorecard.ReasonCodeAlgorithm value) |
Scorecard |
withScorable(java.lang.Boolean value) |
Scorecard |
withTargets(Targets value) |
Scorecard |
withUseReasonCodes(java.lang.Boolean value) |
getLocator, setLocatorprotected java.lang.String modelName
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected java.lang.Double initialScore
protected java.lang.Boolean useReasonCodes
protected Scorecard.ReasonCodeAlgorithm reasonCodeAlgorithm
protected java.lang.Double baselineScore
protected Scorecard.BaselineMethod baselineMethod
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected Targets targets
protected LocalTransformations localTransformations
protected Characteristics characteristics
protected ModelVerification modelVerification
public Scorecard()
public Scorecard(MiningFunctionType functionName, MiningSchema miningSchema, Characteristics characteristics)
public java.lang.String getModelName()
getModelName in class ModelStringpublic void setModelName(java.lang.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 java.lang.String getAlgorithmName()
getAlgorithmName in class ModelStringpublic void setAlgorithmName(java.lang.String value)
setAlgorithmName in class Modelvalue - allowed object is
Stringpublic double getInitialScore()
Doublepublic void setInitialScore(java.lang.Double value)
value - allowed object is
Doublepublic boolean isUseReasonCodes()
Booleanpublic void setUseReasonCodes(java.lang.Boolean value)
value - allowed object is
Booleanpublic Scorecard.ReasonCodeAlgorithm getReasonCodeAlgorithm()
Scorecard.ReasonCodeAlgorithmpublic void setReasonCodeAlgorithm(Scorecard.ReasonCodeAlgorithm value)
value - allowed object is
Scorecard.ReasonCodeAlgorithmpublic java.lang.Double getBaselineScore()
Doublepublic void setBaselineScore(java.lang.Double value)
value - allowed object is
Doublepublic Scorecard.BaselineMethod getBaselineMethod()
Scorecard.BaselineMethodpublic void setBaselineMethod(Scorecard.BaselineMethod value)
value - allowed object is
Scorecard.BaselineMethodpublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(java.lang.Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic java.util.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()
getModelExplanation in class ModelModelExplanationpublic void setModelExplanation(ModelExplanation value)
setModelExplanation in class Modelvalue - 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 Characteristics getCharacteristics()
Characteristicspublic void setCharacteristics(Characteristics value)
value - allowed object is
Characteristicspublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic Scorecard withModelName(java.lang.String value)
public Scorecard withFunctionName(MiningFunctionType value)
public Scorecard withAlgorithmName(java.lang.String value)
public Scorecard withInitialScore(java.lang.Double value)
public Scorecard withUseReasonCodes(java.lang.Boolean value)
public Scorecard withReasonCodeAlgorithm(Scorecard.ReasonCodeAlgorithm value)
public Scorecard withBaselineScore(java.lang.Double value)
public Scorecard withBaselineMethod(Scorecard.BaselineMethod value)
public Scorecard withScorable(java.lang.Boolean value)
public Scorecard withMiningSchema(MiningSchema value)
public Scorecard withModelStats(ModelStats value)
public Scorecard withModelExplanation(ModelExplanation value)
public Scorecard withLocalTransformations(LocalTransformations value)
public Scorecard withCharacteristics(Characteristics value)
public Scorecard withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.