def transformer(self):
    return inv(cholesky(self.metric()))
Computes the transformation matrix from the Mahalanobis matrix.
dataset/ETHPy150Open all-umass/metric-learn/metric_learn/base_metric.py/BaseMetricLearner.transformer