Skip to contents

Fits 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.

Usage

qf_krr_fit(embeddings, y, n_pcs = 8L, reps = 2L, lambda = 0.1)

Arguments

embeddings

Per-observation embedding matrix.

y

Response vector (regression target).

n_pcs, reps, lambda

See qf_embed_reduce() and quantum_krr_fit().

Value

An edaphos_qf_krr object.