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

Support using config to register custom operators #476

Merged
merged 2 commits into from Jun 24, 2021

Conversation

bxdd
Copy link
Collaborator

@bxdd bxdd commented Jun 23, 2021

Description

Support using config to register custom operators

Motivation and Context

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.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

qlib/data/ops.py Outdated
@@ -1496,15 +1497,20 @@ def reset(self):
self._ops = {}

def register(self, ops_list):
Copy link
Collaborator

@you-n-g you-n-g Jun 23, 2021

Choose a reason for hiding this comment

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

Add more docs about the register function (especially the ops_list).

@bxdd bxdd requested a review from you-n-g June 24, 2021 07:01
@you-n-g you-n-g merged commit 4837ba8 into microsoft:main Jun 24, 2021
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
Support using config to register custom operators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants