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

Fix alstm models and the corresponding yaml documents #1575

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

Conversation

hellowordma
Copy link

Description

To make it possible to pass parameter of rnn_type. Otherwise, whatever rnn_type you choose, the code will adopt the default type --GRU model. This is an ALSTM model, instead of A-GRU model

Motivation and Context

To make it possible to pass parameter of rnn_type

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

change the rnn_type from GRU to LSTM as it should be
change the rnn_type from GRU to LSTM as its should be
Update workflow_config_alstm_Alpha360.yaml
Update workflow_config_alstm_Alpha158.yaml
To make it possible to pass parameter of rnn_type. Otherwise, whatever rnn_type you choose, the  code will adopt the default type --GRU model. This is an ALSTM model, instead of A-GRU model
To make it possible to pass parameter of rnn_type. Otherwise, whatever rnn_type you choose, the  code will adopt the default type --GRU model. This is an ALSTM model, instead of A-GRU model
@github-actions github-actions bot added the waiting for triage Cannot auto-triage, wait for triage. label Jun 29, 2023
@hellowordma
Copy link
Author

@hellowordma please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@Fivele-Li
Copy link
Contributor

Hi, I think there are three points that need to be looked at.

  1. GRU is also a type of LSTM structure, so it is correct to set "rnn_type: GRU" in the YAML file from this perspective.
  2. The "rnn_type" setting in the YAML file was not used, so it is fine to add input parameters to ALSTM. Further more, You can run a test based on the method in README.md, and if the results are better than the current ones, you can replace "GRU" with "LSTM" in the YAML file.
  3. Please check the issues reported by Pytest.

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.

None yet

2 participants