
Quantum Kernel Ridge Regression on foundation embeddings
Source:R/quantum_foundation.R
qf_krr_fit.RdFits quantum_krr_fit() on the top-n PCs of foundation-model
embeddings (rescaled to [-pi, pi]). Returns an object that
wraps both the PCA reduction and the quantum KRR fit so predict()
handles the full forward pipeline.
Arguments
- embeddings
Per-observation embedding matrix.
- y
Response vector (regression target).
- n_pcs, reps, lambda
See
qf_embed_reduce()andquantum_krr_fit().