code: def _make_estimator(base_estimator, random_state=None):
      """Make and configure a copy of the `base_estimator` attribute.
  
      Warning: This method should be used to properly instantiate new
      sub-estimators.
      """
      estimator = clone(base_estimator)
      estimator.set_params(**{"random_state": random_state})
      return estimator
  
imports: import numpy
  from joblib import Parallel, delayed
  from sklearn.base import clone
  from sklearn.ensemble._base import _partition_estimators
  from sklearn.tree import DecisionTreeClassifier
  from sklearn.utils.validation import check_random_state
  from sktime.classification.base import BaseClassifier
label_desc: Use image node_id 4 for calling a global function with example usage: _make_estimator(base_estimator, random_state) and returns: estimator