MLC++ utilities have the following command-line options:
<utility> {[-s] [-o <optionfile>] [-O <option>=<value>]}
The -s option suppresses environment options. The -o
option allows reading options from a file containing
<option>=<value> per line, and the -O option
(uppercase) allows setting a specific option. The -o and
-O flags may be repeated multiple times.
Each option used by a program has a unique name. By convention, option names appear in ALL CAPS and use underscores between words, although few common options do not use underscores ( e.g. , LOGLEVEL). Options are set according to the following hierarchy:
setenv DATAFILE 'foo'
sets the DATAFILE option to the value ``foo.'' An environment
variable takes precedence over the library default value.
The command-line flag ``-s'' will suppress looking at
environment variables.
An environment variable called PROMPTLEVEL
determines when to prompt the user for an option. The variable has
three possible values:
If the option has an MLC++
default, users can change it to be a
nuisance option by setting the option value to an exclamation mark
('
'
). A nuisance option can be changed to a
non-nuisance option by setting its value to be a question mark
('?'). See Section 8 for more details.
When an option requires one of a given set of values, , an enumerated option, a prefix of the desired option value may be used, and comparison is case insensitive. If there are multiple values with the given prefix, the first one in the list will be chosen. For example, typing setenv INDUCER naive will match naive-bayes (prefix match) and setenv INDUCER c4.5 will match C4.5 (first match, case insensitive).
To facilitate repeat runs of a program under the same options, options
may be dumped to a file. The dump is in a format which can be
sourced by csh or tcsh. The default is not to dump
options. To set a dump file, set the environment variable
OPTION_DUMP to the name of the new file. We recommend that
you add the following to your .login
setenv OPTION_DUMP ~/.mlcoptionsTo repeat a run that has been dumped, simply source it; for example,
source ~/.mlcoptionsNote that the dump file is generated as you input options in, so you can source it to fill-in the options you have already filled in even if you aborted the run.