'Computes squared Mahalanobis distances of given observations.
Parameters
observations : ndarray (n_samples, n_features) or Orange Table
Returns
distances : ndarray (n_samples,)
Squared Mahalanobis distances given observations.'

def mahalanobis(self, observations):

    if isinstance(observations, Table):
        observations = observations.X
    return self.skl_model.mahalanobis(observations)
