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

Method register

qlib/workflow/__init__.py:661–668  ·  view source on GitHub ↗
(self, provider)

Source from the content-addressed store, hash-verified

659 """
660
661 def register(self, provider):
662 if self._provider is not None:
663 expm = getattr(self._provider, "exp_manager")
664 if expm.active_experiment is not None:
665 raise RecorderInitializationError(
666 "Please don't reinitialize Qlib if QlibRecorder is already activated. Otherwise, the experiment stored location will be modified."
667 )
668 self._provider = provider
669
670
671import sys

Callers 1

experiment_exit_handlerFunction · 0.45

Calls 1

Tested by

no test coverage detected