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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Constraints" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Item" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Itemset" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}SetPredicate" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Sequence" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}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_3}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="numberOfTransactions" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="maxNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="avgNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="numberOfTransactionGroups" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="maxNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="avgNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="minimumSupport" use="required" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="minimumConfidence" use="required" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="lengthLimit" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="numberOfItems" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="numberOfSets" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="numberOfSequences" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="numberOfRules" use="required" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="timeWindowWidth" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="minimumTime" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="maximumTime" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SequenceModel() |
SequenceModel(MiningFunction miningFunction,
double minimumSupport,
double minimumConfidence,
int numberOfItems,
int numberOfSets,
int numberOfSequences,
int 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.
|
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.
|
MiningFunction |
getMiningFunction()
Gets the value of the miningFunction 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.
|
int |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
int |
getNumberOfRules()
Gets the value of the numberOfRules property.
|
int |
getNumberOfSequences()
Gets the value of the numberOfSequences property.
|
int |
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 |
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 |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction 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(int numberOfItems)
Sets the value of the numberOfItems property.
|
SequenceModel |
setNumberOfRules(int numberOfRules)
Sets the value of the numberOfRules property.
|
SequenceModel |
setNumberOfSequences(int numberOfSequences)
Sets the value of the numberOfSequences property.
|
SequenceModel |
setNumberOfSets(int 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, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic SequenceModel()
public SequenceModel(MiningFunction miningFunction, double minimumSupport, double minimumConfidence, int numberOfItems, int numberOfSets, int numberOfSequences, int 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 MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic SequenceModel setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic SequenceModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic Integer getNumberOfTransactions()
Integerpublic SequenceModel setNumberOfTransactions(Integer numberOfTransactions)
numberOfTransactions - allowed object is
Integerpublic Integer getMaxNumberOfItemsPerTransaction()
Integerpublic SequenceModel setMaxNumberOfItemsPerTransaction(Integer maxNumberOfItemsPerTransaction)
maxNumberOfItemsPerTransaction - allowed object is
Integerpublic Double getAvgNumberOfItemsPerTransaction()
Doublepublic SequenceModel setAvgNumberOfItemsPerTransaction(Double avgNumberOfItemsPerTransaction)
avgNumberOfItemsPerTransaction - allowed object is
Doublepublic Integer getNumberOfTransactionGroups()
Integerpublic SequenceModel setNumberOfTransactionGroups(Integer numberOfTransactionGroups)
numberOfTransactionGroups - allowed object is
Integerpublic Integer getMaxNumberOfTAsPerTAGroup()
Integerpublic SequenceModel setMaxNumberOfTAsPerTAGroup(Integer maxNumberOfTAsPerTAGroup)
maxNumberOfTAsPerTAGroup - allowed object is
Integerpublic 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()
Integerpublic SequenceModel setLengthLimit(Integer lengthLimit)
lengthLimit - allowed object is
Integerpublic int getNumberOfItems()
public SequenceModel setNumberOfItems(int numberOfItems)
public int getNumberOfSets()
public SequenceModel setNumberOfSets(int numberOfSets)
public int getNumberOfSequences()
public SequenceModel setNumberOfSequences(int numberOfSequences)
public int getNumberOfRules()
public SequenceModel setNumberOfRules(int numberOfRules)
public Integer getTimeWindowWidth()
Integerpublic SequenceModel setTimeWindowWidth(Integer timeWindowWidth)
timeWindowWidth - allowed object is
Integerpublic Integer getMinimumTime()
Integerpublic SequenceModel setMinimumTime(Integer minimumTime)
minimumTime - allowed object is
Integerpublic Integer getMaximumTime()
Integerpublic SequenceModel setMaximumTime(Integer maximumTime)
maximumTime - allowed object is
Integerpublic 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 © 2016 University of Tartu. All rights reserved.