(py: Python<'_>, parent: &Bound<'_, PyModule>)
| 49 | /// `"M"`/`"month"`/`"monthly"` every 21st (case-insensitive); anything else, or None, |
| 50 | /// keeps every row. |
| 51 | /// calculate_expected_returns : str, default "mean" |
| 52 | /// How expected returns are estimated from the returns for `"sharpe_ratio"`: `"mean"` or |
| 53 | /// `"exponential"` (exponentially weighted, span 500); case-insensitive. |
| 54 | /// distance : str | None, default None |
| 55 | /// Distance the tree is built on (case-insensitive): `"correlation"` (the default when |
| 56 | /// None; cluster on `d` itself, Mantegna's correlation distance, as Raffinot and |
| 57 | /// mlfinlab do) or `"distance_of_distances"` (the Euclidean distance between columns |
| 58 | /// of `d`, as AFML Snippet 16.4 and the HRP default compute). |
| 59 | /// linkage : str | None, default None |
| 60 | /// How the distance between clusters is measured when the tree is built |
nothing calls this directly
no outgoing calls
no test coverage detected