gilbert_skill_score#
- rojak.turbulence.metrics.gilbert_skill_score(truth: Array | None = None, prediction: Array | None = None, confuse_matrix: NDArray | None = None) float[source]#
Compute the Gilbt Skill Score
- Parameters:
- Return type:
Returns:
Examples
>>> y_true = da.asarray([0, 1, 1, 1]) >>> y_pred = da.asarray([1, 1, 1, 0]) >>> gilbert_skill_score(truth=y_true, prediction=y_pred) -0.1429