code: def _converged(self, X):
          
  
          if len(self.responsibilities) < 2:
              return False
  
          diff = np.linalg.norm(self.responsibilities[-1] - self.responsibilities[-2])
          return diff <= self.tolerance
docs: Covergence if || likehood - last_likelihood || < tolerance