evaluationMethods
Class CreateROCCurve

java.lang.Object
  |
  +--evaluationMethods.CreateROCCurve
All Implemented Interfaces:
OptionHandler

public class CreateROCCurve
extends java.lang.Object
implements OptionHandler

Create Zadrozny's reliability curves from a matlab file containing probabilities.

Version:
$Revision: 1.1$
Author:
David Lindsay (davidl@cs.rhul.ac.uk)

Constructor Summary
CreateROCCurve()
           
 
Method Summary
static java.lang.String convertFileToRelCurveString(java.lang.String inputFileName)
          Method for converting the old data format into the WEKA arff format.
 java.lang.String getInputFileName()
           
 java.lang.String[] getOptions()
          Gets the current settings for data to arff conversion
 java.lang.String getOutputFileName()
           
 boolean inputFileSpecified()
           
 java.util.Enumeration listOptions()
          Returns an enumeration describing the available options
static void main(java.lang.String[] args)
          Testing area for this object
 boolean outputFileSpecified()
           
 void setOptions(java.lang.String[] options)
          Parses a given list of options.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateROCCurve

public CreateROCCurve()
Method Detail

inputFileSpecified

public boolean inputFileSpecified()

outputFileSpecified

public boolean outputFileSpecified()

getInputFileName

public java.lang.String getInputFileName()

getOutputFileName

public java.lang.String getOutputFileName()

convertFileToRelCurveString

public static java.lang.String convertFileToRelCurveString(java.lang.String inputFileName)
Method for converting the old data format into the WEKA arff format.

Parameters:
inputFileName - the input file to be converted

listOptions

public java.util.Enumeration listOptions()
Returns an enumeration describing the available options

Specified by:
listOptions in interface OptionHandler
Returns:
an enumeration of all the available options

setOptions

public void setOptions(java.lang.String[] options)
                throws java.lang.Exception
Parses a given list of options. Valid options are:

-i input data file string
-o output arff file string

Specified by:
setOptions in interface OptionHandler
Parameters:
options - the list of options as an array of strings
Throws:
java.lang.Exception - if an option is not supported

getOptions

public java.lang.String[] getOptions()
Gets the current settings for data to arff conversion

Specified by:
getOptions in interface OptionHandler
Returns:
an array of strings suitable for passing to setOptions()

main

public static void main(java.lang.String[] args)
Testing area for this object



Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London