Package weka.associations
Interface Associator
- All Known Implementing Classes:
AbstractAssociator
,Apriori
,FilteredAssociator
,FPGrowth
,SingleAssociatorEnhancer
public interface Associator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildAssociations
(Instances data) Generates an associator.Returns the Capabilities of this associator.
-
Method Details
-
buildAssociations
Generates an associator. Must initialize all fields of the associator that are not being set via options (ie. multiple calls of buildAssociator must always lead to the same result). Must not change the dataset in any way.- Parameters:
data
- set of instances serving as training data- Throws:
Exception
- if the associator has not been generated successfully
-
getCapabilities
Capabilities getCapabilities()Returns the Capabilities of this associator. Derived associators have to override this method to enable capabilities.- Returns:
- the capabilities of this object
- See Also:
-