Skip to content

Support using config to register custom operators#476

Merged
you-n-g merged 2 commits intomicrosoft:mainfrom
bxdd:qlib_ops_config
Jun 24, 2021
Merged

Support using config to register custom operators#476
you-n-g merged 2 commits intomicrosoft:mainfrom
bxdd:qlib_ops_config

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
you-n-g pushed a commit to you-n-g/qlib that referenced this pull request Aug 16, 2025
* udpate plot

* log and reduce token

* trace tag

* add simple_background parameter to get_scenario_all_desc

* update trace

* update first version code

* chat model map

* add annotation for stack index

* add annotation

* reformatted by black

* several update on kaggle scenarios

* update some new change

* fix CI

* fix CI

* fix a bug

* fix bugs in graph RAG

---------

Co-authored-by: Tim <illking@foxmail.com>
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.

2 participants