|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nz.ac.waikato.mcennis.rat.graph.algorithm.collaborativefiltering.AssociativeMiningItemSetGroup
public class AssociativeMiningItemSetGroup
Class for bundling Association Objects. It stores references to the paraent graph object and handles all bookkeeping for expanding association objects until no larger group of items has a significant association. All previous associations are kept during each expansion. See Associative mining for a description of the algorithm this is a part of.
Constructor Summary | |
---|---|
AssociativeMiningItemSetGroup(Graph g,
LinkQuery relation,
LinkQuery.LinkEnd direction)
Creates a new association group in the given (sub)graph over the given link relation |
Method Summary | |
---|---|
void |
addNegativeBase(Actor a,
AssociativeMiningItems ami)
Add to the given base set of associations this actor and associated item describing its (negative) relationship to the source actor. |
void |
addPositiveBase(Actor a,
AssociativeMiningItems ami)
Add to the given base set of associations this actor and associated item describing its (positive) relationship to the source actor. |
int |
expandSet(Actor targetActor)
Expand the current set of associations with all other actors in either the positive or negaqtive base set. |
AssociativeMiningItems[] |
exportAssociations()
Combine all significant relations found by exporting the objects that describe them in an array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssociativeMiningItemSetGroup(Graph g, LinkQuery relation, LinkQuery.LinkEnd direction)
g
- graph of objectsrelation
- link relation associations are derived fromMethod Detail |
---|
public void addPositiveBase(Actor a, AssociativeMiningItems ami)
a
- actor that has the sigificant relationami
- object describing this significant relation.public void addNegativeBase(Actor a, AssociativeMiningItems ami)
a
- actor that has the sigificant relationami
- object describing this significant relation.public AssociativeMiningItems[] exportAssociations()
public int expandSet(Actor targetActor)
targetActor
- actor to check for a larger-member association
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |