mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-09 14:00:55 +08:00
make the prediction update more friendly (#609)
* make the prediction update more friendly * Update test_storage.py * LabelUpdater * Update test_storage.py * Update test_storage.py * Update test_storage.py * Update test_storage.py * Update setup.py * Update workflow_config_lightgbm_Alpha158.yaml * Update workflow_config_lightgbm_Alpha158.yaml * Update workflow_config_lightgbm_Alpha158.yaml * Update workflow_config_lightgbm_Alpha158.yaml * Update workflow_config_lightgbm_Alpha158.yaml * Update setup.py * Update setup.py * test CI only * test CI only * Update workflow_config_lightgbm_Alpha158.yaml * Update setup.py * fix "Segmentation fault" in macos * Update test.yml github action no longer supported ubuntu-16.04 * Update api.rst update doc with new_lable * Update api.rst Co-authored-by: Wangwuyi123 <51237097+Wangwuyi123@users.noreply.github.com> Co-authored-by: Pengrong Zhu <zhu.pengrong@foxmail.com>
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04]
|
||||
os: [windows-latest, ubuntu-18.04, ubuntu-20.04]
|
||||
python-version: [3.6, 3.7, 3.8]
|
||||
|
||||
steps:
|
||||
|
||||
7
.github/workflows/test_macos.yml
vendored
7
.github/workflows/test_macos.yml
vendored
@@ -39,6 +39,11 @@ jobs:
|
||||
run: |
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Microsoft/qlib/main/.github/brew_install.sh)"
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install lightgbm
|
||||
# FIX MacOS error: Segmentation fault
|
||||
# reference: https://github.com/microsoft/LightGBM/issues/4229
|
||||
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
|
||||
brew unlink libomp
|
||||
brew install libomp.rb
|
||||
- name: Test data downloads
|
||||
run: |
|
||||
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn
|
||||
@@ -64,4 +69,4 @@ jobs:
|
||||
python -m pytest . --durations=0
|
||||
- name: Test workflow by config (install from source)
|
||||
run: |
|
||||
python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
|
||||
Reference in New Issue
Block a user