code: def copy_learned_attributes(from_estimator, to_estimator):
      attrs = {
          k: v
          for k, v in vars(from_estimator).items()
          if k.endswith("_")
      }
  
      for k, v in attrs.items():
          setattr(to_estimator, k, v)
  
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 for calling a global function with example usage: copy_learned_attributes(from_estimator, to_estimator) without return types