Expand description
Numerical primitives shared across the behavioral-fidelity metrics.
Functionsยง
- days_
between - Days between two dates, can be negative.
- is_
weekend trueif the date falls on Sat or Sun.- pearson_
lag1_ correlation - Lag-1 Pearson correlation between consecutive elements of
xs. - percentile
- Empirical percentile of an unsorted slice (clones + sorts).
- wasserstein_
1 - Wasserstein-1 distance between two empirical 1-D samples.