'Fitted values based on linear predictors lin_pred.
Parameters
lin_pred : array
Values of the linear predictor of the model.
dot(X,beta) in a classical linear model.
Returns
mu : array
The mean response variables given by the inverse of the link
function.'

def fitted(self, lin_pred):

    fits = self.link.inverse(lin_pred)
    return fits
