Python script clfTreeModelTrain
See Also
python.clfTreeModelTrain

Aim of module

Trains a supervised decision tree based classification model.

General description

See Also
Python script clfTreeModelTrain

Parameter description

Common Package/Script Options
Settings concerning the general options for (package) scripts.

-infile input text file, directory or strip file
Type : String
Remark :Mandatory
Description: input files or file list

As input either the name of an ASCII file (extension .txt) containing

the names of the data files (one file per line) or an expression using

wildcards to specify the respective data sets are accepted.
-outfile output directory or settings file (.txt)
Type : String
Remark :Optional
Description: output directory

Specifies the directory where the final results are stored.

If not specified, the results are created in the current working directory.
-temp temporary directory
Type : String
Remark :Optional, default: '.'
Description: directory for temporary files

Specifies the directory where all intermediate results are stored.

If not specified, a TEMP subdirectory is created in the current working

directory. Additional subdirectories (one per involved module) are created.
-cfg configuration file
Type : String
Remark :Optional
Description: configuration file

The name of a configuration file containing all relevant calculation parameters

is expected. If not specified, the default cfg files as provided by the OPALS

distribution are used.
-projectDir project directory
Type : String
Remark :Optional
Description: project directory

All of the parameters mentioned above, if not specified as absolute paths, are

relative to the project directory. The default project directory is the current

working directory, but this can be changed easily using the -p parameter.
-skipIfExists skip processing if result already exists
Type : Boolean
Remark :Optional, default: Boolean(True)
Description: skip processing if result already exists

In order to re-run current script it is useful to repeat the processing only if the

respective output does not already exist. This allows for incremental processing

of large projects.
Possible values:

1True
0False
trueTrue
falseFalse
yesTrue
noFalse
-gearman address and port of gearman job server
Type :
Remark :Optional
Description: currently this option is not yet supported. placed here for future reference

Examples

To be written.