mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 05:51:17 +08:00
Fixed a few mixed Chinese punctuation typos (#1123)
This commit is contained in:
@@ -66,7 +66,7 @@ TopkDropoutStrategy
|
|||||||
- Adopt the ``Topk-Drop`` algorithm to calculate the target amount of each stock
|
- Adopt the ``Topk-Drop`` algorithm to calculate the target amount of each stock
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
There are two parameters for the ``Topk-Drop`` algorithm:
|
There are two parameters for the ``Topk-Drop`` algorithm:
|
||||||
|
|
||||||
- `Topk`: The number of stocks held
|
- `Topk`: The number of stocks held
|
||||||
- `Drop`: The number of stocks sold on each trading day
|
- `Drop`: The number of stocks sold on each trading day
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ _default_config = {
|
|||||||
# "~/.qlib/stock_data/cn_data"
|
# "~/.qlib/stock_data/cn_data"
|
||||||
# # dict
|
# # dict
|
||||||
# {"day": "~/.qlib/stock_data/cn_data", "1min": "~/.qlib/stock_data/cn_data_1min"}
|
# {"day": "~/.qlib/stock_data/cn_data", "1min": "~/.qlib/stock_data/cn_data_1min"}
|
||||||
# NOTE: provider_uri priority:
|
# NOTE: provider_uri priority:
|
||||||
# 1. backend_config: backend_obj["kwargs"]["provider_uri"]
|
# 1. backend_config: backend_obj["kwargs"]["provider_uri"]
|
||||||
# 2. backend_config: backend_obj["kwargs"]["provider_uri_map"]
|
# 2. backend_config: backend_obj["kwargs"]["provider_uri_map"]
|
||||||
# 3. qlib.init: provider_uri
|
# 3. qlib.init: provider_uri
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ class MetaDatasetDS(MetaTaskDataset):
|
|||||||
----------
|
----------
|
||||||
task_tpl : Union[dict, list]
|
task_tpl : Union[dict, list]
|
||||||
Decide what tasks are used.
|
Decide what tasks are used.
|
||||||
- dict : the task template, the prepared task is generated with `step`, `trunc_days` and `RollingGen`
|
- dict : the task template, the prepared task is generated with `step`, `trunc_days` and `RollingGen`
|
||||||
- list : when list, use the list of tasks directly
|
- list : when list, use the list of tasks directly
|
||||||
the list is supposed to be sorted according timeline
|
the list is supposed to be sorted according timeline
|
||||||
step : int
|
step : int
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class TabnetModel(Model):
|
|||||||
"""
|
"""
|
||||||
TabNet model for Qlib
|
TabNet model for Qlib
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
ps: probability to generate the bernoulli mask
|
ps: probability to generate the bernoulli mask
|
||||||
"""
|
"""
|
||||||
# set hyper-parameters.
|
# set hyper-parameters.
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class FileStorageMixin:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# NOTE: provider_uri priority:
|
# NOTE: provider_uri priority:
|
||||||
# 1. self._provider_uri : if provider_uri is provided.
|
# 1. self._provider_uri : if provider_uri is provided.
|
||||||
# 2. provider_uri in qlib.config.C
|
# 2. provider_uri in qlib.config.C
|
||||||
|
|
||||||
|
|||||||
@@ -488,7 +488,7 @@ class DumpDataUpdate(DumpDataBase):
|
|||||||
except Exception:
|
except Exception:
|
||||||
error_code[futures[_future]] = traceback.format_exc()
|
error_code[futures[_future]] = traceback.format_exc()
|
||||||
p_bar.update()
|
p_bar.update()
|
||||||
logger.info(f"dump bin errors: {error_code}")
|
logger.info(f"dump bin errors: {error_code}")
|
||||||
|
|
||||||
logger.info("end of features dump.\n")
|
logger.info("end of features dump.\n")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user