mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 15:26:54 +08:00
Fix comment typo (#987)
This commit is contained in:
@@ -136,14 +136,14 @@ class Expression(abc.ABC):
|
|||||||
"""load feature
|
"""load feature
|
||||||
This function is responsible for loading feature/expression based on the expression engine.
|
This function is responsible for loading feature/expression based on the expression engine.
|
||||||
|
|
||||||
The concerate implementation will be seperated by two parts
|
The concrete implementation will be separated into two parts:
|
||||||
1) caching data, handle errors.
|
1) caching data, handle errors.
|
||||||
- This part is shared by all the expressions and implemented in Expression
|
- This part is shared by all the expressions and implemented in Expression
|
||||||
2) processing and calculating data based on the specific expression.
|
2) processing and calculating data based on the specific expression.
|
||||||
- This part is different in each expression and implemented in each expression
|
- This part is different in each expression and implemented in each expression
|
||||||
|
|
||||||
Expresion Engine is shared by different data.
|
Expression Engine is shared by different data.
|
||||||
Different data will have different extra infomation for `args`.
|
Different data will have different extra information for `args`.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
@@ -154,9 +154,9 @@ class Expression(abc.ABC):
|
|||||||
end_index : str
|
end_index : str
|
||||||
feature end index [in calendar].
|
feature end index [in calendar].
|
||||||
|
|
||||||
*args may contains following information;
|
*args may contain following information:
|
||||||
1) if it is used in basic experssion engine data, it contains following arguments
|
1) if it is used in basic expression engine data, it contains following arguments
|
||||||
freq : str
|
freq: str
|
||||||
feature frequency.
|
feature frequency.
|
||||||
|
|
||||||
2) if is used in PIT data, it contains following arguments
|
2) if is used in PIT data, it contains following arguments
|
||||||
|
|||||||
Reference in New Issue
Block a user