hashformers.experiments package

Submodules

hashformers.experiments.evaluation module

hashformers.experiments.evaluation.evaluate_df(df, gold_field='gold', segmentation_field='segmentation')
hashformers.experiments.evaluation.filter_top_k(input_df, k, gold_field='hashtag', score_field='score', segmentation_field='segmentation', fill=False)
hashformers.experiments.evaluation.read_experiment_dataset(data, dataset, model)

hashformers.experiments.utils module

hashformers.experiments.utils.build_ensemble_df(a, b)
hashformers.experiments.utils.calculate_diff_scores(a, b, characters_field='hashtag', score_field='score')
hashformers.experiments.utils.filter_and_project_scores(a, b, characters_field='hashtag', segmentation_field='segmentation')
hashformers.experiments.utils.project_scores(a, b, segmentation_field='segmentation', score_field='score')

Module contents