org.processmining.mining.armining
Class AssociationAnalyzer

java.lang.Object
  extended by org.processmining.mining.armining.AssociationAnalyzer
Direct Known Subclasses:
AprioriAnalyzer, PredictiveAprioriAnalyzer

public abstract class AssociationAnalyzer
extends java.lang.Object

Title: AssociationAnalyzer

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Shaifali Gupta (s.gupta@student.tue.nl)

Field Summary
protected  weka.core.FastVector attributeInfo
           
protected  weka.core.Instances data
           
protected  weka.core.Instance instance
           
protected  javax.swing.JTextField locationARFFFile
           
protected  weka.associations.Associator myAssociator
           
protected  javax.swing.JButton saveAsARFFBrowseButton
           
protected  GUIPropertyBoolean saveAsARFFChecked
           
protected  LogReader theLog
           
 
Constructor Summary
AssociationAnalyzer()
          Initializes data mining analyzer to be used for association analysis.
 
Method Summary
abstract  void applyOptionalParameters()
           
abstract  boolean check(ProcessInstance pi, int ruleIndex)
           
abstract  boolean checkFIS(ProcessInstance pi, int ruleIndex)
           
abstract  boolean checkFISWithEC(ProcessInstance pi, int ruleIndex)
           
abstract  boolean checkWithEC(ProcessInstance pi, int ruleIndex)
           
 void createInputForWeka(LogReader log)
           
 void createInputForWeka2(LogReader log)
           
static javax.swing.JPanel createMessagePanel(java.lang.String message)
          Method creating an empty panel containing the given feedback message for the user.
abstract  double getConfValue()
           
abstract  java.lang.String getDescription()
           
abstract  boolean getETypeValue()
           
abstract  boolean getFreqItemSets()
           
abstract  java.lang.String getlocationARFFFile()
           
abstract  double getLowerBoundMinSup()
           
abstract  javax.swing.JPanel getParametersPanel()
          Creates a GUI panel containing the parameters that are available for this type of association rule analyzer (i.e., the used algorithm).
abstract  java.util.ArrayList<java.lang.String> getRules()
           
abstract  java.util.ArrayList<java.lang.String> getRulesWithEType()
           
abstract  boolean getSaveARFFValue()
           
abstract  double getUpperBoundMinSup()
           
protected abstract  void initAssociator()
          Initializes data mining associator to be used for association analysis.
abstract  void myBuildAssociations()
           
abstract  void resetAssociator()
           
abstract  java.util.ArrayList<java.lang.String> showFreqItemSets()
           
abstract  java.util.ArrayList<java.lang.String> showFreqItemSetsWithEType()
           
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myAssociator

protected weka.associations.Associator myAssociator

theLog

protected LogReader theLog

attributeInfo

protected weka.core.FastVector attributeInfo

data

protected weka.core.Instances data

instance

protected weka.core.Instance instance

saveAsARFFChecked

protected GUIPropertyBoolean saveAsARFFChecked

locationARFFFile

protected javax.swing.JTextField locationARFFFile

saveAsARFFBrowseButton

protected javax.swing.JButton saveAsARFFBrowseButton
Constructor Detail

AssociationAnalyzer

public AssociationAnalyzer()
Initializes data mining analyzer to be used for association analysis.

Method Detail

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
the name of this algorithm to be displayed in Combo box

getDescription

public abstract java.lang.String getDescription()
Returns:
the description of this algorithm

resetAssociator

public abstract void resetAssociator()

initAssociator

protected abstract void initAssociator()
Initializes data mining associator to be used for association analysis.


getParametersPanel

public abstract javax.swing.JPanel getParametersPanel()
Creates a GUI panel containing the parameters that are available for this type of association rule analyzer (i.e., the used algorithm).

Returns:
the parameters panel to be displayed in the algorithm settings of the association rule miner

applyOptionalParameters

public abstract void applyOptionalParameters()

getRules

public abstract java.util.ArrayList<java.lang.String> getRules()

getRulesWithEType

public abstract java.util.ArrayList<java.lang.String> getRulesWithEType()

showFreqItemSets

public abstract java.util.ArrayList<java.lang.String> showFreqItemSets()

showFreqItemSetsWithEType

public abstract java.util.ArrayList<java.lang.String> showFreqItemSetsWithEType()

getFreqItemSets

public abstract boolean getFreqItemSets()

getSaveARFFValue

public abstract boolean getSaveARFFValue()

getlocationARFFFile

public abstract java.lang.String getlocationARFFFile()

getConfValue

public abstract double getConfValue()

getUpperBoundMinSup

public abstract double getUpperBoundMinSup()

getLowerBoundMinSup

public abstract double getLowerBoundMinSup()

getETypeValue

public abstract boolean getETypeValue()

check

public abstract boolean check(ProcessInstance pi,
                              int ruleIndex)

checkWithEC

public abstract boolean checkWithEC(ProcessInstance pi,
                                    int ruleIndex)

checkFIS

public abstract boolean checkFIS(ProcessInstance pi,
                                 int ruleIndex)

checkFISWithEC

public abstract boolean checkFISWithEC(ProcessInstance pi,
                                       int ruleIndex)

createInputForWeka

public void createInputForWeka(LogReader log)
                        throws java.io.IOException,
                               java.lang.IndexOutOfBoundsException
Throws:
java.io.IOException
java.lang.IndexOutOfBoundsException

createInputForWeka2

public void createInputForWeka2(LogReader log)
                         throws java.io.IOException,
                                java.lang.IndexOutOfBoundsException
Throws:
java.io.IOException
java.lang.IndexOutOfBoundsException

myBuildAssociations

public abstract void myBuildAssociations()

createMessagePanel

public static javax.swing.JPanel createMessagePanel(java.lang.String message)
Method creating an empty panel containing the given feedback message for the user.

Parameters:
message - the message to be displayed for the user
Returns:
the panel to be displayed as analysis result for the current decision point