oadr_cpep.apply module
Phase 3 (site): this site’s own outcome using the federated results.
There is no single global ‘aggregated result’ — each site produces its own site-specific outcome, and the federated coefficient vector (and RF union) are the channel that carries the aggregated information here. For each of Ridge / LASSO / RF this compares the site’s SOLO model (5-fold CV) against the FEDERATED model (the aggregated vector applied as-is; for RF, the average of the union forests), with bootstrap 95% CIs. The graphic is drawn by plot.solo_vs_federated.
- oadr_cpep.apply.apply_coefficients(site, panel='B', *, ridge_vector=None, lasso_vector=None, rf_union=None, tidy=None, aa=None, demo=None, cpeptide=None, arms=None, arm_subjects=None, ridge_alpha=1.0, lasso_alpha=0.008, n_boot=2000, outdir='.', seed=42)[source]
Produce this site’s own outcome (solo vs federated) from explicit federated artifact files (–ridge-vector / –lasso-vector / –rf-union).