1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-12 07:16:54 +08:00

Update repr for DatasetH and ExpManager

This commit is contained in:
D-X-Y
2021-03-03 06:47:52 +00:00
parent d1d70616a3
commit a9a70dfddf
4 changed files with 24 additions and 8 deletions

View File

@@ -25,6 +25,9 @@ class ExpManager:
self.default_exp_name = default_exp_name
self.active_experiment = None # only one experiment can active each time
def __repr__(self):
return "{name}(uri={uri})".format(name=self.__class__.__name__, uri=self.uri)
def start_exp(self, experiment_name=None, recorder_name=None, uri=None, **kwargs):
"""
Start an experiment. This method includes first get_or_create an experiment, and then