dr_ulsif | R Documentation |
dr_ulsif is an internal function for density-ratio estimation with uLSIF \insertCiteKanamori2009-pzS4DM.
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
)
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" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.