Package elki.result
Class AssociationRuleResult
- java.lang.Object
-
- elki.result.AssociationRuleResult
-
- All Implemented Interfaces:
TextWriteable
public class AssociationRuleResult extends java.lang.Object implements TextWriteable
Result class for association rule mining- Since:
- 0.7.5
- Author:
- Frederic Sautter
-
-
Field Summary
Fields Modifier and Type Field Description private VectorFieldTypeInformation<BitVector>
meta
Metadata of the data relation, for item labels.private java.util.List<AssociationRule>
rules
Association rules together with the interestingness measure.
-
Constructor Summary
Constructors Constructor Description AssociationRuleResult(java.util.List<AssociationRule> rules, VectorFieldTypeInformation<BitVector> meta)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorFieldTypeInformation<BitVector>
getMeta()
Returns Metadata of the data relation, for item labels.java.util.List<AssociationRule>
getRules()
Returns the rules.void
writeToText(TextWriterStream out, java.lang.String label)
Write self to the givenTextWriterStream
-
-
-
Field Detail
-
rules
private java.util.List<AssociationRule> rules
Association rules together with the interestingness measure.
-
meta
private VectorFieldTypeInformation<BitVector> meta
Metadata of the data relation, for item labels.
-
-
Constructor Detail
-
AssociationRuleResult
public AssociationRuleResult(java.util.List<AssociationRule> rules, VectorFieldTypeInformation<BitVector> meta)
Constructor.- Parameters:
rules
- Association rulesmeta
- Column metadata
-
-
Method Detail
-
getRules
public java.util.List<AssociationRule> getRules()
Returns the rules.- Returns:
- the rules.
-
getMeta
public VectorFieldTypeInformation<BitVector> getMeta()
Returns Metadata of the data relation, for item labels.- Returns:
- meta
-
writeToText
public void writeToText(TextWriterStream out, java.lang.String label)
Description copied from interface:TextWriteable
Write self to the givenTextWriterStream
- Specified by:
writeToText
in interfaceTextWriteable
- Parameters:
out
- Output writerlabel
- Label
-
-