class_docstr: Basic implementation of nearest neighbors not relying on scikit-learn.
  
  `kneighbors_graph` is ignored and `metric` does not have any impact.
docstr: This method is not used within imblearn but it is required for
  duck-typing.
docstr_tok: ["This","method","is","not","used","within","imblearn","but","it","is","required","for","duck-typing","."]
code: def kneighbors_graph(X=None, n_neighbors=None, mode="connectivity"):
      """This method is not used within imblearn but it is required for
      duck-typing."""
      pass
  
imports: import inspect
  import pkgutil
  from importlib import import_module
  from operator import itemgetter
  from pathlib import Path
  import numpy
  from scipy import sparse
  from sklearn.base import BaseEstimator
  from sklearn.neighbors import KDTree
  from sklearn.utils._testing import ignore_warnings
label_desc: Use image node_id 4 for calling the _CustomNearestNeighbors obj's underlying member method code with example usage: obj.kneighbors_graph(X, n_neighbors, mode) without return types