mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 16:56:54 +08:00
hats5
This commit is contained in:
@@ -32,7 +32,11 @@ task:
|
|||||||
loss: RMSE
|
loss: RMSE
|
||||||
learning_rate: 0.0421
|
learning_rate: 0.0421
|
||||||
subsample: 0.8789
|
subsample: 0.8789
|
||||||
|
max_depth: 6
|
||||||
|
num_leaves: 100
|
||||||
thread_count: 20
|
thread_count: 20
|
||||||
|
grow_policy: Lossguide
|
||||||
|
boostrap_type: Poisson
|
||||||
dataset:
|
dataset:
|
||||||
class: DatasetH
|
class: DatasetH
|
||||||
module_path: qlib.data.dataset
|
module_path: qlib.data.dataset
|
||||||
|
|||||||
@@ -178,7 +178,6 @@ def get_all_folders() -> dict:
|
|||||||
folders = dict()
|
folders = dict()
|
||||||
for f in os.scandir("benchmarks"):
|
for f in os.scandir("benchmarks"):
|
||||||
path = Path("benchmarks") / f.name
|
path = Path("benchmarks") / f.name
|
||||||
if f.name != "TFT":
|
|
||||||
folders[f.name] = str(path.resolve())
|
folders[f.name] = str(path.resolve())
|
||||||
return folders
|
return folders
|
||||||
|
|
||||||
|
|||||||
@@ -21,18 +21,16 @@ class DataLoader(abc.ABC):
|
|||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def load(self, instruments, start_time=None, end_time=None) -> pd.DataFrame:
|
def load(self, instruments, start_time=None, end_time=None) -> pd.DataFrame:
|
||||||
"""
|
"""
|
||||||
load the data as pd.DataFrame
|
load the data as pd.DataFrame.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
self : [TODO:type]
|
instruments : str or dict
|
||||||
[TODO:description]
|
it can either be the market name or the config file of instruments generated by InstrumentProvider.
|
||||||
instruments : [TODO:type]
|
start_time : str
|
||||||
[TODO:description]
|
start of the time range.
|
||||||
start_time : [TODO:type]
|
end_time : str
|
||||||
[TODO:description]
|
end of the time range.
|
||||||
end_time : [TODO:type]
|
|
||||||
[TODO:description]
|
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
|
|||||||
Reference in New Issue
Block a user