mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-10 06:20:57 +08:00
Update processor.py
This commit is contained in:
@@ -302,7 +302,13 @@ class CSZScoreNorm(Processor):
|
|||||||
|
|
||||||
|
|
||||||
class CSRankNorm(Processor):
|
class CSRankNorm(Processor):
|
||||||
"""Cross Sectional Rank Normalization"""
|
"""
|
||||||
|
Cross Sectional Rank Normalization.
|
||||||
|
"Cross Sectional" is often used to describe data operations.
|
||||||
|
The operations across different stocks are often called Cross Sectional Operation.
|
||||||
|
|
||||||
|
For example, CSRankNorm is an operation that grouping the data by each day and rank `across` all the stocks in each day.
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self, fields_group=None):
|
def __init__(self, fields_group=None):
|
||||||
self.fields_group = fields_group
|
self.fields_group = fields_group
|
||||||
|
|||||||
Reference in New Issue
Block a user