class_docstr: A model selector for regression.
  
  Parameters
  ----------
  models
  metric
class_docstr_tok: ["A","model","selector","for","regression",".","Parameters","--","--","--","--","--","models","metric"]
code: def predict_one(self, x):
      if self.best_model is None:
          return self.models[0].predict_one(x)
      return self.best_model.predict_one(x)
  
file_path: river/river/model_selection/base.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from collections.abc import Iterator
  from river import base, metrics
label_desc: Use image node_id 1 for calling the ModelSelectionRegressor obj's underlying member method code with example usage: obj.predict_one(x) and returns: self, self