qlib/examples/rolling_process_data
you-n-g be4646b4b7
Adjust rolling api (#1594)
* Intermediate version

* Fix yaml template & Successfully run rolling

* Be compatible with benchmark

* Get same results with previous linear model

* Black formatting

* Update black

* Update the placeholder mechanism

* Update CI

* Update CI

* Upgrade Black

* Fix CI and simplify code

* Fix CI

* Move the data processing caching mechanism into utils.

* Adjusting DDG-DA

* Organize import
2023-07-14 12:16:12 +08:00
..
README.md fix readme 2021-03-30 01:00:12 +08:00
rolling_handler.py update workflow 2021-03-25 19:56:04 +08:00
workflow.py Adjust rolling api (#1594) 2023-07-14 12:16:12 +08:00

README.md

Rolling Process Data

This workflow is an example for Rolling Process Data.

Background

When rolling train the models, data also needs to be generated in the different rolling windows. When the rolling window moves, the training data will change, and the processor's learnable state (such as standard deviation, mean, etc.) will also change.

In order to avoid regenerating data, this example uses the DataHandler-based DataLoader to load the raw features that are not related to the rolling window, and then used Processors to generate processed-features related to the rolling window.

Run the Code

Run the example by running the following command:

    python workflow.py rolling_process