
Ridge regression closed form, the grid-search default estimator (hmgrs)
Source:R/geron_w4a_native.R
morie_ridge_estimator.RdRidge regression closed form, the grid-search default estimator (hmgrs)
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_ridge_estimator(V, V)
#> function (X_new)
#> as.numeric(.morie_gr_mat(X_new, "X_new") %*% th)
#> <environment: 0x5621d016b9e8>