rdr.results
Class Results

java.lang.Object
  extended by rdr.results.Results
Direct Known Subclasses:
MCRDRResults, SCRDRResults

public class Results
extends java.lang.Object

Generates and outputs experimental results

Author:
Ivan Bindoff

Constructor Summary
Results(java.lang.String location, java.lang.String suffix, DomainModel dm, Classifier classifier, Log log)
           
 
Method Summary
 void basicResults()
          Output all the basic experimental results to file
 void conditionsPerRule()
          Output the number of conditions per rule.
 void cornerstonesPerRule()
          Generate a csv detailing the number of cornerstones seen per rule
 void correctClassificationsProvided()
          Determine how many conclusions the system provided per case that were already considered correct.
 void depthBranches()
          Output the depth of each branch of the knowledge base.
 void outputCSV(java.lang.String name, common.datastructures.MyFastVector<common.datastructures.MyFastVector<java.lang.String>> output)
          Outputs a vector of vectors of strings to csv file.
 void rulesPerCase()
          Output the number of rules created per case.
 void timePerRule()
          Determine the time taken between commencing and completing each rule Output in csv format "ruleid,timeforrule" (in milliseconds)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Results

public Results(java.lang.String location,
               java.lang.String suffix,
               DomainModel dm,
               Classifier classifier,
               Log log)
Method Detail

basicResults

public void basicResults()
Output all the basic experimental results to file


rulesPerCase

public void rulesPerCase()
Output the number of rules created per case.


timePerRule

public void timePerRule()
Determine the time taken between commencing and completing each rule Output in csv format "ruleid,timeforrule" (in milliseconds)


correctClassificationsProvided

public void correctClassificationsProvided()
Determine how many conclusions the system provided per case that were already considered correct. i.e. (number of conclusions provided for case minus number of conclusions expert changed)/(number of conclusions provided + number of rules added by expert) for case *


depthBranches

public void depthBranches()
Output the depth of each branch of the knowledge base.

Parameters:
root -

conditionsPerRule

public void conditionsPerRule()
Output the number of conditions per rule.


cornerstonesPerRule

public void cornerstonesPerRule()
Generate a csv detailing the number of cornerstones seen per rule

Parameters:
log -

outputCSV

public void outputCSV(java.lang.String name,
                      common.datastructures.MyFastVector<common.datastructures.MyFastVector<java.lang.String>> output)
Outputs a vector of vectors of strings to csv file. Each element in the main vector represents a row of data to be output.

Parameters:
name -
output -