meerqat.viz.umap module#

Usage: umap.py <dataset> <key> <output> [<config>]

meerqat.viz.umap.reduce(embeddings, metric='cosine')[source]#
meerqat.viz.umap.fplot(reduced_embeddings, figsize=(20, 20), alpha=0.5, s=5)[source]#
meerqat.viz.umap.iplot(reduced_embeddings, dataset, urls, input_key='input', thumb_width=128, title='UMAP projection', plot_width=600, plot_height=600, tools='pan, wheel_zoom, reset', line_alpha=0.6, fill_alpha=0.6, size=4, metric=None, palette='Viridis256')[source]#
meerqat.viz.umap.get_ranx_run(qrels_path, run_path, metric='mrr')[source]#
meerqat.viz.umap.main(dataset, key, output_path, image_kb=None, shard=None, url_key='url', reduce_kwargs={}, fplot_kwargs={}, iplot_kwargs={}, ranx_kwargs=None, face=False)[source]#