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>
| Constructor and Description |
|---|
AssociationModel() |
AssociationModel(MiningFunctionType functionName,
Integer numberOfTransactions,
Double minimumSupport,
Double minimumConfidence,
Integer numberOfItems,
Integer numberOfItemsets,
Integer numberOfRules,
MiningSchema miningSchema) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
AssociationModel |
addAssociationRules(AssociationRule... associationRules) |
AssociationModel |
addExtensions(Extension... extensions) |
AssociationModel |
addItems(Item... items) |
AssociationModel |
addItemsets(Itemset... itemsets) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
List<AssociationRule> |
getAssociationRules()
Gets the value of the associationRules property.
|
Double |
getAvgNumberOfItemsPerTA()
Gets the value of the avgNumberOfItemsPerTA property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
List<Item> |
getItems()
Gets the value of the items property.
|
List<Itemset> |
getItemsets()
Gets the value of the itemsets property.
|
Integer |
getLengthLimit()
Gets the value of the lengthLimit property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
Integer |
getMaxNumberOfItemsPerTA()
Gets the value of the maxNumberOfItemsPerTA property.
|
Double |
getMinimumConfidence()
Gets the value of the minimumConfidence property.
|
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.
|
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.
|
Integer |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
Integer |
getNumberOfItemsets()
Gets the value of the numberOfItemsets property.
|
Integer |
getNumberOfRules()
Gets the value of the numberOfRules property.
|
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.
|
AssociationModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
AssociationModel |
setAvgNumberOfItemsPerTA(Double avgNumberOfItemsPerTA)
Sets the value of the avgNumberOfItemsPerTA property.
|
AssociationModel |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
AssociationModel |
setLengthLimit(Integer lengthLimit)
Sets the value of the lengthLimit property.
|
AssociationModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
AssociationModel |
setMaxNumberOfItemsPerTA(Integer maxNumberOfItemsPerTA)
Sets the value of the maxNumberOfItemsPerTA property.
|
AssociationModel |
setMinimumConfidence(Double minimumConfidence)
Sets the value of the minimumConfidence property.
|
AssociationModel |
setMinimumSupport(Double minimumSupport)
Sets the value of the minimumSupport property.
|
AssociationModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
AssociationModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
AssociationModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
AssociationModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
AssociationModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
AssociationModel |
setNumberOfItems(Integer numberOfItems)
Sets the value of the numberOfItems property.
|
AssociationModel |
setNumberOfItemsets(Integer numberOfItemsets)
Sets the value of the numberOfItemsets property.
|
AssociationModel |
setNumberOfRules(Integer numberOfRules)
Sets the value of the numberOfRules property.
|
AssociationModel |
setNumberOfTransactions(Integer numberOfTransactions)
Sets the value of the numberOfTransactions property.
|
AssociationModel |
setOutput(Output output)
Sets the value of the output property.
|
AssociationModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
AssociationModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocatorpublic AssociationModel()
public AssociationModel(MiningFunctionType functionName, Integer numberOfTransactions, Double minimumSupport, Double minimumConfidence, Integer numberOfItems, Integer numberOfItemsets, Integer numberOfRules, MiningSchema miningSchema)
public String getModelName()
getModelName in class ModelStringpublic AssociationModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic AssociationModel setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic AssociationModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic Integer getNumberOfTransactions()
Stringpublic AssociationModel setNumberOfTransactions(Integer numberOfTransactions)
numberOfTransactions - allowed object is
Stringpublic Integer getMaxNumberOfItemsPerTA()
Stringpublic AssociationModel setMaxNumberOfItemsPerTA(Integer maxNumberOfItemsPerTA)
maxNumberOfItemsPerTA - allowed object is
Stringpublic Double getAvgNumberOfItemsPerTA()
Doublepublic AssociationModel setAvgNumberOfItemsPerTA(Double avgNumberOfItemsPerTA)
avgNumberOfItemsPerTA - allowed object is
Doublepublic Double getMinimumSupport()
Stringpublic AssociationModel setMinimumSupport(Double minimumSupport)
minimumSupport - allowed object is
Stringpublic Double getMinimumConfidence()
Stringpublic AssociationModel setMinimumConfidence(Double minimumConfidence)
minimumConfidence - allowed object is
Stringpublic Integer getLengthLimit()
Stringpublic AssociationModel setLengthLimit(Integer lengthLimit)
lengthLimit - allowed object is
Stringpublic Integer getNumberOfItems()
Stringpublic AssociationModel setNumberOfItems(Integer numberOfItems)
numberOfItems - allowed object is
Stringpublic Integer getNumberOfItemsets()
Stringpublic AssociationModel setNumberOfItemsets(Integer numberOfItemsets)
numberOfItemsets - allowed object is
Stringpublic Integer getNumberOfRules()
Stringpublic AssociationModel setNumberOfRules(Integer numberOfRules)
numberOfRules - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic AssociationModel 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 AssociationModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public AssociationModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic AssociationModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic AssociationModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic 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 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 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 AssociationModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic AssociationModel addExtensions(Extension... extensions)
public boolean hasItems()
public AssociationModel addItems(Item... items)
public boolean hasItemsets()
public AssociationModel addItemsets(Itemset... itemsets)
public boolean hasAssociationRules()
public AssociationModel addAssociationRules(AssociationRule... associationRules)
public ModelExplanation getModelExplanation()
getModelExplanation in class ModelUnsupportedOperationException - Always.public AssociationModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelUnsupportedOperationException - Always.public Targets getTargets()
getTargets in class ModelUnsupportedOperationException - Always.public AssociationModel setTargets(Targets targets)
setTargets in class ModelUnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.