public class AssociationModel 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}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Item" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Itemset" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}AssociationRule" maxOccurs="unbounded" minOccurs="0"/>
<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="numberOfTransactions" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="maxNumberOfItemsPerTA" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="avgNumberOfItemsPerTA" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="minimumSupport" use="required" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="minimumConfidence" use="required" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="lengthLimit" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="numberOfItems" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="numberOfItemsets" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="numberOfRules" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithmName |
protected java.util.List<AssociationRule> |
associationRules |
protected java.lang.Double |
avgNumberOfItemsPerTA |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected java.util.List<Item> |
items |
protected java.util.List<Itemset> |
itemsets |
protected java.lang.Integer |
lengthLimit |
protected LocalTransformations |
localTransformations |
protected java.lang.Integer |
maxNumberOfItemsPerTA |
protected java.lang.Double |
minimumConfidence |
protected java.lang.Double |
minimumSupport |
protected MiningSchema |
miningSchema |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected java.lang.Integer |
numberOfItems |
protected java.lang.Integer |
numberOfItemsets |
protected java.lang.Integer |
numberOfRules |
protected java.lang.Integer |
numberOfTransactions |
protected Output |
output |
protected java.lang.Boolean |
scorable |
| Constructor and Description |
|---|
AssociationModel() |
AssociationModel(MiningFunctionType functionName,
java.lang.Integer numberOfTransactions,
java.lang.Double minimumSupport,
java.lang.Double minimumConfidence,
java.lang.Integer numberOfItems,
java.lang.Integer numberOfItemsets,
java.lang.Integer numberOfRules,
MiningSchema miningSchema) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
java.util.List<AssociationRule> |
getAssociationRules()
Gets the value of the associationRules property.
|
java.lang.Double |
getAvgNumberOfItemsPerTA()
Gets the value of the avgNumberOfItemsPerTA property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
java.util.List<Item> |
getItems()
Gets the value of the items property.
|
java.util.List<Itemset> |
getItemsets()
Gets the value of the itemsets property.
|
java.lang.Integer |
getLengthLimit()
Gets the value of the lengthLimit property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
java.lang.Integer |
getMaxNumberOfItemsPerTA()
Gets the value of the maxNumberOfItemsPerTA property.
|
java.lang.Double |
getMinimumConfidence()
Gets the value of the minimumConfidence property.
|
java.lang.Double |
getMinimumSupport()
Gets the value of the minimumSupport 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.
|
java.lang.Integer |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
java.lang.Integer |
getNumberOfItemsets()
Gets the value of the numberOfItemsets property.
|
java.lang.Integer |
getNumberOfRules()
Gets the value of the numberOfRules property.
|
java.lang.Integer |
getNumberOfTransactions()
Gets the value of the numberOfTransactions property.
|
Output |
getOutput()
Gets the value of the output property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasAssociationRules() |
boolean |
hasExtensions() |
boolean |
hasItems() |
boolean |
hasItemsets() |
boolean |
isScorable()
Gets the value of the scorable property.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setAvgNumberOfItemsPerTA(java.lang.Double value)
Sets the value of the avgNumberOfItemsPerTA property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLengthLimit(java.lang.Integer value)
Sets the value of the lengthLimit property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMaxNumberOfItemsPerTA(java.lang.Integer value)
Sets the value of the maxNumberOfItemsPerTA property.
|
void |
setMinimumConfidence(java.lang.Double value)
Sets the value of the minimumConfidence property.
|
void |
setMinimumSupport(java.lang.Double value)
Sets the value of the minimumSupport property.
|
void |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setModelExplanation(ModelExplanation modelExplanation)
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 |
setNumberOfItems(java.lang.Integer value)
Sets the value of the numberOfItems property.
|
void |
setNumberOfItemsets(java.lang.Integer value)
Sets the value of the numberOfItemsets property.
|
void |
setNumberOfRules(java.lang.Integer value)
Sets the value of the numberOfRules property.
|
void |
setNumberOfTransactions(java.lang.Integer value)
Sets the value of the numberOfTransactions property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(java.lang.Boolean value)
Sets the value of the scorable property.
|
void |
setTargets(Targets targets)
Sets the value of the targets property.
|
AssociationModel |
withAlgorithmName(java.lang.String value) |
AssociationModel |
withAssociationRules(AssociationRule... values) |
AssociationModel |
withAssociationRules(java.util.Collection<AssociationRule> values) |
AssociationModel |
withAvgNumberOfItemsPerTA(java.lang.Double value) |
AssociationModel |
withExtensions(java.util.Collection<Extension> values) |
AssociationModel |
withExtensions(Extension... values) |
AssociationModel |
withFunctionName(MiningFunctionType value) |
AssociationModel |
withItems(java.util.Collection<Item> values) |
AssociationModel |
withItems(Item... values) |
AssociationModel |
withItemsets(java.util.Collection<Itemset> values) |
AssociationModel |
withItemsets(Itemset... values) |
AssociationModel |
withLengthLimit(java.lang.Integer value) |
AssociationModel |
withLocalTransformations(LocalTransformations value) |
AssociationModel |
withMaxNumberOfItemsPerTA(java.lang.Integer value) |
AssociationModel |
withMinimumConfidence(java.lang.Double value) |
AssociationModel |
withMinimumSupport(java.lang.Double value) |
AssociationModel |
withMiningSchema(MiningSchema value) |
AssociationModel |
withModelName(java.lang.String value) |
AssociationModel |
withModelStats(ModelStats value) |
AssociationModel |
withModelVerification(ModelVerification value) |
AssociationModel |
withNumberOfItems(java.lang.Integer value) |
AssociationModel |
withNumberOfItemsets(java.lang.Integer value) |
AssociationModel |
withNumberOfRules(java.lang.Integer value) |
AssociationModel |
withNumberOfTransactions(java.lang.Integer value) |
AssociationModel |
withOutput(Output value) |
AssociationModel |
withScorable(java.lang.Boolean value) |
getLocator, setLocatorprotected java.lang.String modelName
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected java.lang.Integer numberOfTransactions
protected java.lang.Integer maxNumberOfItemsPerTA
protected java.lang.Double avgNumberOfItemsPerTA
protected java.lang.Double minimumSupport
protected java.lang.Double minimumConfidence
protected java.lang.Integer lengthLimit
protected java.lang.Integer numberOfItems
protected java.lang.Integer numberOfItemsets
protected java.lang.Integer numberOfRules
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected LocalTransformations localTransformations
protected java.util.List<Item> items
protected java.util.List<Itemset> itemsets
protected java.util.List<AssociationRule> associationRules
protected ModelVerification modelVerification
public AssociationModel()
public AssociationModel(MiningFunctionType functionName, java.lang.Integer numberOfTransactions, java.lang.Double minimumSupport, java.lang.Double minimumConfidence, java.lang.Integer numberOfItems, java.lang.Integer numberOfItemsets, java.lang.Integer numberOfRules, MiningSchema miningSchema)
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 java.lang.Integer getNumberOfTransactions()
Stringpublic void setNumberOfTransactions(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getMaxNumberOfItemsPerTA()
Stringpublic void setMaxNumberOfItemsPerTA(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Double getAvgNumberOfItemsPerTA()
Doublepublic void setAvgNumberOfItemsPerTA(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getMinimumSupport()
Stringpublic void setMinimumSupport(java.lang.Double value)
value - allowed object is
Stringpublic java.lang.Double getMinimumConfidence()
Stringpublic void setMinimumConfidence(java.lang.Double value)
value - allowed object is
Stringpublic java.lang.Integer getLengthLimit()
Stringpublic void setLengthLimit(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getNumberOfItems()
Stringpublic void setNumberOfItems(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getNumberOfItemsets()
Stringpublic void setNumberOfItemsets(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getNumberOfRules()
Stringpublic void setNumberOfRules(java.lang.Integer value)
value - allowed object is
Stringpublic 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 LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - allowed object is
LocalTransformationspublic java.util.List<Item> getItems()
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 items property.
For example, to add a new item, do as follows:
getItems().add(newItem);
Objects of the following type(s) are allowed in the list
Item
public java.util.List<Itemset> getItemsets()
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 itemsets property.
For example, to add a new item, do as follows:
getItemsets().add(newItem);
Objects of the following type(s) are allowed in the list
Itemset
public java.util.List<AssociationRule> getAssociationRules()
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 associationRules property.
For example, to add a new item, do as follows:
getAssociationRules().add(newItem);
Objects of the following type(s) are allowed in the list
AssociationRule
public ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic AssociationModel withModelName(java.lang.String value)
public AssociationModel withFunctionName(MiningFunctionType value)
public AssociationModel withAlgorithmName(java.lang.String value)
public AssociationModel withNumberOfTransactions(java.lang.Integer value)
public AssociationModel withMaxNumberOfItemsPerTA(java.lang.Integer value)
public AssociationModel withAvgNumberOfItemsPerTA(java.lang.Double value)
public AssociationModel withMinimumSupport(java.lang.Double value)
public AssociationModel withMinimumConfidence(java.lang.Double value)
public AssociationModel withLengthLimit(java.lang.Integer value)
public AssociationModel withNumberOfItems(java.lang.Integer value)
public AssociationModel withNumberOfItemsets(java.lang.Integer value)
public AssociationModel withNumberOfRules(java.lang.Integer value)
public AssociationModel withScorable(java.lang.Boolean value)
public AssociationModel withExtensions(Extension... values)
public AssociationModel withExtensions(java.util.Collection<Extension> values)
public AssociationModel withMiningSchema(MiningSchema value)
public AssociationModel withOutput(Output value)
public AssociationModel withModelStats(ModelStats value)
public AssociationModel withLocalTransformations(LocalTransformations value)
public AssociationModel withItems(Item... values)
public AssociationModel withItems(java.util.Collection<Item> values)
public AssociationModel withItemsets(Itemset... values)
public AssociationModel withItemsets(java.util.Collection<Itemset> values)
public AssociationModel withAssociationRules(AssociationRule... values)
public AssociationModel withAssociationRules(java.util.Collection<AssociationRule> values)
public AssociationModel withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasItems()
public boolean hasItemsets()
public boolean hasAssociationRules()
public ModelExplanation getModelExplanation()
getModelExplanation in class Modeljava.lang.UnsupportedOperationException - Always.public void setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class Modeljava.lang.UnsupportedOperationException - Always.public Targets getTargets()
getTargets in class Modeljava.lang.UnsupportedOperationException - Always.public void setTargets(Targets targets)
setTargets in class Modeljava.lang.UnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.