correlation_residual#
- ctis.inverters.merit.correlation_residual(observed, expected, axis=None)[source]#
Compute Pearson’s correlation coefficient between the expected values and the residual.
- Parameters:
observed (ScalarArray) – The measured values.
expected (ScalarArray) – The values predicted by the model.
axis (None | str | Sequence[str]) – The logical axis or axes over which to average the result.
- Return type: