dr_ulsif {S4DM} | R Documentation |
Density-ratio SDM estimation with uLSIF
Description
dr_ulsif is an internal function for density-ratio estimation with uLSIF (Kanamori et al. 2009).
Usage
dr_ulsif(
presence_data = NULL,
background_data = NULL,
projection_data = NULL,
sigma = 10^seq(-3, 1, length.out = 9),
lambda = 10^seq(-3, 1, length.out = 9),
kernel_num = 100,
verbose = FALSE,
method,
object = NULL
)
Arguments
presence_data |
dataframe of covariates |
background_data |
dataframe of covariates |
projection_data |
dataframe of covariates |
sigma |
Sigma parameter for uLSIF. Default is the uLSIF default. |
lambda |
Lambda parameter for uLSIF. Default is the uLSIF default. |
kernel_num |
kernel_number for uLSIF. Default is the uLSIF default. |
method |
one of either "fit" or "predict" |
object |
fitted object returned by a dr_... function. Only needed when method = "predict" |
References
Kanamori T, Hido S, Sugiyama M (2009). “A least-squares approach to direct importance estimation.” J. Mach. Learn. Res., 10, 1391–1445. https://www.jmlr.org/papers/volume10/kanamori09a/kanamori09a.pdf.
[Package S4DM version 0.0.1 Index]