-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDESCRIPTION
50 lines (50 loc) · 2.02 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Package: densityratio
Type: Package
Title: Distribution Comparison Through Density Ratio Estimation
Version: 0.1.1
Authors@R: c(
person("Thom", "Volker", email = "thombenjaminvolker@gmail.com", role = c("aut", "cre", "cph"),
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 functionality to directly estimate the ratio
of two probability distributions from samples from these distributions without
estimating the densities separately. Estimated density ratios can, among other
things, be used for prediction, outlier detection, change-point detection
in time-series, importance weighting under domain adaptation (i.e., sample
selection bias) and evaluation of synthetic data utility. The rationale behind
these use-cases is that differences between two data distributions can be
captured in the ratio their density ratio, which is estimated over the entire
multivariate space of the data.
Computationally intensive code is executed in `C++` using `Rcpp` and
`RcppArmadillo`. The package provides good default hyperparameters that can be
optimized in cross-validation (we do recommend understanding those parameters
before using `densityratio` in practice). Multiple density ratio estimation
methods are implemented, such as unconstrained least-squares importance
fitting (`ulsif()`), Kullback-Leibler importance estimation procedure
(`kliep()`), spectral density ratio estimation (`spectral()`), and least-squares
heterodistributional subspace search (`lhss()`).
License: GPL (>= 3)
Encoding: UTF-8
LazyData: true
Imports:
osqp,
Rcpp,
pbapply,
ggplot2
LinkingTo:
Rcpp,
RcppArmadillo,
RcppProgress
Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Config/testthat/parallel: true
Roxygen: list(markdown = TRUE)
Depends:
R (>= 2.10)
RoxygenNote: 7.2.3
VignetteBuilder: knitr