Classification specification helper
Arguments
- targets
Target specification accepted by [dkge_classify()].
- method
Classifier backend ("lda" or "logit").
- folds
Optional fold specification.
- lambda
Optional ridge parameter.
- metric
Classification metrics to report.
- mode
Decoding mode passed to [dkge_classify()]: "auto" selects automatically, "cell" uses per-cell embeddings, "cell_cross" uses cross-validated per-cell embeddings, and "delta" uses pairwise deltas.
- ...
Additional fields stored on the spec (e.g., `n_perm`, `scope`).