code: def acc_score(model, df, y):
      return accuracy_score(y["test"], model.predict(df["test"]))
  
file_path: nylon/nylon/analysis/analysis.py
imports: from sklearn.metrics import accuracy_score
  from sklearn.metrics import precision_score, recall_score
  from sklearn.metrics import confusion_matrix
  from sklearn.model_selection import cross_val_score
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: acc_score(model, df, y) and returns: accuracy_score