code: def __batch_eval(job):
      from lenskit import batch
  
      algo, train, test = job
      _log.info("running training")
      algo.fit(train)
      _log.info("testing %d users", test.user.nunique())
      return batch.predict(algo, test)
  
imports: from lenskit.algorithms import Recommender
  import lenskit.algorithms.user_knn
  from lenskit.util import clone
  from pathlib import Path
  import logging
  import pickle
  import pandas
  import numpy
  from scipy.sparse import linalg
  from pytest import approx, mark
  import lenskit.util.test
label_desc: Use image node_id 16 for calling a global function with example usage: __batch_eval(job) and returns: batch