MCPcopy
hub / github.com/microsoft/qlib / start

Method start

qlib/workflow/exp.py:44–61  ·  view source on GitHub ↗

Start the experiment and set it to be active. This method will also start a new recorder. Parameters ---------- recorder_id : str the id of the recorder to be created. recorder_name : str the name of the recorder to be created

(self, *, recorder_id=None, recorder_name=None, resume=False)

Source from the content-addressed store, hash-verified

42 return output
43
44 def start(self, *, recorder_id=None, recorder_name=None, resume=False):
45 """
46 Start the experiment and set it to be active. This method will also start a new recorder.
47
48 Parameters
49 ----------
50 recorder_id : str
51 the id of the recorder to be created.
52 recorder_name : str
53 the name of the recorder to be created.
54 resume : bool
55 whether to resume the first recorder
56
57 Returns
58 -------
59 An active recorder.
60 """
61 raise NotImplementedError(f"Please implement the `start` method.")
62
63 def end(self, recorder_status=Recorder.STATUS_S):
64 """

Callers 15

train_multisegFunction · 0.45
train_mseFunction · 0.45
trainFunction · 0.45
fake_experimentFunction · 0.45
test_get_local_dirMethod · 0.45
_train_modelMethod · 0.45
backtestMethod · 0.45
backtest_only_dailyMethod · 0.45

Calls

no outgoing calls

Tested by 8

train_multisegFunction · 0.36
train_mseFunction · 0.36
trainFunction · 0.36
fake_experimentFunction · 0.36
test_get_local_dirMethod · 0.36