code: def _pred_func(self, model):
      ...
  
imports: from __future__ import annotations
  import abc
  import math
  from river import metrics
  from river.model_selection.base import ModelSelectionClassifier, ModelSelectionRegressor
label_desc: Use image node_id 2 for calling the SuccessiveHalving obj's underlying member method code with example usage: obj._pred_func(model) without return types