'Set the intercept_'

def _set_intercept(self, X_offset, y_offset, X_scale):

    if self.fit_intercept:
        self.coef_ = (self.coef_ / X_scale)
        self.intercept_ = (y_offset - np.dot(X_offset, self.coef_.T))
    else:
        self.intercept_ = 0.0
