1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-11 23:06:58 +08:00

Add reset_default_uri func for R and expm

This commit is contained in:
D-X-Y
2021-03-06 05:33:08 -08:00
parent 49697b1f15
commit 91fd53ab4d
3 changed files with 18 additions and 2 deletions

View File

@@ -33,6 +33,10 @@ class ExpManager:
name=self.__class__.__name__, duri=self._default_uri, curi=self._current_uri
)
def reset_default_uri(self, uri: Text):
self._default_uri = uri
self.set_uri(None)
def start_exp(
self,
experiment_name: Optional[Text] = None,