code: def make_params(niters, lrate, reg, range):
      if range is None:
          rmin = -np.inf
          rmax = np.inf
      else:
          rmin, rmax = range
  
      return _Params(niters, lrate, reg, rmin, rmax)
  
imports: import logging
  import time
  import pandas
  import numpy
  import numba
  from seedbank import numpy_rng
  from .bias import Bias
  from .mf_common import MFPredictor
  from ..None import util
label_desc: Use image node_id 2 for calling a global function with example usage: make_params(niters, lrate, reg, range) and returns: _Params