- df_numerator
data.frame
with exclusively numeric variables with
the numerator samples
- df_denominator
data.frame
with exclusively numeric variables
with the denominator samples (must have the same variables as
df_denominator
)
- scale
"numerator"
, "denominator"
, or NULL
,
indicating whether to standardize each numeric variable according to the
numerator means and standard deviations, the denominator means and standard
deviations, or apply no standardization at all.
- constrained
logical
equals FALSE
to use unconstrained
optimization, TRUE
to use constrained optimization. Defaults to
FALSE
.
- nsigma
Integer indicating the number of sigma values (bandwidth
parameter of the Gaussian kernel gram matrix) to use in cross-validation.
- sigma_quantile
NULL
or numeric vector with probabilities to
calculate the quantiles of the distance matrix to obtain sigma values. If
NULL
, nsigma
values between 0.25
and 0.75
are
used.
- sigma
NULL
or a scalar value to determine the bandwidth of the
Gaussian kernel gram matrix. If NULL
, nsigma
values between
0.25
and 0.75
are used.
- ncenters
Maximum number of Gaussian centers in the kernel gram
matrix. Defaults to all numerator samples.
- centers
Option to specify the Gaussian samples manually.
- cv
Logical indicating whether or not to do cross-validation
- nfold
Number of cross-validation folds used in order to calculate the
optimal sigma
value (default is 5-fold cv).
- parallel
logical indicating whether to use parallel processing in the
cross-validation scheme.
- nthreads
NULL
or integer indicating the number of threads to
use for parallel processing. If parallel processing is enabled, it defaults
to the number of available threads minus one.
- progressbar
Logical indicating whether or not to display a progressbar.
- osqp_settings
Optional: settings to pass to the osqp
solver for
constrained optimization.
- cluster
Optional: a cluster object to use for parallel processing,
see parallel::makeCluster
.