(self, observations: np.ndarray)
return self.skl_model.mahalanobis(observations)[:, None]
Computes squared Mahalanobis distances of given observations.

        Parameters
        ----------
        observations : ndarray (n_samples, n_features)

        Returns
        -------
        distances : ndarray (n_samples, 1)
            Squared Mahalanobis distances given observations.
Computes squared Mahalanobis distances of given observations.
Computes squared Mahalanobis distances of given observations .
def mahalanobis(self, observations: np.ndarray) -> np.ndarray:
        """Computes squared Mahalanobis distances of given observations.

        Parameters
        ----------
        observations : ndarray (n_samples, n_features)

        Returns
        -------
        distances : ndarray (n_samples, 1)
            Squared Mahalanobis distances given observations.
        """
        return self.skl_model.mahalanobis(observations)[:, None]
def mahalanobis ( self , observations : np . ndarray ) -> np . ndarray : return self . skl_model . mahalanobis ( observations ) [ : , None ]