code: def results_generator(model_iterable):
      """
      Generator for results from an iterator that returns
      (index, data, model) tuples.
  
      See model_generator.
      """
      for i, d, m in model_iterable:
          yield i, m.fit(d)
  
imports: import copy
  from os import path
  import numpy
  import numpy.linalg
  from nipy.algorithms.statistics.formula import make_recarray
  from nipy.algorithms.statistics.models.regression import ARModel, OLSModel, ar_bias_correct, ar_bias_corrector
  from nipy.core.api import AffineTransform, Image, matrix_generator, parcels
  from nipy.io.api import save_image
  from ..api import FmriImageList, axis0_generator
  from .None import outputters
label_desc: Use image node_id 2 for calling a global function with example usage: results_generator(model_iterable) without return types