climpred.classes.PerfectModelEnsemble.compute_metric¶
-
PerfectModelEnsemble.
compute_metric
(metric='pearson_r', comparison='m2m')[source]¶ Compares the initialized ensemble to the control run.
Parameters: - metric (str, default 'pearson_r') – Metric to apply in the comparison.
- comparison (str, default 'm2m') – How to compare the climate prediction ensemble to the control.
Returns: Result of the comparison as a Dataset.