Package org.dmg.pmml.association
Class AssociationModel
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Model
-
- org.dmg.pmml.association.AssociationModel
-
- All Implemented Interfaces:
java.io.Serializable,HasExtensions<AssociationModel>,HasLocator,Visitable
public class AssociationModel extends Model implements HasExtensions<AssociationModel>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssociationModel()AssociationModel(MiningFunction miningFunction, java.lang.Integer numberOfTransactions, java.lang.Number minimumSupport, java.lang.Number minimumConfidence, java.lang.Integer numberOfItems, java.lang.Integer numberOfItemsets, java.lang.Integer numberOfRules, MiningSchema miningSchema)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.Model
getModelExplanation, getTargets, setModelExplanation, setTargets
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
AssociationModel
public AssociationModel()
-
AssociationModel
public AssociationModel(MiningFunction miningFunction, java.lang.Integer numberOfTransactions, java.lang.Number minimumSupport, java.lang.Number minimumConfidence, java.lang.Integer numberOfItems, java.lang.Integer numberOfItemsets, java.lang.Integer numberOfRules, MiningSchema miningSchema)
-
-
Method Detail
-
getModelName
public java.lang.String getModelName()
- Specified by:
getModelNamein classModel
-
setModelName
public AssociationModel setModelName(java.lang.String modelName)
- Specified by:
setModelNamein classModel
-
requireMiningFunction
public MiningFunction requireMiningFunction()
- Specified by:
requireMiningFunctionin classModel
-
getMiningFunction
public MiningFunction getMiningFunction()
- Specified by:
getMiningFunctionin classModel
-
setMiningFunction
public AssociationModel setMiningFunction(MiningFunction miningFunction)
- Specified by:
setMiningFunctionin classModel
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmNamein classModel
-
setAlgorithmName
public AssociationModel setAlgorithmName(java.lang.String algorithmName)
- Specified by:
setAlgorithmNamein classModel
-
requireNumberOfTransactions
public java.lang.Integer requireNumberOfTransactions()
-
getNumberOfTransactions
public java.lang.Integer getNumberOfTransactions()
-
setNumberOfTransactions
public AssociationModel setNumberOfTransactions(java.lang.Integer numberOfTransactions)
-
getMaxNumberOfItemsPerTA
public java.lang.Integer getMaxNumberOfItemsPerTA()
-
setMaxNumberOfItemsPerTA
public AssociationModel setMaxNumberOfItemsPerTA(java.lang.Integer maxNumberOfItemsPerTA)
-
getAvgNumberOfItemsPerTA
public java.lang.Number getAvgNumberOfItemsPerTA()
-
setAvgNumberOfItemsPerTA
public AssociationModel setAvgNumberOfItemsPerTA(java.lang.Number avgNumberOfItemsPerTA)
-
requireMinimumSupport
public java.lang.Number requireMinimumSupport()
-
getMinimumSupport
public java.lang.Number getMinimumSupport()
-
setMinimumSupport
public AssociationModel setMinimumSupport(java.lang.Number minimumSupport)
-
requireMinimumConfidence
public java.lang.Number requireMinimumConfidence()
-
getMinimumConfidence
public java.lang.Number getMinimumConfidence()
-
setMinimumConfidence
public AssociationModel setMinimumConfidence(java.lang.Number minimumConfidence)
-
getLengthLimit
public java.lang.Integer getLengthLimit()
-
setLengthLimit
public AssociationModel setLengthLimit(java.lang.Integer lengthLimit)
-
requireNumberOfItems
public java.lang.Integer requireNumberOfItems()
-
getNumberOfItems
public java.lang.Integer getNumberOfItems()
-
setNumberOfItems
public AssociationModel setNumberOfItems(java.lang.Integer numberOfItems)
-
requireNumberOfItemsets
public java.lang.Integer requireNumberOfItemsets()
-
getNumberOfItemsets
public java.lang.Integer getNumberOfItemsets()
-
setNumberOfItemsets
public AssociationModel setNumberOfItemsets(java.lang.Integer numberOfItemsets)
-
requireNumberOfRules
public java.lang.Integer requireNumberOfRules()
-
getNumberOfRules
public java.lang.Integer getNumberOfRules()
-
setNumberOfRules
public AssociationModel setNumberOfRules(java.lang.Integer numberOfRules)
-
isScorable
public boolean isScorable()
- Specified by:
isScorablein classModel
-
setScorable
public AssociationModel setScorable(java.lang.Boolean scorable)
- Specified by:
setScorablein classModel
-
getMathContext
public MathContext getMathContext()
- Specified by:
getMathContextin classModel
-
setMathContext
public AssociationModel setMathContext(MathContext mathContext)
- Specified by:
setMathContextin classModel
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<AssociationModel>
-
getExtensions
public java.util.List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<AssociationModel>
-
addExtensions
public AssociationModel addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<AssociationModel>
-
requireMiningSchema
public MiningSchema requireMiningSchema()
- Specified by:
requireMiningSchemain classModel
-
getMiningSchema
public MiningSchema getMiningSchema()
- Specified by:
getMiningSchemain classModel
-
setMiningSchema
public AssociationModel setMiningSchema(MiningSchema miningSchema)
- Specified by:
setMiningSchemain classModel
-
setOutput
public AssociationModel setOutput(Output output)
-
getModelStats
public ModelStats getModelStats()
- Overrides:
getModelStatsin classModel
-
setModelStats
public AssociationModel setModelStats(ModelStats modelStats)
- Overrides:
setModelStatsin classModel
-
getLocalTransformations
public LocalTransformations getLocalTransformations()
- Specified by:
getLocalTransformationsin classModel
-
setLocalTransformations
public AssociationModel setLocalTransformations(LocalTransformations localTransformations)
- Specified by:
setLocalTransformationsin classModel
-
hasItems
public boolean hasItems()
-
getItems
public java.util.List<Item> getItems()
-
addItems
public AssociationModel addItems(Item... items)
-
hasItemsets
public boolean hasItemsets()
-
getItemsets
public java.util.List<Itemset> getItemsets()
-
addItemsets
public AssociationModel addItemsets(Itemset... itemsets)
-
hasAssociationRules
public boolean hasAssociationRules()
-
getAssociationRules
public java.util.List<AssociationRule> getAssociationRules()
-
addAssociationRules
public AssociationModel addAssociationRules(AssociationRule... associationRules)
-
getModelVerification
public ModelVerification getModelVerification()
- Overrides:
getModelVerificationin classModel
-
setModelVerification
public AssociationModel setModelVerification(ModelVerification modelVerification)
- Overrides:
setModelVerificationin classModel
-
accept
public VisitorAction accept(Visitor visitor)
-
-