public class AssociationModel extends Model implements com.sun.xml.bind.Locatable, 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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_1}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Item" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Itemset" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}AssociationRule" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}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_1}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_1}INT-NUMBER" />
<attribute name="maxNumberOfItemsPerTA" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="avgNumberOfItemsPerTA" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<attribute name="minimumSupport" use="required" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
<attribute name="minimumConfidence" use="required" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
<attribute name="lengthLimit" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="numberOfItems" use="required" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="numberOfItemsets" use="required" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="numberOfRules" use="required" type="{http://www.dmg.org/PMML-4_1}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 String |
algorithmName |
protected List<AssociationRule> |
associationRules |
protected Double |
avgNumberOfItemsPerTA |
protected List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected List<Item> |
items |
protected List<Itemset> |
itemsets |
protected Integer |
lengthLimit |
protected LocalTransformations |
localTransformations |
protected Locator |
locator |
protected Integer |
maxNumberOfItemsPerTA |
protected Double |
minimumConfidence |
protected Double |
minimumSupport |
protected MiningSchema |
miningSchema |
protected String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected Integer |
numberOfItems |
protected Integer |
numberOfItemsets |
protected Integer |
numberOfRules |
protected Integer |
numberOfTransactions |
protected Output |
output |
protected Boolean |
scorable |
| Constructor and Description |
|---|
AssociationModel()
Deprecated.
|
AssociationModel(MiningSchema miningSchema,
MiningFunctionType functionName,
Integer numberOfTransactions,
Double minimumSupport,
Double minimumConfidence,
Integer numberOfItems,
Integer numberOfItemsets,
Integer numberOfRules) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
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 |
isScorable()
Gets the value of the scorable property.
|
void |
setAlgorithmName(String value)
Sets the value of the algorithmName property.
|
void |
setAvgNumberOfItemsPerTA(Double value)
Sets the value of the avgNumberOfItemsPerTA property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLengthLimit(Integer value)
Sets the value of the lengthLimit property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMaxNumberOfItemsPerTA(Integer value)
Sets the value of the maxNumberOfItemsPerTA property.
|
void |
setMinimumConfidence(Double value)
Sets the value of the minimumConfidence property.
|
void |
setMinimumSupport(Double value)
Sets the value of the minimumSupport property.
|
void |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setModelName(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(Integer value)
Sets the value of the numberOfItems property.
|
void |
setNumberOfItemsets(Integer value)
Sets the value of the numberOfItemsets property.
|
void |
setNumberOfRules(Integer value)
Sets the value of the numberOfRules property.
|
void |
setNumberOfTransactions(Integer value)
Sets the value of the numberOfTransactions property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(Boolean value)
Sets the value of the scorable property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTargets(Targets targets)
Sets the value of the targets property.
|
Locator |
sourceLocation() |
AssociationModel |
withAlgorithmName(String value) |
AssociationModel |
withAssociationRules(AssociationRule... values) |
AssociationModel |
withAssociationRules(Collection<AssociationRule> values) |
AssociationModel |
withAvgNumberOfItemsPerTA(Double value) |
AssociationModel |
withExtensions(Collection<Extension> values) |
AssociationModel |
withExtensions(Extension... values) |
AssociationModel |
withFunctionName(MiningFunctionType value) |
AssociationModel |
withItems(Collection<Item> values) |
AssociationModel |
withItems(Item... values) |
AssociationModel |
withItemsets(Collection<Itemset> values) |
AssociationModel |
withItemsets(Itemset... values) |
AssociationModel |
withLengthLimit(Integer value) |
AssociationModel |
withLocalTransformations(LocalTransformations value) |
AssociationModel |
withMaxNumberOfItemsPerTA(Integer value) |
AssociationModel |
withMinimumConfidence(Double value) |
AssociationModel |
withMinimumSupport(Double value) |
AssociationModel |
withMiningSchema(MiningSchema value) |
AssociationModel |
withModelName(String value) |
AssociationModel |
withModelStats(ModelStats value) |
AssociationModel |
withModelVerification(ModelVerification value) |
AssociationModel |
withNumberOfItems(Integer value) |
AssociationModel |
withNumberOfItemsets(Integer value) |
AssociationModel |
withNumberOfRules(Integer value) |
AssociationModel |
withNumberOfTransactions(Integer value) |
AssociationModel |
withOutput(Output value) |
AssociationModel |
withScorable(Boolean value) |
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected LocalTransformations localTransformations
protected List<AssociationRule> associationRules
protected ModelVerification modelVerification
protected String modelName
protected MiningFunctionType functionName
protected String algorithmName
protected Integer numberOfTransactions
protected Integer maxNumberOfItemsPerTA
protected Double avgNumberOfItemsPerTA
protected Double minimumSupport
protected Double minimumConfidence
protected Integer lengthLimit
protected Integer numberOfItems
protected Integer numberOfItemsets
protected Integer numberOfRules
protected Boolean scorable
protected Locator locator
@Deprecated public AssociationModel()
public AssociationModel(MiningSchema miningSchema, MiningFunctionType functionName, Integer numberOfTransactions, Double minimumSupport, Double minimumConfidence, Integer numberOfItems, Integer numberOfItemsets, Integer numberOfRules)
public 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 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()
ModelVerificationpublic void setModelVerification(ModelVerification value)
value - allowed object is
ModelVerificationpublic String getModelName()
getModelName in class ModelStringpublic void setModelName(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 String getAlgorithmName()
Stringpublic void setAlgorithmName(String value)
value - allowed object is
Stringpublic Integer getNumberOfTransactions()
Stringpublic void setNumberOfTransactions(Integer value)
value - allowed object is
Stringpublic Integer getMaxNumberOfItemsPerTA()
Stringpublic void setMaxNumberOfItemsPerTA(Integer value)
value - allowed object is
Stringpublic Double getAvgNumberOfItemsPerTA()
Doublepublic void setAvgNumberOfItemsPerTA(Double value)
value - allowed object is
Doublepublic Double getMinimumSupport()
Stringpublic void setMinimumSupport(Double value)
value - allowed object is
Stringpublic Double getMinimumConfidence()
Stringpublic void setMinimumConfidence(Double value)
value - allowed object is
Stringpublic Integer getLengthLimit()
Stringpublic void setLengthLimit(Integer value)
value - allowed object is
Stringpublic Integer getNumberOfItems()
Stringpublic void setNumberOfItems(Integer value)
value - allowed object is
Stringpublic Integer getNumberOfItemsets()
Stringpublic void setNumberOfItemsets(Integer value)
value - allowed object is
Stringpublic Integer getNumberOfRules()
Stringpublic void setNumberOfRules(Integer value)
value - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic AssociationModel withExtensions(Extension... values)
public AssociationModel withExtensions(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(Collection<Item> values)
public AssociationModel withItemsets(Itemset... values)
public AssociationModel withItemsets(Collection<Itemset> values)
public AssociationModel withAssociationRules(AssociationRule... values)
public AssociationModel withAssociationRules(Collection<AssociationRule> values)
public AssociationModel withModelVerification(ModelVerification value)
public AssociationModel withModelName(String value)
public AssociationModel withFunctionName(MiningFunctionType value)
public AssociationModel withAlgorithmName(String value)
public AssociationModel withNumberOfTransactions(Integer value)
public AssociationModel withMaxNumberOfItemsPerTA(Integer value)
public AssociationModel withAvgNumberOfItemsPerTA(Double value)
public AssociationModel withMinimumSupport(Double value)
public AssociationModel withMinimumConfidence(Double value)
public AssociationModel withLengthLimit(Integer value)
public AssociationModel withNumberOfItems(Integer value)
public AssociationModel withNumberOfItemsets(Integer value)
public AssociationModel withNumberOfRules(Integer value)
public AssociationModel withScorable(Boolean value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic Targets getTargets()
getTargets in class ModelUnsupportedOperationException - Always.public void setTargets(Targets targets)
setTargets in class ModelUnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.