ott.geometry.geodesic.Geodesic.std_cost_matrix#
- property Geodesic.std_cost_matrix: float#
Standard deviation of all values stored in
cost_matrix
.Uses the
apply_square_cost()
to remain applicable to low-rank matrices, through the formula:\[\sigma^2=\frac{1}{nm}\left(\sum_{ij} C_{ij}^2 - (\sum_{ij}C_ij)^2\right).\]to output \(\sigma\).