Description Usage Arguments Value
Estimate alpha-Relative Density Ratio p(x)/(alpha p(x) + (1-alpha) q(x)) by RuLSIF (Relative 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. |
alpha |
numeric value from 0.0 to 1.0. Relative parameter. Default 0.1. |
kernel_num |
positive integer. Number of kernels. |
verbose |
logical. Default TRUE. |
RuLSIF object which has 'compute_density_ratio()'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.