Package: densityratio 0.2.2.9000

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.2.9000.tar.gz
densityratio_0.2.2.9000.zip(r-4.7)densityratio_0.2.2.9000.zip(r-4.6)densityratio_0.2.2.9000.zip(r-4.5)
densityratio_0.2.2.9000.tgz(r-4.6-x86_64)densityratio_0.2.2.9000.tgz(r-4.6-arm64)densityratio_0.2.2.9000.tgz(r-4.5-x86_64)densityratio_0.2.2.9000.tgz(r-4.5-arm64)
densityratio_0.2.2.9000.tar.gz(r-4.7-arm64)densityratio_0.2.2.9000.tar.gz(r-4.7-x86_64)densityratio_0.2.2.9000.tar.gz(r-4.6-arm64)densityratio_0.2.2.9000.tar.gz(r-4.6-x86_64)
densityratio_0.2.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
densityratio/json (API)
NEWS
| # Install 'densityratio' in R: |
| install.packages('densityratio', repos = c('https://thomvolker.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:9f18395d2b. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 288 | ||
| linux-devel-x86_64 | OK | 460 | ||
| source / vignettes | OK | 257 | ||
| linux-release-arm64 | OK | 279 | ||
| linux-release-x86_64 | OK | 498 | ||
| macos-release-arm64 | OK | 219 | ||
| macos-release-x86_64 | OK | 546 | ||
| macos-oldrel-arm64 | OK | 283 | ||
| macos-oldrel-x86_64 | OK | 414 | ||
| windows-devel | OK | 337 | ||
| windows-release | OK | 276 | ||
| windows-oldrel | OK | 295 | ||
| wasm-release | OK | 164 |
Exports:kliepkmmlhssnaiveplot_bivariateplot_univariatespectralulsif
Dependencies:clicpp11farverggh4xggplot2gluegtableisobandlabelinglatticelifecycleMatrixosqppbapplyR6RColorBrewerRcppRcppArmadilloRcppProgressrlangS7scalesvctrsviridisLitewithr
Covariate shift adjustment
Rendered fromcovariate-shift.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-07-16
Started: 2025-04-17
densityratio
Rendered fromdensityratio.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-07-16
Started: 2025-04-17
High dimensional two-sample testing
Rendered fromhigh-dim-testing.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-04-30
Started: 2025-04-30
