code: def load_snelson_data():
      curdir = Path(__file__).parent.resolve()
      train_inputs = "snelson_train_inputs.dat"
      train_outputs = "snelson_train_outputs.dat"
      datapath = lambda name: str(Path(curdir, "data", name).resolve())
      xfile = datapath(train_inputs)
      yfile = datapath(train_outputs)
      x = np.loadtxt(xfile).reshape(-1, 1)
      y = np.loadtxt(yfile).reshape(-1, 1)
      return (x, y)
  
label_desc: Use image node_id 1 for calling a global function with example usage: load_snelson_data() and returns: x,  y