1
0
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:
YaOzI
2022-06-14 20:12:14 +08:00
committed by GitHub
parent 3fcbaa33fa
commit 3e6e2865ce
6 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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")