Estimate Density Ratio p_nu(x)/p_de(y) by uLSIF (unconstrained Least-Square Importance Fitting)

1 2 |

`x` |
numeric vector or matrix as data from a numerator distribution p_nu(x). |

`y` |
numeric vector or matrix as data from a denominator distribution p_de(y). |

`sigma` |
positive numeric vector as a search range of Gaussian kernel bandwidth. |

`lambda` |
positive numeric vector as a search range of regularization parameter. |

`kernel_num` |
positive integer as number of kernels. |

`verbose` |
logical(default TRUE). |

uLSIF object that contains the function to estimate density ratio.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.