code: def main(readcsv=pd_read_csv):
      # Input file
      data_path = Path(__file__).parent / "data" / "batch"
      infile = data_path / "outlierdetection.csv"
  
      # Retrieve the data from the input file
      data = readcsv(infile, range(3))
  
      # Create an algorithm to detect outliers using the default method
      algorithm = d4p.multivariate_outlier_detection()
  
      # Compute outliers and get the computed results
      res = algorithm.compute(data, None, None, None)
  
      # result provides weights
      assert res.weights.shape == (data.shape[0], 1)
  
      return (data, res)
  
imports: from pathlib import Path
  import numpy
  from readcsv import pd_read_csv
  import daal4py
label_desc: Use image node_id 1 for calling a global function with example usage: main(readcsv) and returns: data,  res