deconvatac.tl.metrics#
Functions#
Module Contents#
- deconvatac.tl.metrics.rmse(true: pandas.DataFrame | numpy.ndarray, predicted: pandas.DataFrame | numpy.ndarray) float#
Compute RMSE on true and predicted cell type proportions.
Parameters#
- true
True cell type proportions.
- predicted
Predicted cell type proportions.
Returns#
Root mean squared error.
- deconvatac.tl.metrics.jsd(true: pandas.DataFrame | numpy.ndarray, predicted: pandas.DataFrame | numpy.ndarray) float#
Compute Jensen-Shannon divergence on true and predicted cell type proportions.
Parameters#
- true
True cell type proportions.
- predicted
Predicted cell type proportions.
Returns#
Jensen-Shannon divergence.