public class SequenceModel 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}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Constraints" 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}SetPredicate" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Sequence" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_1}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_1}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="numberOfTransactions" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="maxNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="avgNumberOfItemsPerTransaction" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<attribute name="numberOfTransactionGroups" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="maxNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="avgNumberOfTAsPerTAGroup" type="{http://www.dmg.org/PMML-4_1}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 String |
algorithmName |
protected Double |
avgNumberOfItemsPerTransaction |
protected Double |
avgNumberOfTAsPerTAGroup |
protected Constraints |
constraints |
protected List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected List<Item> |
items |
protected List<Itemset> |
itemsets |
protected LocalTransformations |
localTransformations |
protected Locator |
locator |
protected Integer |
maxNumberOfItemsPerTransaction |
protected Integer |
maxNumberOfTAsPerTAGroup |
protected MiningSchema |
miningSchema |
protected String |
modelName |
protected ModelStats |
modelStats |
protected Integer |
numberOfTransactionGroups |
protected Integer |
numberOfTransactions |
protected Boolean |
scorable |
protected List<SequenceRule> |
sequenceRules |
protected List<Sequence> |
sequences |
protected List<SetPredicate> |
setPredicates |
| Constructor and Description |
|---|
SequenceModel()
Deprecated.
|
SequenceModel(MiningSchema miningSchema,
MiningFunctionType functionName) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
Integer |
getMaxNumberOfItemsPerTransaction()
Gets the value of the maxNumberOfItemsPerTransaction property.
|
Integer |
getMaxNumberOfTAsPerTAGroup()
Gets the value of the maxNumberOfTAsPerTAGroup 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 |
getNumberOfTransactionGroups()
Gets the value of the numberOfTransactionGroups property.
|
Integer |
getNumberOfTransactions()
Gets the value of the numberOfTransactions property.
|
Output |
getOutput()
Gets the value of the output 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.
|
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 |
setAvgNumberOfItemsPerTransaction(Double value)
Sets the value of the avgNumberOfItemsPerTransaction property.
|
void |
setAvgNumberOfTAsPerTAGroup(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(Integer value)
Sets the value of the maxNumberOfItemsPerTransaction property.
|
void |
setMaxNumberOfTAsPerTAGroup(Integer value)
Sets the value of the maxNumberOfTAsPerTAGroup 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 |
setNumberOfTransactionGroups(Integer value)
Sets the value of the numberOfTransactionGroups property.
|
void |
setNumberOfTransactions(Integer value)
Sets the value of the numberOfTransactions property.
|
void |
setOutput(Output output)
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() |
SequenceModel |
withAlgorithmName(String value) |
SequenceModel |
withAvgNumberOfItemsPerTransaction(Double value) |
SequenceModel |
withAvgNumberOfTAsPerTAGroup(Double value) |
SequenceModel |
withConstraints(Constraints value) |
SequenceModel |
withExtensions(Collection<Extension> values) |
SequenceModel |
withExtensions(Extension... values) |
SequenceModel |
withFunctionName(MiningFunctionType value) |
SequenceModel |
withItems(Collection<Item> values) |
SequenceModel |
withItems(Item... values) |
SequenceModel |
withItemsets(Collection<Itemset> values) |
SequenceModel |
withItemsets(Itemset... values) |
SequenceModel |
withLocalTransformations(LocalTransformations value) |
SequenceModel |
withMaxNumberOfItemsPerTransaction(Integer value) |
SequenceModel |
withMaxNumberOfTAsPerTAGroup(Integer value) |
SequenceModel |
withMiningSchema(MiningSchema value) |
SequenceModel |
withModelName(String value) |
SequenceModel |
withModelStats(ModelStats value) |
SequenceModel |
withNumberOfTransactionGroups(Integer value) |
SequenceModel |
withNumberOfTransactions(Integer value) |
SequenceModel |
withScorable(Boolean value) |
SequenceModel |
withSequenceRules(Collection<SequenceRule> values) |
SequenceModel |
withSequenceRules(SequenceRule... values) |
SequenceModel |
withSequences(Collection<Sequence> values) |
SequenceModel |
withSequences(Sequence... values) |
SequenceModel |
withSetPredicates(Collection<SetPredicate> values) |
SequenceModel |
withSetPredicates(SetPredicate... values) |
protected MiningSchema miningSchema
protected ModelStats modelStats
protected LocalTransformations localTransformations
protected Constraints constraints
protected List<SetPredicate> setPredicates
protected List<SequenceRule> sequenceRules
protected String modelName
protected MiningFunctionType functionName
protected String algorithmName
protected Integer numberOfTransactions
protected Integer maxNumberOfItemsPerTransaction
protected Double avgNumberOfItemsPerTransaction
protected Integer numberOfTransactionGroups
protected Integer maxNumberOfTAsPerTAGroup
protected Double avgNumberOfTAsPerTAGroup
protected Boolean scorable
protected Locator locator
@Deprecated public SequenceModel()
public SequenceModel(MiningSchema miningSchema, MiningFunctionType functionName)
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 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 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 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 getMaxNumberOfItemsPerTransaction()
Stringpublic void setMaxNumberOfItemsPerTransaction(Integer value)
value - allowed object is
Stringpublic Double getAvgNumberOfItemsPerTransaction()
Doublepublic void setAvgNumberOfItemsPerTransaction(Double value)
value - allowed object is
Doublepublic Integer getNumberOfTransactionGroups()
Stringpublic void setNumberOfTransactionGroups(Integer value)
value - allowed object is
Stringpublic Integer getMaxNumberOfTAsPerTAGroup()
Stringpublic void setMaxNumberOfTAsPerTAGroup(Integer value)
value - allowed object is
Stringpublic Double getAvgNumberOfTAsPerTAGroup()
Doublepublic void setAvgNumberOfTAsPerTAGroup(Double value)
value - allowed object is
Doublepublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic SequenceModel withExtensions(Extension... values)
public SequenceModel withExtensions(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(Collection<Item> values)
public SequenceModel withItemsets(Itemset... values)
public SequenceModel withItemsets(Collection<Itemset> values)
public SequenceModel withSetPredicates(SetPredicate... values)
public SequenceModel withSetPredicates(Collection<SetPredicate> values)
public SequenceModel withSequences(Sequence... values)
public SequenceModel withSequences(Collection<Sequence> values)
public SequenceModel withSequenceRules(SequenceRule... values)
public SequenceModel withSequenceRules(Collection<SequenceRule> values)
public SequenceModel withModelName(String value)
public SequenceModel withFunctionName(MiningFunctionType value)
public SequenceModel withAlgorithmName(String value)
public SequenceModel withNumberOfTransactions(Integer value)
public SequenceModel withMaxNumberOfItemsPerTransaction(Integer value)
public SequenceModel withAvgNumberOfItemsPerTransaction(Double value)
public SequenceModel withNumberOfTransactionGroups(Integer value)
public SequenceModel withMaxNumberOfTAsPerTAGroup(Integer value)
public SequenceModel withAvgNumberOfTAsPerTAGroup(Double value)
public SequenceModel 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 Output getOutput()
getOutput in class ModelUnsupportedOperationException - Always.public void setOutput(Output output)
setOutput in class ModelUnsupportedOperationException - Always.public 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.