1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 04:20:57 +08:00

Adjust interface

This commit is contained in:
Young
2020-11-21 08:54:11 +00:00
parent 5107d46568
commit f476ada22d
4 changed files with 106 additions and 40 deletions

View File

@@ -96,7 +96,7 @@ class DatasetH(Dataset):
}
"""
self._handler = init_instance_by_config(handler, accept_types=DataHandler)
self._segments = segments
self._segments = segments.copy()
def prepare(
self, segments: Union[List[str], Tuple[str], str, slice], col_set=DataHandler.CS_ALL, **kwargs