DESCRIPTION Compute mean Canberra distance indicator on top-k sublists. USAGE ./canberra.py OR ./canberra.py ARGUMENTS Filename or full path to the input file to be processed. Single k value for which the Canberra distance is to be calculated. If is not specified, values will be generated for all values of k from 1 through the length of the first list in the input file. OPTIONS --inpDelim= Delimiter between values in a row; defaults to a comma. --inpQuote= Character enclosing strings if necessary; defaults to a double quote. --inpHeader If specified, the first row of the input file is assumed to be a header row and is ignored. --outDelim= Delimiter(s) between values in a row in the output file; defaults to a comma. --outQuote= Character(s) enclosing strings in the output; defaults to a double quote. --outHeader If specified, the first row will contain the names of the fields. --outputFile= Name of the output file; defaults to results.txt. INPUT FILE The input file should contain delimited values (defaulting to CSV unless options are specified) with an optional header row if the correct option is specified on the command line; otherwise, the first line is considered to be data. Each row represents a ranked list, with each item the index of the position of the item in the original list. For example, if the original list is (55, 66, 44, 22), the corresponding row in the input file is (2, 3, 1, 0). OUTPUT FILE The output file will be called results.txt unless the --outputFile option is specified. It contains comma-separated values (or other delimiters if specified) and may or may not contain an header row based on the presence of the appropriate option. The values are: k, Distance.