code: def __init__(self, value=0, sleep=0, **kwargs):
      self.value = value
      self._partial_fit_called = False
      self.sleep = sleep
      super(ConstantFunction, self).__init__(**kwargs)
  
file_path: dask-ml/dask_ml/_utils.py
imports: import time
  import dask.array
  import numpy
  from sklearn.base import BaseEstimator
label_desc: Use image node_id 1 to create a new ConstantFunction object from inherited base classes: BaseEstimator with example: obj = ConstantFunction(value, sleep)