Estimate Density Ratio p(x)/q(x) by KLIEP (Kullback-Leibler Importance Estimation Procedure)
KLIEP(x1, x2, sigma = "auto", kernel_num = 100, fold = 5,
verbose = TRUE)
numeric vector or matrix. Data from a numerator distribution p(x).
numeric vector or matrix. Data from a denominator distribution q(x).
positive numeric vector. Search range of Gaussian kernel bandwidth.
positive integer. Number of kernels.
positive integer. Number of the folds of cross validation.
logical (default TRUE).
KLIEP object that contains a function to compute estimated density ratio.