class_docstr: Update the prediction in the Recorder
class_docstr_tok: ["Update","the","prediction","in","the","Recorder"]
code: def get_update_data(self, dataset: Dataset) -> pd.DataFrame:
      # Load model
      model = self.rmdl.get_model()
      new_pred: pd.Series = model.predict(dataset)
      data = _replace_range(self.old_data, new_pred.to_frame("score"))
      self.logger.info(
          f"Finish updating new {new_pred.shape[0]} predictions in {self.record.info['id']}."
      )
      return data
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Optional
  import pandas
  from qlib import get_module_logger
  from qlib.data import D
  from qlib.data.dataset import Dataset, DatasetH, TSDatasetH
  from qlib.data.dataset.handler import DataHandlerLP
  from qlib.model import Model
  from qlib.utils import get_date_by_shift
  from qlib.workflow.recorder import Recorder
  from qlib.workflow.record_temp import SignalRecord
label_desc: Use image node_id 1 for calling the PredUpdater obj's underlying member method code with example usage: obj.get_update_data(dataset) and returns: data