class_docstr: This is the multiple segments signal record class that generates the signal prediction.
  This class inherits the ``RecordTemp`` class.
class_docstr_tok: ["This","is","the","multiple","segments","signal","record","class","that","generates","the","signal","prediction",".","This","class","inherits","the","``","RecordTemp","``","class","."]
code: def __init__(self, model, dataset, recorder=None):
      super().__init__(recorder=recorder)
      if not isinstance(dataset, qlib_dataset.DatasetH):
          raise ValueError(
              "The type of dataset is not DatasetH instead of {:}".format(
                  type(dataset)
              )
          )
      self.model = model
      self.dataset = dataset
  
file_path: qlib/qlib/contrib/workflow/record_temp.py
imports: import logging
  import pandas
  import numpy
  from sklearn.metrics import mean_squared_error
  from typing import Dict, Text, Any
  from ...contrib.eva.alpha import calc_ic
  from ...workflow.record_temp import RecordTemp
  from ...workflow.record_temp import SignalRecord
  from ...data import dataset
  from ...log import get_module_logger
label_desc: Use image node_id 1 to create a new MultiSegRecord object from inherited base classes: RecordTemp with example: obj = MultiSegRecord(model, dataset, recorder)