Scroll to navigation

heri-eval(1) heri-eval(1)

NAME

heri-eval - evaluate classification algorithm

SYNOPSIS

heri-eval [OPTIONS] dataset [-- SVM_TRAIN_OPTIONS]

DESCRIPTION

heri-eval runs training algorithm on dataset and then evaluate it using testing set, specified by option -e. Alternatively, cross-validation is run, if option -n was applied. If cross-validation is used, training and testing on different folds are run in parallel, thus utilizing available CPUs.

OPTIONS

-h, --help
Display help information.
-f
Enable output of per-fold statistics. See -Mf.
-n N
Enable T*N-fold cross-validation mode and set the number of folds to N.
-t T
Enable T*N-fold cross-validation mode and set the number of runs to T which 1 by default.
-e testing_dataset
Enable hold-out mode and set the testing dataset.
-o filename
Save results from testing sets to the specified file.

Format: golden_class result_class [score]

-O filename
Save incorrectly classified objects to the specified file.

Format: #object_number: golden_class result_class [score])

-m filename
Save confusion matrix to the specified file.

Format: frequency : golden_class result_class

-p opts
Pass the specified opts to heri-stat(1).
-s opts
Pass the specified opts to heri-split(1).
-M chars
Sets the output mode where chars are: t -- output total statistics, f -- output per-fold statistics, c -- output cross-fold statistics. The default is "-M tc".
-S seed
Pass the specified seed to heri-split(1).
-K
Keep temporary directory after exiting.
-D
Turn on the debugging mode, implies -K.

ENVIRONMENT

SVM_TRAIN_CMD
Training utility, e.g., liblinear-train (the default is svm-train).
SVM_PREDICT_CMD
Predicting utility, e.g., liblinear-predict (the default is svm-predict).
SVM_HERI_STAT_CMD
Utility for calculating statistics (the default is heri-stat(1)).
SVM_HERI_STAT_ADDONS_CMD
Utility for calculating additional statistics (the default is heri-stat-addons(1)).
SVM_HERI_SPLIT_CMD
Utility for splitting the dataset (the default is heri-split(1)).
TMPDIR
Temporary directory (the default is /tmp).

HOME

<http://github.com/cheusov/herisvm>

SEE ALSO

heri-split(1) heri-stat(1)
2019-01-07