Usage
rde_tcm(K, y, est_y = FALSE,
alldim = FALSE,
est_noise = FALSE,
regression = FALSE,
nmse = TRUE,
dim_rest = 0.5)
Arguments
K
kernel matrix of the inputs (e.g. rbf kernel matrix)
y
label vector which contains the label for each data point
est_y
set this to TRUE if you want a denoised version of the labels
alldim
if this is TRUE denoised labels for all dimensions are calculated (instead of only for relevant dimension)
est_noise
set this to TRUE if you want an estimated noise level
regression
only interesting if one of est_y
, alldim
, est_noise
is TRUE. Set this
to TRUE if you want to force the function to handle the data as data for
a regression problem. If you leave this FALSE, the function will try to determine
itself whether this is a classification or regression problem.
nmse
only interesting if est_noise
is TRUE and the function is handling the data as data
of a regression problem. If you leave this TRUE, the normalized mean squared error is used
for estimating the noise level, otherwise the conventional mean squared error.
dim_rest
percantage of leading dimensions to which the search for the relevant dimensions should be
restricted. This is needed due to numerical instabilities. 0.5 should be a good choice
in most cases (and is also the default value)