def METHOD_NAME(self, X, y=None):
    """Compute ClaSP.
    Takes as input a single time series dataset and returns the
    Classification Score profile for that single time series.
    Parameters
    ----------
    X : 2D numpy.ndarray
       A single pandas series or a 1d numpy array
    y : ignored argument for interface compatibility
        Additional data, e.g., labels for transformation
    Returns
    -------
    Xt : 1D numpy.ndarray
        transformed version of X
        ClaSP of the single time series as output
        with length as (n-window_length+1)
    """
    from sktime.transformations.series._clasp_numba import clasp
    scoring_metric_call = self._check_scoring_metric(self.scoring_metric)
    X = X.flatten()
    Xt, _ = clasp(
        X,
        self.window_length,
        score=scoring_metric_call,
        exclusion_radius=self.exclusion_radius,
    )
    return Xt