Package: casimir 0.3.3

Maximilian Kähler

casimir: Comparing Automated Subject Indexing Methods in R

Perform evaluation of automatic subject indexing methods. The main focus of the package is to enable efficient computation of set retrieval and ranked retrieval metrics across multiple dimensions of a dataset, e.g. document strata or subsets of the label set. The package also provides the possibility of computing bootstrap confidence intervals for all major metrics, with seamless integration of parallel computation and propensity scored variants of standard metrics.

Authors:Maximilian Kähler [aut, cre], Markus Schumacher [aut], Deutsche Nationalbibliothek [cph]

casimir_0.3.3.tar.gz
casimir_0.3.3.zip(r-4.7-any)casimir_0.3.3.zip(r-4.6-any)casimir_0.3.3.zip(r-4.5-any)
casimir_0.3.3.tgz(r-4.6-any)casimir_0.3.3.tgz(r-4.5-any)
casimir_0.3.3.tar.gz(r-4.7-any)casimir_0.3.3.tar.gz(r-4.6-any)
casimir_0.3.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
casimir/json (API)

# Install 'casimir' in R:
install.packages('casimir', repos = c('https://deutsche-nationalbibliothek.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/deutsche-nationalbibliothek/casimir/issues

Pkgdown/docs site:https://deutsche-nationalbibliothek.github.io

Datasets:

On CRAN:

Conda:

code4libglaminformation-retrievalmetricsmultilabel-classificationsubject-indexingxmlc

3.82 score 1 stars 22 scripts 279 downloads 13 exports 33 dependencies

Last updated from:49ff488089. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK185
source / vignettesOK165
linux-releaseOK181
macos-releaseOK181
macos-oldrelOK232
windows-develOK144
windows-releaseOK134
windows-oldrelOK138
wasm-releaseOK129

Exports:apply_thresholdcompute_intermediate_resultscompute_intermediate_results_rrcompute_pr_auccompute_pr_auc_from_curvecompute_pr_curvecompute_propensity_scorescompute_ranked_retrieval_scorescompute_set_retrieval_scorescreate_comparisoncreate_rank_coljoin_propensity_scoressummarise_intermediate_results

Dependencies:clicodetoolscollapsecpp11digestdplyrfurrrfuturegenericsglobalsgluelifecyclelistenvmagrittroptionsparallellypillarpkgconfigpurrrR6Rcpprlangrsamplesliderstringistringrtibbletidyrtidyselectutf8vctrswarpwithr

Readme and manuals

Help Manual

Help pageTopics
Filter predictions based on score and rankapply_threshold
Compute bootstrap replica of pr aucboot_worker_fn
Coerce id columns to charactercheck_id_vars
Coerce column to charactercheck_id_vars_col
Check for inconsistent relevance valuescheck_repair_relevance_compare
Check for inconsistent relevance valuescheck_repair_relevance_pred
Compute intermediate set retrieval results per groupcompute_intermediate_results compute_intermediate_results_dplyr
Compute intermediate ranked retrieval results per groupcompute_intermediate_results_rr
Compute area under precision-recall curvecompute_pr_auc
Compute area under precision-recall curvecompute_pr_auc_from_curve
Compute precision-recall curvecompute_pr_curve
Compute inverse propensity scorescompute_propensity_scores
Compute ranked retrieval scorescompute_ranked_retrieval_scores
Compute multi-label metricscompute_set_retrieval_scores compute_set_retrieval_scores_dplyr
Join gold standard and predicted resultscreate_comparison
Create a rank columncreate_rank_col create_rank_col_dplyr
Helper function for document-wise computation of ranked retrieval scoresdcg_score
DNB gold standard data for computing evaluation metricsdnb_gold_standard
DNB label distribution for computing propensity scored metricsdnb_label_distribution
DNB test predictions for computing evaluation metricsdnb_test_predictions
Compute the denominator for R-precisionfind_ps_rprec_deno find_ps_rprec_deno_dplyr
Compute bootstrap replica of pr aucgenerate_pr_auc_replica
Compute bootstrapping resultsgenerate_replicate_results generate_replicate_results_dplyr
Calculate bootstrapping results for one samplehelper_f
Calculate bootstrapping results for one samplehelper_f_dplyr
Join propensity scoresjoin_propensity_scores join_propensity_scores_dplyr
Helper function for document-wise computation of ranked retrieval scoreslrap_score
Helper function for document-wise computation of ranked retrieval scoresndcg_score
Declaration of options to be used as identical function argumentsoption_params
casimir Optionsoptions
Postprocessing of pr curve datapr_curve_post_processing
Process cost for false positivesprocess_cost_fp
Rename metricsrename_metrics
Set grouping variablesset_grouping_var
Set flags for propensity scoresset_ps_flags
Compute the mean of intermediate resultssummarise_intermediate_results
Compute the mean of intermediate resultssummarise_intermediate_results_dplyr