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="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.lang.Double |
avgNumberOfItemsPerTransaction |
protected java.lang.Double |
avgNumberOfTAsPerTAGroup |
protected Constraints |
constraints |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected java.util.List<Item> |
items |
protected java.util.List<Itemset> |
itemsets |
protected LocalTransformations |
localTransformations |
protected java.lang.Integer |
maxNumberOfItemsPerTransaction |
protected java.lang.Integer |
maxNumberOfTAsPerTAGroup |
protected MiningSchema |
miningSchema |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected java.lang.Integer |
numberOfTransactionGroups |
protected java.lang.Integer |
numberOfTransactions |
protected java.lang.Boolean |
scorable |
protected java.util.List<SequenceRule> |
sequenceRules |
protected java.util.List<Sequence> |
sequences |
protected java.util.List<SetPredicate> |
setPredicates |
| Constructor and Description |
|---|
SequenceModel() |
SequenceModel(MiningFunctionType functionName,
MiningSchema miningSchema,
java.util.List<Sequence> sequences) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
java.lang.Double |
getAvgNumberOfItemsPerTransaction()
Gets the value of the avgNumberOfItemsPerTransaction property.
|
java.lang.Double |
getAvgNumberOfTAsPerTAGroup()
Gets the value of the avgNumberOfTAsPerTAGroup property.
|
Constraints |
getConstraints()
Gets the value of the constraints 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.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
java.lang.Integer |
getMaxNumberOfItemsPerTransaction()
Gets the value of the maxNumberOfItemsPerTransaction property.
|
java.lang.Integer |
getMaxNumberOfTAsPerTAGroup()
Gets the value of the maxNumberOfTAsPerTAGroup 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 |
getNumberOfTransactionGroups()
Gets the value of the numberOfTransactionGroups property.
|
java.lang.Integer |
getNumberOfTransactions()
Gets the value of the numberOfTransactions property.
|
Output |
getOutput()
Gets the value of the output property.
|
java.util.List<SequenceRule> |
getSequenceRules()
Gets the value of the sequenceRules property.
|
java.util.List<Sequence> |
getSequences()
Gets the value of the sequences property.
|
java.util.List<SetPredicate> |
getSetPredicates()
Gets the value of the setPredicates property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasExtensions() |
boolean |
hasItems() |
boolean |
hasItemsets() |
boolean |
hasSequenceRules() |
boolean |
hasSequences() |
boolean |
hasSetPredicates() |
boolean |
isScorable()
Gets the value of the scorable property.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setAvgNumberOfItemsPerTransaction(java.lang.Double value)
Sets the value of the avgNumberOfItemsPerTransaction property.
|
void |
setAvgNumberOfTAsPerTAGroup(java.lang.Double value)
Sets the value of the avgNumberOfTAsPerTAGroup property.
|
void |
setConstraints(Constraints value)
Sets the value of the constraints property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMaxNumberOfItemsPerTransaction(java.lang.Integer value)
Sets the value of the maxNumberOfItemsPerTransaction property.
|
void |
setMaxNumberOfTAsPerTAGroup(java.lang.Integer value)
Sets the value of the maxNumberOfTAsPerTAGroup 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 modelVerification)
Sets the value of the modelVerification property.
|
void |
setNumberOfTransactionGroups(java.lang.Integer value)
Sets the value of the numberOfTransactionGroups property.
|
void |
setNumberOfTransactions(java.lang.Integer value)
Sets the value of the numberOfTransactions property.
|
void |
setOutput(Output output)
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.
|
SequenceModel |
withAlgorithmName(java.lang.String value) |
SequenceModel |
withAvgNumberOfItemsPerTransaction(java.lang.Double value) |
SequenceModel |
withAvgNumberOfTAsPerTAGroup(java.lang.Double value) |
SequenceModel |
withConstraints(Constraints value) |
SequenceModel |
withExtensions(java.util.Collection<Extension> values) |
SequenceModel |
withExtensions(Extension... values) |
SequenceModel |
withFunctionName(MiningFunctionType value) |
SequenceModel |
withItems(java.util.Collection<Item> values) |
SequenceModel |
withItems(Item... values) |
SequenceModel |
withItemsets(java.util.Collection<Itemset> values) |
SequenceModel |
withItemsets(Itemset... values) |
SequenceModel |
withLocalTransformations(LocalTransformations value) |
SequenceModel |
withMaxNumberOfItemsPerTransaction(java.lang.Integer value) |
SequenceModel |
withMaxNumberOfTAsPerTAGroup(java.lang.Integer value) |
SequenceModel |
withMiningSchema(MiningSchema value) |
SequenceModel |
withModelName(java.lang.String value) |
SequenceModel |
withModelStats(ModelStats value) |
SequenceModel |
withNumberOfTransactionGroups(java.lang.Integer value) |
SequenceModel |
withNumberOfTransactions(java.lang.Integer value) |
SequenceModel |
withScorable(java.lang.Boolean value) |
SequenceModel |
withSequenceRules(java.util.Collection<SequenceRule> values) |
SequenceModel |
withSequenceRules(SequenceRule... values) |
SequenceModel |
withSequences(java.util.Collection<Sequence> values) |
SequenceModel |
withSequences(Sequence... values) |
SequenceModel |
withSetPredicates(java.util.Collection<SetPredicate> values) |
SequenceModel |
withSetPredicates(SetPredicate... values) |
getLocator, setLocatorprotected java.lang.String modelName
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected java.lang.Integer numberOfTransactions
protected java.lang.Integer maxNumberOfItemsPerTransaction
protected java.lang.Double avgNumberOfItemsPerTransaction
protected java.lang.Integer numberOfTransactionGroups
protected java.lang.Integer maxNumberOfTAsPerTAGroup
protected java.lang.Double avgNumberOfTAsPerTAGroup
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected ModelStats modelStats
protected LocalTransformations localTransformations
protected Constraints constraints
protected java.util.List<Item> items
protected java.util.List<Itemset> itemsets
protected java.util.List<SetPredicate> setPredicates
protected java.util.List<Sequence> sequences
protected java.util.List<SequenceRule> sequenceRules
public SequenceModel()
public SequenceModel(MiningFunctionType functionName, MiningSchema miningSchema, java.util.List<Sequence> sequences)
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 getMaxNumberOfItemsPerTransaction()
Stringpublic void setMaxNumberOfItemsPerTransaction(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Double getAvgNumberOfItemsPerTransaction()
Doublepublic void setAvgNumberOfItemsPerTransaction(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Integer getNumberOfTransactionGroups()
Stringpublic void setNumberOfTransactionGroups(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getMaxNumberOfTAsPerTAGroup()
Stringpublic void setMaxNumberOfTAsPerTAGroup(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Double getAvgNumberOfTAsPerTAGroup()
Doublepublic void setAvgNumberOfTAsPerTAGroup(java.lang.Double value)
value - allowed object is
Doublepublic 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 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 Constraints getConstraints()
Constraintspublic void setConstraints(Constraints value)
value - allowed object is
Constraintspublic 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<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 java.util.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 java.util.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 SequenceModel withModelName(java.lang.String value)
public SequenceModel withFunctionName(MiningFunctionType value)
public SequenceModel withAlgorithmName(java.lang.String value)
public SequenceModel withNumberOfTransactions(java.lang.Integer value)
public SequenceModel withMaxNumberOfItemsPerTransaction(java.lang.Integer value)
public SequenceModel withAvgNumberOfItemsPerTransaction(java.lang.Double value)
public SequenceModel withNumberOfTransactionGroups(java.lang.Integer value)
public SequenceModel withMaxNumberOfTAsPerTAGroup(java.lang.Integer value)
public SequenceModel withAvgNumberOfTAsPerTAGroup(java.lang.Double value)
public SequenceModel withScorable(java.lang.Boolean value)
public SequenceModel withExtensions(Extension... values)
public SequenceModel withExtensions(java.util.Collection<Extension> values)
public SequenceModel withMiningSchema(MiningSchema value)
public SequenceModel withModelStats(ModelStats value)
public SequenceModel withLocalTransformations(LocalTransformations value)
public SequenceModel withConstraints(Constraints value)
public SequenceModel withItems(Item... values)
public SequenceModel withItems(java.util.Collection<Item> values)
public SequenceModel withItemsets(Itemset... values)
public SequenceModel withItemsets(java.util.Collection<Itemset> values)
public SequenceModel withSetPredicates(SetPredicate... values)
public SequenceModel withSetPredicates(java.util.Collection<SetPredicate> values)
public SequenceModel withSequences(Sequence... values)
public SequenceModel withSequences(java.util.Collection<Sequence> values)
public SequenceModel withSequenceRules(SequenceRule... values)
public SequenceModel withSequenceRules(java.util.Collection<SequenceRule> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasItems()
public boolean hasItemsets()
public boolean hasSetPredicates()
public boolean hasSequences()
public boolean hasSequenceRules()
public ModelExplanation getModelExplanation()
getModelExplanation in class Modeljava.lang.UnsupportedOperationException - Always.public void setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class Modeljava.lang.UnsupportedOperationException - Always.public ModelVerification getModelVerification()
getModelVerification in class Modeljava.lang.UnsupportedOperationException - Always.public void setModelVerification(ModelVerification modelVerification)
setModelVerification in class Modeljava.lang.UnsupportedOperationException - Always.public Output getOutput()
public void setOutput(Output output)
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.