Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #1811

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading