Skip to content

Shared regression interface

For training fold 𝒟train and horizon τ, define the context table

𝒞τ(𝒟train) ={(Xi, Z~i(τ)) :iItrain}.

Every backbone receives this same supervised regression problem. Its empirical squared-error representation is

τ,b(f) =1|Itrain| iItrain {Z~i(τ)f(Xi)}2.

This equation defines the common task; it does not claim that every backbone updates task-specific weights. In-context backbones condition on the supplied training table, whereas conventional regressors fit dataset-specific parameters.

For backbone 𝒜b and held-out observation j,

m^τ,b(Xj) =𝒜b{ 𝒞τ(𝒟train),Xj}.

Predicted RMST is larger for longer restricted event-free time. Concordance metrics require the risk orientation

r^τ,b(Xj) =m~τ,b(Xj).

The package exposes these two orientations directly as predict() and predict_risk().