Package: densityratio
Type: Package
Title: Distribution Comparison Through Density Ratio Estimation
Version: 0.2.2
Authors@R: c(
    person("Thom", "Volker", 
    email = "thombenjaminvolker@gmail.com", 
    role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-2408-7820")),
    person("Carlos", "Gonzalez Poses", role = "ctb"), 
    person("Erik-Jan", "van Kesteren", role = "ctb"))
Description: 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.
License: GPL (>= 3)
Encoding: UTF-8
LazyData: true
Imports: osqp, Rcpp, pbapply, ggplot2, ggh4x
LinkingTo: Rcpp, RcppArmadillo, RcppProgress
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
Config/testthat/edition: 3
Config/testthat/parallel: true
Depends: R (>= 2.10)
RoxygenNote: 7.3.2
VignetteBuilder: knitr
URL: https://thomvolker.github.io/densityratio/,
        https://github.com/thomvolker/densityratio
BugReports: https://github.com/thomvolker/densityratio/issues
NeedsCompilation: yes
Packaged: 2025-07-18 16:10:22 UTC; 5868777
Author: Thom Volker [aut, cre] (ORCID: <https://orcid.org/0000-0002-2408-7820>),
  Carlos Gonzalez Poses [ctb],
  Erik-Jan van Kesteren [ctb]
Maintainer: Thom Volker <thombenjaminvolker@gmail.com>
Repository: CRAN
Date/Publication: 2025-07-18 16:40:02 UTC
Built: R 4.5.1; powerpc-apple-darwin10.8.0; 2025-07-21 19:50:13 UTC; unix
