org.processmining.analysis.decisionmining
Class J48Analyser

java.lang.Object
  extended by org.processmining.analysis.decisionmining.DecisionAnalyser
      extended by org.processmining.analysis.decisionmining.J48Analyser

public class J48Analyser
extends DecisionAnalyser

A DecisionAnalyzer using the J48 classifier from the weka library.

Author:
arozinat (a.rozinat@tm.tue.nl)

Field Summary
 
Fields inherited from class org.processmining.analysis.decisionmining.DecisionAnalyser
myClassifier
 
Constructor Summary
J48Analyser()
          Default constructor.
 
Method Summary
protected  javax.swing.JPanel createResultVisualization()
          Creates a decision tree visualization for the current classification problem.
 java.lang.String getDescription()
          Provide a description of this algorithm to be displayed in the algorithm view.
 javax.swing.JPanel getParametersPanel()
          Creates a GUI panel containing the parameters that are available for this type of decision analyser (i.e., the used algorithm).
protected  void initClassifier()
          Initializes data mining classifier to be used for analysis as a J48 classifier (corresponds to the weka implementation of the C4.5 algorithm).
protected  void redrawResultVisualization(javax.swing.JPanel panel)
          Invokes the redraw of the given decision tree visualization.
 java.lang.String toString()
          Specify the name of this algorithm to be displayed in the combo box of the algorithm view.
 
Methods inherited from class org.processmining.analysis.decisionmining.DecisionAnalyser
analyse, createEvaluationVisualization, createMessagePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

J48Analyser

public J48Analyser()
Default constructor.

Method Detail

toString

public java.lang.String toString()
Description copied from class: DecisionAnalyser
Specify the name of this algorithm to be displayed in the combo box of the algorithm view.

Specified by:
toString in class DecisionAnalyser
Returns:
the name of this algorithm

getDescription

public java.lang.String getDescription()
Description copied from class: DecisionAnalyser
Provide a description of this algorithm to be displayed in the algorithm view.

Specified by:
getDescription in class DecisionAnalyser
Returns:
the description of this algorithm

getParametersPanel

public javax.swing.JPanel getParametersPanel()
Description copied from class: DecisionAnalyser
Creates a GUI panel containing the parameters that are available for this type of decision analyser (i.e., the used algorithm).

Specified by:
getParametersPanel in class DecisionAnalyser
Returns:
the parameters panel to be displayed in the algorithm settings of the decsion miner

initClassifier

protected void initClassifier()
Initializes data mining classifier to be used for analysis as a J48 classifier (corresponds to the weka implementation of the C4.5 algorithm).

Specified by:
initClassifier in class DecisionAnalyser

createResultVisualization

protected javax.swing.JPanel createResultVisualization()
Creates a decision tree visualization for the current classification problem.

Specified by:
createResultVisualization in class DecisionAnalyser
Returns:
the panel to be displayed as analysis result for the current decision point

redrawResultVisualization

protected void redrawResultVisualization(javax.swing.JPanel panel)
Invokes the redraw of the given decision tree visualization. This is necessary as the TreeVisualizer component can only be positioned properly after being drawn.

Specified by:
redrawResultVisualization in class DecisionAnalyser
Parameters:
panel - the result visualization to be adjusted