code: def _predict(X, estimator, intervals):
      Xt = _transform(X, intervals)
      return estimator.predict(Xt)
  
file_path: sktime/sktime/regression/interval_based/_tsf.py
imports: import numpy
  from joblib import Parallel, delayed
  from sklearn.ensemble._forest import ForestRegressor
  from sklearn.tree import DecisionTreeRegressor
  from sktime.regression.base import BaseRegressor
  from sktime.series_as_features.base.estimators.interval_based._tsf import BaseTimeSeriesForest, _transform
label_desc: Use image node_id 1 for calling a global function with example usage: _predict(X, estimator, intervals) and returns: estimator