REQUIREMENTS ------------ - Torch3 (http://www.torch.ch) INSTALL ------ 1) decompress the archive in the Torch3 directory - cd Torch3;tar zxvf epc.tar.gz 2) add the epc package in the torch packages - edit Makefile_options_Linux, add epc to packages = 3) compile again - make depend;make 4) go to epc examples directory - cd examples/epc 5) compile the programs - make measure_verif - make measure_tc USAGE ----- # # usage: ./Linux_OPT_FLOAT/measure_verif [options] # Arguments: -> ascii training matrix file () -> ascii test matrix file () Options: -c -> column where the score is [0] -s -> step between points for the curves [0.001] Curves: -det_file -> compute FAR/FRR DET curves [] -roc -> ROC instead of DET -epc_file -> use the FAR/FRR DCF criterion [] -criterion -> frr, far, dcf values [dcf] -bound -> bound for the criterion values [1] Points: -eer_file -> compute EER points [] -hter_file -> compute HTER points [] Stats: -no_stats -> compute far/frr statistics The output files (roc, det, epc) for verification is a simple ascii file of six columns: Install the examples package and run try_it scripts. # # usage: ./Linux_OPT_FLOAT/measure_tc [options] # Arguments: -> ascii training matrix file () -> ascii test matrix file () Options: -c -> column where the score is [0] -s -> step between points for the curves [0.001] Curves: -F1 -> compute the F1 measure instead of (P+R)/2 -roc_file -> compute PRECISION/RECALL ROC curves [] -epc_file -> use the PRECISION/RECALL DCF criterion [] -criterion -> recall, precision, dcf values [dcf] -bound -> bound for the criterion values [1] Points: -bep_file -> compute BEP points [] Stats: -no_stats -> compute precision/recall statistics The output files (roc, epc) for text categorization is a simple ascii file of six columns: <1/2(train-precision + train-recall)> <1/2(test-precision + test-recall)> with "-F1" option: <2(train-precision * train-recall)/(train-precision+train-recall> <2(test-precision * test-recall)/(test-precision+test-recall> Install the examples package and run try_it scripts.