code: def nearest_neighbors(X, k=5):
      knn = NearestNeighbors(n_neighbors=k)
      knn.fit(X)
      return knn.kneighbors(X, return_distance=False)
  
file_path: metric-learn/examples/plot_sandwich.py
imports: import numpy
  from matplotlib import pyplot
  from sklearn.metrics import pairwise_distances
  from sklearn.neighbors import NearestNeighbors
  from metric_learn import LMNN, ITML_Supervised, LSML_Supervised, SDML_Supervised
label_desc: Use image node_id 3 for calling a global function with example usage: nearest_neighbors(X, k) and returns: knn