Estimate Density Ratio p_nu(x)/p_de(y)

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). |

`method` |
"uLSIF"(default) or "KLIEP". |

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

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

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

`fold` |
positive integer as a numer of the folds of cross validation for KLIEP. |

`verbose` |
logical(default TRUE). |

densratio object that contains the function to estimate density ratio.

1 2 3 4 |

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.