- Fix
KLIEP()so thatcompute_density_ratio()evaluates density ratios for the input data passed to the function, rather than reusing the training data (#13).
- Implement RuLSIF [Yamada et al. 2011] to estimate relative density ratio.
- Modify Euclidean distance to square Euclidean distance in the function that computes Gaussian kernel (#6, @ya103). It affects all algorithms in the packages.