correlation
correlation
¶
Classes:
| Name | Description |
|---|---|
Correlation |
Column Correlation Stability metric. |
Correlation
pydantic-model
¶
Bases: Component
Column Correlation Stability metric.
Computes per-column-pair correlations (Pearson, Theil's U, Correlation Ratio) for both training and synthetic dataframes, then scores the mean absolute difference.
Config:
arbitrary_types_allowed:True
Fields:
-
score(EvaluationScore) -
name(str) -
training_correlation(DataFrame | None) -
synthetic_correlation(DataFrame | None) -
correlation_difference(DataFrame | None)
training_correlation = None
pydantic-field
¶
Correlation matrix for the training data.
synthetic_correlation = None
pydantic-field
¶
Correlation matrix for the synthetic data.
correlation_difference = None
pydantic-field
¶
Element-wise absolute difference of the two matrices.
jinja_context
cached
property
¶
Template context with combined correlation heatmap figure.
from_evaluation_datasets(evaluation_datasets, config=None)
staticmethod
¶
Compute correlation matrices and the correlation stability score.