Skip to content

Commit 3e6e286

Browse files
authored
Fixed a few mixed Chinese punctuation typos (#1123)
1 parent 3fcbaa3 commit 3e6e286

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/component/strategy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ TopkDropoutStrategy
6666
- Adopt the ``Topk-Drop`` algorithm to calculate the target amount of each stock
6767

6868
.. note::
69-
There are two parameters for the ``Topk-Drop`` algorithm
69+
There are two parameters for the ``Topk-Drop`` algorithm:
7070

7171
- `Topk`: The number of stocks held
7272
- `Drop`: The number of stocks sold on each trading day

qlib/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def register_from_C(self, config, skip_register=True):
113113
# "~/.qlib/stock_data/cn_data"
114114
# # dict
115115
# {"day": "~/.qlib/stock_data/cn_data", "1min": "~/.qlib/stock_data/cn_data_1min"}
116-
# NOTE: provider_uri priority
116+
# NOTE: provider_uri priority:
117117
# 1. backend_config: backend_obj["kwargs"]["provider_uri"]
118118
# 2. backend_config: backend_obj["kwargs"]["provider_uri_map"]
119119
# 3. qlib.init: provider_uri

qlib/contrib/meta/data_selection/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def __init__(
217217
----------
218218
task_tpl : Union[dict, list]
219219
Decide what tasks are used.
220-
- dict : the task template the prepared task is generated with `step`, `trunc_days` and `RollingGen`
220+
- dict : the task template, the prepared task is generated with `step`, `trunc_days` and `RollingGen`
221221
- list : when list, use the list of tasks directly
222222
the list is supposed to be sorted according timeline
223223
step : int

qlib/contrib/model/pytorch_tabnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(
5353
"""
5454
TabNet model for Qlib
5555
56-
Args
56+
Args:
5757
ps: probability to generate the bernoulli mask
5858
"""
5959
# set hyper-parameters.

qlib/data/storage/file_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FileStorageMixin:
2424
2525
"""
2626

27-
# NOTE: provider_uri priority
27+
# NOTE: provider_uri priority:
2828
# 1. self._provider_uri : if provider_uri is provided.
2929
# 2. provider_uri in qlib.config.C
3030

scripts/dump_bin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def _dump_features(self):
488488
except Exception:
489489
error_code[futures[_future]] = traceback.format_exc()
490490
p_bar.update()
491-
logger.info(f"dump bin errors {error_code}")
491+
logger.info(f"dump bin errors: {error_code}")
492492

493493
logger.info("end of features dump.\n")
494494

0 commit comments

Comments
 (0)