Code

R packages

The R packages listed below can be installed from my R-universe public repository.

Last update: 2023-10-02 01:12:05.120665

scribblr - CRAN status

A Notepad Inside RStudio. A project aware notepad inside RStudio, for taking quick project-related notes without distractions. RStudio addin.

kgrams - CRAN status

Classical k-gram Language Models. Training and evaluating k-gram language models in R, supporting several probability smoothing techniques, perplexity computations, random text generation and more.

fcci - CRAN status

Feldman-Cousins Confidence Intervals. Provides support for building Feldman-Cousins confidence intervals [G. J. Feldman and R. D. Cousins (1998) doi:10.1103/PhysRevD.57.3873].

runi - CRAN status

Client for R-universe APIs. Client for R-universe APIs.

r2r - CRAN status

R-Object to R-Object Hash Maps. Implementation of hash tables (hash sets and hash maps) in R, featuring arbitrary R objects as keys, arbitrary hash and key-comparison functions, and customizable behaviour upon queries of missing keys.

gsample - CRAN status

Efficient Weighted Sampling Without Replacement. Sample without replacement using the Gumbel-Max trick (c.f. ).

sbo - CRAN status

Text Prediction via Stupid Back-Off N-Gram Models. Utilities for training and evaluating text predictors based on Stupid Back-Off N-gram models (Brants et al., 2007, https://www.aclweb.org/anthology/D07-1090/).

Miscellaneous

viterbi

Optimal paths in Hidden Markov Models. C++ implementation of Viterbi’s dynamic programming algorithm for finding optimal paths in the hidden space of hidden Markov models.

dijkstra

Minimum length paths in directed graphs. C++ implementation of Dijkstra’s algorithm for finding minimum length paths in weighted directed graphs.

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/vgherard/vgherard.github.io/, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".