R/mode_specific_sure.R
get_c.Rd
This is necessary to calculate the SURE for higher-order spectral estimators.
get_c(X)
X | An array of numerics. The data. |
---|
C_array
An array of numerics. The "C" array from Gerard and
Hoff (2015).
hosvd_x
A list containing the higher-order SVD of X
.
this function only calculates C and the HOSVD so that calculating SURE is faster when doing it over and over again
Gerard, D., & Hoff, P. (2015). Adaptive Higher-order Spectral Estimators. arXiv preprint arXiv:1505.02114.
diverge_given_c
for calculating the divergence of
higher-order spectral estimators using the output of get_c
.
sure_given_c
for calculating the SURE given the output of
get_c
.
sure
for a wrapper for get_c
and
sure_given_c
.
soft_coord
for a coordinate descent algorithm for finding
the optimal sure using the output from get_c
.