Package: densityratio 0.2.3

densityratio: Distribution Comparison Through Density Ratio Estimation
Fast, flexible and user-friendly tools for distribution comparison through direct density ratio estimation. The estimated density ratio can be used for covariate shift adjustment, outlier-detection, change-point detection, classification and evaluation of synthetic data quality. The package implements multiple non-parametric estimation techniques (unconstrained least-squares importance fitting, ulsif(), Kullback-Leibler importance estimation procedure, kliep(), spectral density ratio estimation, spectral(), kernel mean matching, kmm(), and least-squares hetero-distributional subspace search, lhss()). with automatic tuning of hyperparameters. Helper functions are available for two-sample testing and visualizing the density ratios. For an overview on density ratio estimation, see Sugiyama et al. (2012) <doi:10.1017/CBO9781139035613> for a general overview, and the help files for references on the specific estimation techniques.
Authors:
densityratio_0.2.3.tar.gz
densityratio_0.2.3.zip(r-4.7-x86_64)densityratio_0.2.3.zip(r-4.7-arm64)densityratio_0.2.3.zip(r-4.6-x86_64)densityratio_0.2.3.zip(r-4.6-arm64)
densityratio_0.2.3.tar.gz(r-4.7-arm64)densityratio_0.2.3.tar.gz(r-4.7-x86_64)densityratio_0.2.3.tar.gz(r-4.6-arm64)densityratio_0.2.3.tar.gz(r-4.6-x86_64)
densityratio_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
densityratio/json (API)
| # Install 'densityratio' in R: |
| install.packages('densityratio', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/thomvolker/densityratio/issues
Pkgdown/docs site:https://thomvolker.github.io
- colon - Colon
- denominator_data - Denominator_data
- denominator_small - Denominator_small
- insurance - Insurance
- kidiq - Kidiq
- numerator_data - Numerator_data
- numerator_small - Numerator_small
Last updated from:1d8aa62003. Checks:8 OK, 2 ERROR. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 200 | ||
| linux-devel-x86_64 | OK | 277 | ||
| source / vignettes | OK | 285 | ||
| linux-release-arm64 | OK | 200 | ||
| linux-release-x86_64 | OK | 241 | ||
| windows-devel-arm64 | ERROR | 325 | ||
| windows-devel-x86_64 | OK | 288 | ||
| windows-release-arm64 | ERROR | 328 | ||
| windows-release-x86_64 | OK | 232 | ||
| wasm-release | OK | 136 |
Exports:kliepkmmlhssnaiveplot_bivariateplot_univariatespectralulsif
Dependencies:clicpp11farverggh4xggplot2gluegtableisobandlabelinglatticelifecycleMatrixosqppbapplyR6RColorBrewerRcppRcppArmadilloRcppProgressrlangS7scalesvctrsviridisLitewithr
Last update: 2026-07-14
Started: 2025-05-19
Last update: 2026-07-14
Started: 2025-05-19
Last update: 2025-05-19
Started: 2025-05-19
