code: def title(y_pred, y_test, target_names, i):
      pred_name = target_names[y_pred[i]].rsplit(" ", 1)[-1]
      true_name = target_names[y_test[i]].rsplit(" ", 1)[-1]
      return "predicted: %s\ntrue:      %s" % (pred_name, true_name)
  
file_path: scikit-learn/examples/applications/plot_face_recognition.py
imports: from time import time
  import matplotlib.pyplot
  from scipy.stats import loguniform
  from sklearn.datasets import fetch_lfw_people
  from sklearn.decomposition import PCA
  from sklearn.metrics import ConfusionMatrixDisplay, classification_report
  from sklearn.model_selection import RandomizedSearchCV, train_test_split
  from sklearn.preprocessing import StandardScaler
  from sklearn.svm import SVC
label_desc: Use image node_id 2 for calling a global function with example usage: title(y_pred, y_test, target_names, i) and returns: unknown