score_one_coord_csmooth.RdConvenience wrapper used in greedy partitioning. Returns both the scalar score and a
1D fitted object (one) that can be appended to csmooth-style parameters.
score_one_coord_csmooth(
X,
j,
Gamma,
Q_K,
rw_q = 2,
score_mode = c("ml", "none"),
relative_lambda = TRUE,
lambda_min = 1e-10,
lambda_max = 1e+10
)Numeric matrix (n x d).
Integer coordinate index in 1:d.
Numeric matrix (n x K) of responsibilities.
Numeric matrix (K x K) base RW precision (lambda=1).
Integer \(\ge 0\). Rank deficiency along K.
One of "ml" or "none".
Logical.
Bounds for lambda optimization (used when score_mode="ml").
A list with:
score: scalar score for coordinate j.
one: list with mu_vec (length K) and sigma2 (scalar).