job.name {StabPerf}R Documentation

Returns the string name of a job, given job type and current indices

Description

Constructs a string uniquely identifying a job. A job is either a select job, prefixed by s or a classification job, prefixed by c. The subsequent indices identify which fold in the cross validation is being processed and which selector or classifier the job represents.

Usage

job.name(prefix, i=0, s=0, c=0)

Arguments

prefix either s for selection jobs, or c for classification jobs.
i Current fold used for this job in the cross-validation
s The selector index number (given in selection and classification jobs)
c Classifier index, only present for classifier jobs

Details

Classifier jobs also contain the index of their respective selection jobs. Every classifier is paired with every selector. The c (classification) jobs identify these combinations. The classifier or selector index number is simply the order of occurance of the selector and classifier blocks in the respective configuration files (by default: classifiers.conf and selectors.conf).

Value

job an instance of the job class.

See Also

job.path,

Examples

job.string <- job.name(this-is-escaped-codenormal-bracket8bracket-normal, 1, 2) # Fold 1, Selector 2
job.string <- job.name(this-is-escaped-codenormal-bracket9bracket-normal, 1, 2, 1) # Fold 1, Selector 2, Classifier 2

[Package StabPerf version 0.5 Index]