nordlys.core.eval.plot_diff module

Plot Differences

Plots a series of scores which represent differences.

Authors:Shuo Zhang, Krisztian Balog
class nordlys.core.eval.plot_diff.QueryDiff[source]

Bases: object

SCORES = [25, 20, 10, 5, 0, -1, -5, -10]
create_pdf(diff_file, pdf_file, title='', xlabel='', ylabel='', aspect_ratio='equal', separator='\t')[source]

Create bar plot for differences in pdf.

This function is used to load difference .csv file, create bar plot and store as a pfd file.

Pdf:created and saved pdf file
make_plot()[source]

Make a bar plot using SCORES