cellflow.metrics.compute_metrics

cellflow.metrics.compute_metrics(x, y)[source]

Compute a set of metrics between two distributions x and y.

Parameters:
Return type:

dict[str, float]

Returns:

: A dictionary containing the following computed metrics:

  • the r squared score.

  • the sinkhorn divergence with epsilon = 1.0.

  • the sinkhorn divergence with epsilon = 10.0.

  • the sinkhorn divergence with epsilon = 100.0.

  • the energy distance value.

  • the mean maximum discrepancy loss