jasmine.metrics.accuracy_score

jasmine.metrics.accuracy_score(y_true, y_pred)[source]

Compute the accuracy score between true and predicted values.

Parameters:
  • y_true (jnp.ndarray) – True target values.

  • y_pred (jnp.ndarray) – Predicted target values.

Returns:

Computed accuracy score.

Return type:

float