code: def on_iteration_end(self, logs, predictions):
      # iters are computed starting from 0
      if logs.get("iter_cnt") + 1 >= self.max_iters:
          self.learner.stop_training = True
  
imports: import numpy
  import pandas
  from supervised.callbacks.callback import Callback
label_desc: Use image node_id 3 for calling the MaxItersConstraint obj's underlying member method code with example usage: obj.on_iteration_end(logs, predictions) without return types