Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeYuntong committed Jun 20, 2024
1 parent 37b9087 commit a3f4a6b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/component/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Example
},
}
# model initiaiton
# model initialization
model = init_instance_by_config(task["model"])
dataset = init_instance_by_config(task["dataset"])
Expand Down
2 changes: 1 addition & 1 deletion examples/workflow_by_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
" },\n",
"}\n",
"\n",
"# model initiaiton\n",
"# model initialization\n",
"model = init_instance_by_config(task[\"model\"])\n",
"dataset = init_instance_by_config(task[\"dataset\"])\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion qlib/model/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _log_task_info(task_config: dict):

def _exe_task(task_config: dict):
rec = R.get_recorder()
# model & dataset initiation
# model & dataset initialization
model: Model = init_instance_by_config(task_config["model"], accept_types=Model)
dataset: Dataset = init_instance_by_config(task_config["dataset"], accept_types=Dataset)
reweighter: Reweighter = task_config.get("reweighter", None)
Expand Down
2 changes: 1 addition & 1 deletion scripts/data_collector/crypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pip install -r requirements.txt
```

## Usage of the dataset
> *Crypto dateset only support Data retrieval function but not support backtest function due to the lack of OHLC data.*
> *Crypto dataset only support Data retrieval function but not support backtest function due to the lack of OHLC data.*
## Collector Data

Expand Down
2 changes: 1 addition & 1 deletion tests/test_all_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def train(uri_path: str = None):
model performance
"""

# model initiaiton
# model initialization
model = init_instance_by_config(CSI300_GBDT_TASK["model"])
dataset = init_instance_by_config(CSI300_GBDT_TASK["dataset"])
# To test __repr__
Expand Down

0 comments on commit a3f4a6b

Please sign in to comment.