class_docstr: A dict which raises a warning when some keys are looked up
  Note, this does not raise a warning for __contains__ and iteration.
  It also will raise a warning even after the key has been manually set by
  the user.
  
  This implementation was copied from Scikit-Learn.
  
  See License information here:
  https://github.com/scikit-learn/scikit-learn/blob/main/README.rst
class_docstr_tok: ["A","dict","which","raises","a","warning","when","some","keys","are","looked","up","Note",",","this","does","not","raise","a","warning","for","__contains__","and","iteration",".","It","also","will","raise","a","warning","even","after","the","key","has","been","manually","set","by","the","user",".","This","implementation","was","copied","from","Scikit-Learn",".","See","License","information","here",":","https",":","\/\/github.com\/scikit-learn\/scikit-learn\/blob\/main\/README.rst"]
docstr: Return the value corresponding to key, else default.
  
  Parameters
  ----------
  key : any hashable object
      The key
  default : object, optional
      The default returned when key is not in dict
docstr_tok: ["Return","the","value","corresponding","to","key",",","else","default",".","Parameters","--","--","--","--","--","key",":","any","hashable","object","The","key","default",":","object",",","optional","The","default","returned","when","key","is","not","in","dict"]
code: def get(self, key, default=None):
      """Return the value corresponding to key, else default.
  
      Parameters
      ----------
      key : any hashable object
          The key
      default : object, optional
          The default returned when key is not in dict
      """
      # dict does not implement it like this, hence it needs to be overridden
      try:
          return self[key]
      except KeyError:
          return default
  
imports: import copy
  import warnings
  from itertools import compress
  import dask
  import dask.array
  import dask.dataframe
  import numpy
  import packaging.version
  import scipy.sparse
  from dask.base import tokenize
  from dask.delayed import Delayed, delayed
  from sklearn.utils.validation import _is_arraylike, indexable
  from ..utils import _num_samples
label_desc: Use image node_id 3 for calling the DeprecationDict obj's underlying member method code with example usage: obj.get(key, default) and returns: self, default