Ambric.assemble_loadings_data()
Assemble estimated loadings from the model posterior.
Usage
Ambric.assemble_loadings_data()Separates data assembly from plotting so the returned frame can be inspected, exported, or passed to the companion plot methods. The frame contains one row per (region, loading) combination with the posterior mean and 94 % HDI bounds. Loadings are scaled by the standard deviation of their corresponding input variable so that the three signal types are on a comparable contribution scale.
Raises
ValueError-
If the model has not been fitted yet.
Returns
pd.DataFrame-
pd.DataFrame: Long-format loadings frame; see
~ambric.diagnostics.assemble_loadings_data()for column details.