I'm not sure if I'm answering the right question but `tol` checks convergence for `sgd`. When the difference between the loss of two consecutive runs is below `tol`, the algorithm exits. This occurs even if the algorithm does not reach the maximum number of iterations `n_iter`. (maybe this answers the question)  =)  =)

SGD checks this using this conditional `abs(cost - prev_cost) < self.tol`