Command Line Options

Below is a list of valid options for using genee from the command line.

General options:

-t <name of training file>
        Sets training file.
-T <name of test file>
        Sets test file. If missing, a cross-validation will be performed on the training data.
-c <class index>
        Sets index of class attribute (default: last).
-x <number of folds>
        Sets number of folds for cross-validation (default: 10).
-s <random number seed>
        Sets random number seed for cross-validation (default: 1).
-m <name of file with cost matrix>
        Sets file with cost matrix.
-l <name of input file>
        Sets model input file. In case the filename ends with '.xml',
        the options are loaded from the XML file.
-d <name of output file>
        Sets model output file. In case the filename ends with '.xml',
        only the options are saved to the XML file, not the model.
-v
        Outputs no statistics for training data.
-o
        Outputs statistics only, not the classifier.
-i
        Outputs detailed information-retrieval statistics for each class.
-k
        Outputs information-theoretic statistics.
-p <attribute range>
        Only outputs predictions for test instances, along with attributes (0 for none).
-r
        Only outputs cumulative margin distribution.
-xml filename | xml-string
        Retrieves the options from the XML-data instead of the command line.

Options specific to net.sf.orcus.genee.GeneticClassifier:

-P int
        The population size. Default is 100
-R double
        The population replacement fraction. Default is 0.6
-M double
        The mutation rate. Default is 0.1
-G int
        The maximum number of generations. Default is 1000
-C double
        The minimum percentage that must be classified correctly. Default is 0.85
-N int
        Maximum number of initial rules per hypothesis. Default is 10
-F int
        The fully qualified name of the Fitness class to be used. 
        Default is net.sf.orcus.genee.fitness.SquareCorrectFitness
-X int
        The fully qualified name of the Crossover class to be used.
        Default is net.sf.orcus.genee.xo.SinglePointCrossover