Plotting figures – percent_at_n¶
The flitsr evaluation framework supports automatic plotting of
percentage-at-n figures, using the results of the merge -p option.
To plot these figures, use the percent_at_n plot command.
percent_at_n plot command line arguments¶
usage: percent_at_n plot plot [-h] [-a] [-m METRIC [METRIC ...]]
[-A TYPE [TYPE ...]] [-t METRIC [METRIC ...]]
[-s {metric,type}] [-l] [-S FILE]
plot_file
Positional Arguments¶
- plot_file
The input file generated by the FLITSR merge script
Named Arguments¶
- -a, --all
Plots one graph containing all metrics and advanced types. You may optionally filter the metrics that are plotted and for which metrics advanced types are plotted for by the –metrics and –types options
Default:
False- -m, --metrics
Possible choices: ample, anderberg, arith_mean, barinel, cohen, dice, dstar, euclid, fleiss, geometric, goodman, gp13, hamann, hamming, harmonic, hyperbolic, jaccard, kulczynski1, kulczynski2, m1, m2, naish2, ochiai, ochiai2, overlap, rogers_tanimoto, rogot1, rogot2, russell_rao, sbi, scott, simpl_match, sokal, sorensen_dice, tarantula, wong1, wong2, wong3, zoltar, artemis, sbfl, flitsr, multi, parallel
Specifies the metrics to plot for the –all plotting style. Allowed values are: [ample, anderberg, arith_mean, barinel, cohen, dice, dstar, euclid, fleiss, geometric, goodman, gp13, hamann, hamming, harmonic, hyperbolic, jaccard, kulczynski1, kulczynski2, m1, m2, naish2, ochiai, ochiai2, overlap, rogers_tanimoto, rogot1, rogot2, russell_rao, sbi, scott, simpl_match, sokal, sorensen_dice, tarantula, wong1, wong2, wong3, zoltar, artemis, sbfl, flitsr, multi, parallel]
- -A, --advanced-types
Specify the list of advanced types to include when merging. By default all available advanced types that appear in filenames of found files are included
- -t, --types
Possible choices: ample, anderberg, arith_mean, barinel, cohen, dice, dstar, euclid, fleiss, geometric, goodman, gp13, hamann, hamming, harmonic, hyperbolic, jaccard, kulczynski1, kulczynski2, m1, m2, naish2, ochiai, ochiai2, overlap, rogers_tanimoto, rogot1, rogot2, russell_rao, sbi, scott, simpl_match, sokal, sorensen_dice, tarantula, wong1, wong2, wong3, zoltar, artemis, sbfl, flitsr, multi, parallel
Specifies the metrics for which to plot advanced types for using the –all plotting style. See –metrics for allowed values
- -s, --split-type
Possible choices: metric, type
Determines whether to plot separate graphs for each metric, or for each type
Default:
'metric'- -l, --log
By default graphs are plot with both axes in linear scale. This option enables plotting the x-axis in log scale instead
Default:
False- -S, --save-to-file
By default, the plotted figure is displayed in an interactive window. Using this option, you may instead save the figure to a file given by FILE. The extension of the filename is used to determine the output format.