Skip to content

Commit

Permalink
Fixed a few mixed Chinese punctuation typos (microsoft#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingyao authored Jun 14, 2022
1 parent 3fcbaa3 commit 3e6e286
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/component/strategy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ TopkDropoutStrategy
- Adopt the ``Topk-Drop`` algorithm to calculate the target amount of each stock

.. 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
- `Drop`: The number of stocks sold on each trading day
Expand Down
2 changes: 1 addition & 1 deletion qlib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def register_from_C(self, config, skip_register=True):
# "~/.qlib/stock_data/cn_data"
# # dict
# {"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"]
# 2. backend_config: backend_obj["kwargs"]["provider_uri_map"]
# 3. qlib.init: provider_uri
Expand Down
2 changes: 1 addition & 1 deletion qlib/contrib/meta/data_selection/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def __init__(
----------
task_tpl : Union[dict, list]
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
the list is supposed to be sorted according timeline
step : int
Expand Down
2 changes: 1 addition & 1 deletion qlib/contrib/model/pytorch_tabnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
"""
TabNet model for Qlib
Args
Args:
ps: probability to generate the bernoulli mask
"""
# set hyper-parameters.
Expand Down
2 changes: 1 addition & 1 deletion qlib/data/storage/file_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class FileStorageMixin:
"""

# NOTE: provider_uri priority
# NOTE: provider_uri priority:
# 1. self._provider_uri : if provider_uri is provided.
# 2. provider_uri in qlib.config.C

Expand Down
2 changes: 1 addition & 1 deletion scripts/dump_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def _dump_features(self):
except Exception:
error_code[futures[_future]] = traceback.format_exc()
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")

Expand Down

0 comments on commit 3e6e286

Please sign in to comment.