Skip to content

Commit

Permalink
for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxo-m committed Jun 30, 2019
1 parent 68ab4b3 commit 6bb4109
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -4,7 +4,7 @@ Version: 0.2.0
Title: Density Ratio Estimation
Description: Density ratio estimation.
The estimated density ratio function can be used in many applications such as
anomaly detection, changepoint detection, covariate shift adaptation, and etc.
anomaly detection, change-point detection, covariate shift adaptation.
The implemented methods are uLSIF (Hido et al. (2011) <doi:10.1007/s10115-010-0283-2>),
RuLSIF (Yamada et al. (2011) <doi:10.1162/NECO_a_00442>),
and KLIEP (Sugiyama et al. (2007) <doi:10.1007/s10463-008-0197-x>).
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Expand Up @@ -34,7 +34,7 @@ library(mvtnorm)

**Density ratio estimation** is described as follows: for given two data samples `x1` and `x2` from unknown distributions `p(x)` and `q(x)` respectively, estimate `w(x) = p(x) / q(x)`, where `x1` and `x2` are d-dimensional real numbers.

The estimated density ratio function `w(x)` can be used in many applications such as **anomaly detection** [Hido et al. 2011], **changepoint detection** [Liu et al. 2013], and **covariate shift adaptation** [Sugiyama et al. 2007].
The estimated density ratio function `w(x)` can be used in many applications such as **anomaly detection** [Hido et al. 2011], **change-point detection** [Liu et al. 2013], and **covariate shift adaptation** [Sugiyama et al. 2007].
Other useful applications about density ratio estimation were summarized by [Sugiyama et al. 2012].

The package **densratio** provides a function `densratio()` that returns an object with a method to estimate density ratio as `compute_density_ratio()`.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -27,7 +27,7 @@ d-dimensional real numbers.

The estimated density ratio function `w(x)` can be used in many
applications such as **anomaly detection** \[Hido et al. 2011\],
**changepoint detection** \[Liu et al. 2013\], and **covariate shift
**change-point detection** \[Liu et al. 2013\], and **covariate shift
adaptation** \[Sugiyama et al. 2007\]. Other useful applications about
density ratio estimation were summarized by \[Sugiyama et al. 2012\].

Expand Down Expand Up @@ -173,7 +173,7 @@ is the Gaussian (RBF) kernel.
#> Kernel Information:
#> Kernel type: Gaussian
#> Number of kernels: 100
#> Bandwidth(sigma): 0.1
#> Bandwidth (sigma): 0.1
#> Centers: num [1:100, 1] 0.907 1.093 1.18 1.136 1.046 ...
#>
#> Kernel Weights:
Expand Down

0 comments on commit 6bb4109

Please sign in to comment.