def transform_Y(self, Y):
    return (((Y - self.min).astype('float') / (self.max - self.min)) - self.offset)
def transform_Y(self, Y):
    return (((Y - self.min).astype('float') / (self.max - self.min)) - self.offset)