mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-07 04:50:56 +08:00
@@ -88,7 +88,7 @@ class Experiment:
|
||||
def search_records(self, **kwargs):
|
||||
"""
|
||||
Get a pandas DataFrame of records that fit the search criteria of the experiment.
|
||||
Inputs are the search critera user want to apply.
|
||||
Inputs are the search criteria user want to apply.
|
||||
|
||||
Returns
|
||||
-------
|
||||
|
||||
@@ -105,7 +105,7 @@ class ExpManager:
|
||||
def search_records(self, experiment_ids=None, **kwargs):
|
||||
"""
|
||||
Get a pandas DataFrame of records that fit the search criteria of the experiment.
|
||||
Inputs are the search critera user want to apply.
|
||||
Inputs are the search criteria user want to apply.
|
||||
|
||||
Returns
|
||||
-------
|
||||
|
||||
@@ -75,7 +75,7 @@ class RecordUpdater(metaclass=ABCMeta):
|
||||
class DSBasedUpdater(RecordUpdater, metaclass=ABCMeta):
|
||||
"""
|
||||
Dataset-Based Updater
|
||||
- Provding updating feature for Updating data based on Qlib Dataset
|
||||
- Providing updating feature for Updating data based on Qlib Dataset
|
||||
|
||||
Assumption
|
||||
- Based on Qlib dataset
|
||||
|
||||
@@ -116,7 +116,7 @@ class RecordTemp:
|
||||
"""
|
||||
Check if the records is properly generated and saved.
|
||||
It is useful in following examples
|
||||
- checking if the depended files complete before genrating new things.
|
||||
- checking if the depended files complete before generating new things.
|
||||
- checking if the final files is completed
|
||||
|
||||
Parameters
|
||||
|
||||
@@ -9,5 +9,5 @@ A typical task workflow
|
||||
|-----------------------+------------------------------------------------|
|
||||
| TaskGen | Generating tasks. |
|
||||
| TaskManager(optional) | Manage generated tasks |
|
||||
| run task | retrive tasks from TaskManager and run tasks. |
|
||||
| run task | retrieve tasks from TaskManager and run tasks. |
|
||||
"""
|
||||
|
||||
@@ -272,7 +272,7 @@ class RollingGen(TaskGen):
|
||||
class MultiHorizonGenBase(TaskGen):
|
||||
def __init__(self, horizon: List[int] = [5], label_leak_n=2):
|
||||
"""
|
||||
This task generator tries to genrate tasks for different horizons based on an existing task
|
||||
This task generator tries to generate tasks for different horizons based on an existing task
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
@@ -48,7 +48,7 @@ class TaskManager:
|
||||
The tasks manager assumes that you will only update the tasks you fetched.
|
||||
The mongo fetch one and update will make it date updating secure.
|
||||
|
||||
This class can be used as a tool from commandline. Here are serveral examples.
|
||||
This class can be used as a tool from commandline. Here are several examples.
|
||||
You can view the help of manage module with the following commands:
|
||||
python -m qlib.workflow.task.manage -h # show manual of manage module CLI
|
||||
python -m qlib.workflow.task.manage wait -h # show manual of the wait command of manage
|
||||
@@ -368,7 +368,7 @@ class TaskManager:
|
||||
|
||||
def return_task(self, task, status=STATUS_WAITING):
|
||||
"""
|
||||
Return a task to status. Alway using in error handling.
|
||||
Return a task to status. Always using in error handling.
|
||||
|
||||
Args:
|
||||
task ([type]): [description]
|
||||
|
||||
Reference in New Issue
Block a user