def conformity(self, y, y_pred):
    if (self.conform is None):
        return np.abs((y - y_pred))
    else:
        return self.conform(y, y_pred)
def conformity(self, y, y_pred):
    if (self.conform is None):
        return np.abs((y - y_pred))
    else:
        return self.conform(y, y_pred)