public class SequenceModel 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}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Constraints" 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}SetPredicate" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Sequence" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_2}SequenceRule" maxOccurs="unbounded" 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" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="maxNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="avgNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="numberOfTransactionGroups" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="maxNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="avgNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="minimumSupport" use="required" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="minimumConfidence" use="required" type="{http://www.dmg.org/PMML-4_2}REAL-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="numberOfSets" use="required" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="numberOfSequences" 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="timeWindowWidth" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="minimumTime" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="maximumTime" 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 |
|---|
SequenceModel() |
SequenceModel(MiningFunctionType functionName,
double minimumSupport,
double minimumConfidence,
Integer numberOfItems,
Integer numberOfSets,
Integer numberOfSequences,
Integer numberOfRules,
MiningSchema miningSchema,
List<Sequence> sequences) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
SequenceModel |
addExtensions(Extension... extensions) |
SequenceModel |
addItems(Item... items) |
SequenceModel |
addItemsets(Itemset... itemsets) |
SequenceModel |
addSequenceRules(SequenceRule... sequenceRules) |
SequenceModel |
addSequences(Sequence... sequences) |
SequenceModel |
addSetPredicates(SetPredicate... setPredicates) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
Double |
getAvgNumberOfItemsPerTransaction()
Gets the value of the avgNumberOfItemsPerTransaction property.
|
Double |
getAvgNumberOfTAsPerTAGroup()
Gets the value of the avgNumberOfTAsPerTAGroup property.
|
Constraints |
getConstraints()
Gets the value of the constraints 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 |
getMaximumTime()
Gets the value of the maximumTime property.
|
Integer |
getMaxNumberOfItemsPerTransaction()
Gets the value of the maxNumberOfItemsPerTransaction property.
|
Integer |
getMaxNumberOfTAsPerTAGroup()
Gets the value of the maxNumberOfTAsPerTAGroup property.
|
double |
getMinimumConfidence()
Gets the value of the minimumConfidence property.
|
double |
getMinimumSupport()
Gets the value of the minimumSupport property.
|
Integer |
getMinimumTime()
Gets the value of the minimumTime 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.
|
Integer |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
Integer |
getNumberOfRules()
Gets the value of the numberOfRules property.
|
Integer |
getNumberOfSequences()
Gets the value of the numberOfSequences property.
|
Integer |
getNumberOfSets()
Gets the value of the numberOfSets property.
|
Integer |
getNumberOfTransactionGroups()
Gets the value of the numberOfTransactionGroups property.
|
Integer |
getNumberOfTransactions()
Gets the value of the numberOfTransactions property.
|
List<SequenceRule> |
getSequenceRules()
Gets the value of the sequenceRules property.
|
List<Sequence> |
getSequences()
Gets the value of the sequences property.
|
List<SetPredicate> |
getSetPredicates()
Gets the value of the setPredicates property.
|
Integer |
getTimeWindowWidth()
Gets the value of the timeWindowWidth property.
|
boolean |
hasExtensions() |
boolean |
hasItems() |
boolean |
hasItemsets() |
boolean |
hasSequenceRules() |
boolean |
hasSequences() |
boolean |
hasSetPredicates() |
boolean |
isScorable()
Gets the value of the scorable property.
|
SequenceModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
SequenceModel |
setAvgNumberOfItemsPerTransaction(Double avgNumberOfItemsPerTransaction)
Sets the value of the avgNumberOfItemsPerTransaction property.
|
SequenceModel |
setAvgNumberOfTAsPerTAGroup(Double avgNumberOfTAsPerTAGroup)
Sets the value of the avgNumberOfTAsPerTAGroup property.
|
SequenceModel |
setConstraints(Constraints constraints)
Sets the value of the constraints property.
|
SequenceModel |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
SequenceModel |
setLengthLimit(Integer lengthLimit)
Sets the value of the lengthLimit property.
|
SequenceModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
SequenceModel |
setMaximumTime(Integer maximumTime)
Sets the value of the maximumTime property.
|
SequenceModel |
setMaxNumberOfItemsPerTransaction(Integer maxNumberOfItemsPerTransaction)
Sets the value of the maxNumberOfItemsPerTransaction property.
|
SequenceModel |
setMaxNumberOfTAsPerTAGroup(Integer maxNumberOfTAsPerTAGroup)
Sets the value of the maxNumberOfTAsPerTAGroup property.
|
SequenceModel |
setMinimumConfidence(double minimumConfidence)
Sets the value of the minimumConfidence property.
|
SequenceModel |
setMinimumSupport(double minimumSupport)
Sets the value of the minimumSupport property.
|
SequenceModel |
setMinimumTime(Integer minimumTime)
Sets the value of the minimumTime property.
|
SequenceModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
SequenceModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
SequenceModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
SequenceModel |
setNumberOfItems(Integer numberOfItems)
Sets the value of the numberOfItems property.
|
SequenceModel |
setNumberOfRules(Integer numberOfRules)
Sets the value of the numberOfRules property.
|
SequenceModel |
setNumberOfSequences(Integer numberOfSequences)
Sets the value of the numberOfSequences property.
|
SequenceModel |
setNumberOfSets(Integer numberOfSets)
Sets the value of the numberOfSets property.
|
SequenceModel |
setNumberOfTransactionGroups(Integer numberOfTransactionGroups)
Sets the value of the numberOfTransactionGroups property.
|
SequenceModel |
setNumberOfTransactions(Integer numberOfTransactions)
Sets the value of the numberOfTransactions property.
|
SequenceModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
SequenceModel |
setTimeWindowWidth(Integer timeWindowWidth)
Sets the value of the timeWindowWidth property.
|
getModelExplanation, getModelVerification, getOutput, getTargets, setModelExplanation, setModelVerification, setOutput, setTargetsgetLocator, setLocatorpublic SequenceModel()
public SequenceModel(MiningFunctionType functionName, double minimumSupport, double minimumConfidence, Integer numberOfItems, Integer numberOfSets, Integer numberOfSequences, Integer numberOfRules, MiningSchema miningSchema, List<Sequence> sequences)
public String getModelName()
getModelName in class ModelStringpublic SequenceModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic SequenceModel setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic SequenceModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic Integer getNumberOfTransactions()
Stringpublic SequenceModel setNumberOfTransactions(Integer numberOfTransactions)
numberOfTransactions - allowed object is
Stringpublic Integer getMaxNumberOfItemsPerTransaction()
Stringpublic SequenceModel setMaxNumberOfItemsPerTransaction(Integer maxNumberOfItemsPerTransaction)
maxNumberOfItemsPerTransaction - allowed object is
Stringpublic Double getAvgNumberOfItemsPerTransaction()
Doublepublic SequenceModel setAvgNumberOfItemsPerTransaction(Double avgNumberOfItemsPerTransaction)
avgNumberOfItemsPerTransaction - allowed object is
Doublepublic Integer getNumberOfTransactionGroups()
Stringpublic SequenceModel setNumberOfTransactionGroups(Integer numberOfTransactionGroups)
numberOfTransactionGroups - allowed object is
Stringpublic Integer getMaxNumberOfTAsPerTAGroup()
Stringpublic SequenceModel setMaxNumberOfTAsPerTAGroup(Integer maxNumberOfTAsPerTAGroup)
maxNumberOfTAsPerTAGroup - allowed object is
Stringpublic Double getAvgNumberOfTAsPerTAGroup()
Doublepublic SequenceModel setAvgNumberOfTAsPerTAGroup(Double avgNumberOfTAsPerTAGroup)
avgNumberOfTAsPerTAGroup - allowed object is
Doublepublic double getMinimumSupport()
public SequenceModel setMinimumSupport(double minimumSupport)
public double getMinimumConfidence()
public SequenceModel setMinimumConfidence(double minimumConfidence)
public Integer getLengthLimit()
Stringpublic SequenceModel setLengthLimit(Integer lengthLimit)
lengthLimit - allowed object is
Stringpublic Integer getNumberOfItems()
Stringpublic SequenceModel setNumberOfItems(Integer numberOfItems)
numberOfItems - allowed object is
Stringpublic Integer getNumberOfSets()
Stringpublic SequenceModel setNumberOfSets(Integer numberOfSets)
numberOfSets - allowed object is
Stringpublic Integer getNumberOfSequences()
Stringpublic SequenceModel setNumberOfSequences(Integer numberOfSequences)
numberOfSequences - allowed object is
Stringpublic Integer getNumberOfRules()
Stringpublic SequenceModel setNumberOfRules(Integer numberOfRules)
numberOfRules - allowed object is
Stringpublic Integer getTimeWindowWidth()
Stringpublic SequenceModel setTimeWindowWidth(Integer timeWindowWidth)
timeWindowWidth - allowed object is
Stringpublic Integer getMinimumTime()
Stringpublic SequenceModel setMinimumTime(Integer minimumTime)
minimumTime - allowed object is
Stringpublic Integer getMaximumTime()
Stringpublic SequenceModel setMaximumTime(Integer maximumTime)
maximumTime - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic SequenceModel 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 SequenceModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic ModelStats getModelStats()
getModelStats in class ModelModelStatspublic SequenceModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic SequenceModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic Constraints getConstraints()
Constraintspublic SequenceModel setConstraints(Constraints constraints)
constraints - allowed object is
Constraintspublic 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<SetPredicate> getSetPredicates()
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 setPredicates property.
For example, to add a new item, do as follows:
getSetPredicates().add(newItem);
Objects of the following type(s) are allowed in the list
SetPredicate
public List<Sequence> getSequences()
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 sequences property.
For example, to add a new item, do as follows:
getSequences().add(newItem);
Objects of the following type(s) are allowed in the list
Sequence
public List<SequenceRule> getSequenceRules()
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 sequenceRules property.
For example, to add a new item, do as follows:
getSequenceRules().add(newItem);
Objects of the following type(s) are allowed in the list
SequenceRule
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic SequenceModel addExtensions(Extension... extensions)
public boolean hasItems()
public SequenceModel addItems(Item... items)
public boolean hasItemsets()
public SequenceModel addItemsets(Itemset... itemsets)
public boolean hasSetPredicates()
public SequenceModel addSetPredicates(SetPredicate... setPredicates)
public boolean hasSequences()
public SequenceModel addSequences(Sequence... sequences)
public boolean hasSequenceRules()
public SequenceModel addSequenceRules(SequenceRule... sequenceRules)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.