code: def model_fn(model_dir):
      clf = joblib.load(os.path.join(model_dir, "model.joblib"))
      return clf
  
imports: from __future__ import print_function, absolute_import
  import argparse
  import numpy
  import os
  import joblib
  from sklearn import svm
label_desc: Use image node_id 2 for calling a global function with example usage: model_fn(model_dir) and returns: clf