def METHOD_NAME(y: np.ndarray, y_pred: np.ndarray) -> float:
    """Computes Jaccard Index which is the Intersection Over Union metric
    which is commonly used in image segmentation tasks.
    DEPRECATED: WILL BE REMOVED IN A FUTURE VERSION OF DEEEPCHEM. USE `jaccard_score` instead.
    Parameters
    ----------
    y: np.ndarray
        ground truth array
    y_pred: np.ndarray
        predicted array
    Returns
    -------
    score: float
        The jaccard index. A number between 0 and 1.
    """
    return jaccard_score(y, y_pred)