1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-30 09:31:18 +08:00

Update processor.py

This commit is contained in:
you-n-g
2021-12-20 18:18:59 +08:00
committed by GitHub
parent 0552120a2e
commit 92ff3d20b9

View File

@@ -302,7 +302,13 @@ class CSZScoreNorm(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):
self.fields_group = fields_group