Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement OPD policy #1461

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Conversation

Arthur-Null
Copy link
Contributor

@Arthur-Null Arthur-Null commented Mar 14, 2023

Implementation of OPD in this paper.

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

@github-actions github-actions bot added the waiting for triage Cannot auto-triage, wait for triage. label Mar 14, 2023
return order


def train_and_test(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And user can try the model simply by running
python -m qlib.rl.contrib.train_onpolicy --config_path exp_configs/XXXX.yml --run_backtest

@you-n-g
Copy link
Collaborator

you-n-g commented Mar 22, 2023

Besides, please check the error in the CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for triage Cannot auto-triage, wait for triage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants