R/update_selection_step.R
update_selection_step.Rd
Calculates the gradient of the smoothed check-loss for the residuals and selects the column of X which has the highest absolute correlation.
update_selection_step(X, residuals, tau, h = 0.1, kernel = "Gaussian")
(matrix
)
A matrix of covariates.
(numeric()
)
A vector of residuals.
(numeric(1L)
)
A quantile.
(numeric(1L)
)
The bandwith for smoothing.
(character(1L)
)
The kernel for smoothing.
A list with components
sel_cov
The index of the selected covariates.
cor
The corresponding correlation.