code: def mock_model():
      """Return a mocked regressor which just predict iterated integers"""
  
      class Model:
          """Mocked Regressor"""
  
          def __init__(self):
              self.i = 0
  
          def predict(self, data):
              """Returns counting of predictions requested."""
              data = numpy.arange(data.shape[0]) + self.i
              self.i += data.shape[0]
              return data  # + numpy.random.normal(0, self.i, size=data.shape[0])
  
      return Model()
  
imports: import copy
  import numpy
  import pandas
  import pytest
  from orion.analysis.partial_dependency_utils import make_grid, partial_dependency, partial_dependency_grid, reverse
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils import format_trials
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 4 for calling a global function with example usage: mock_model() and returns: Model, data