Description Usage Arguments Value
Estimate Density Ratio p(x)/q(x) by uLSIF (unconstrained Least-Square Importance Fitting)
1 2 3 |
x1 |
numeric vector or matrix. Data from a numerator distribution p(x). |
x2 |
numeric vector or matrix. Data from a denominator distribution q(x). |
sigma |
positive numeric vector. Search range of Gaussian kernel bandwidth. |
lambda |
positive numeric vector. Search range of regularization parameter. |
kernel_num |
positive integer. Number of kernels. |
verbose |
logical(default TRUE). |
uLSIF object that contains a function to compute estimated density ratio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.