mirror of
https://github.com/webclinic017/drift.git
synced 2026-07-29 03:37:45 +00:00
9488e92597
* feature(MetaLabeling): added hacky prototype * fix(MetaLabeling): drop index until first valid X & y * fix(MetaLabeling): transform both X & y before feature selection * fix(MetaLabeling): got feature selection to work * fix(MetaLabeling): correct values for meta_y * feat(MetaLabeling): created predictions multiplied by bet sizes * feat(Pipeline): print out averaged result * fix(Evaluation): correctly deal with non-discretized data * fix(Pipeline): use the right column names * refactor(Pipeline): move out meta-labeling * refactor(Pipeline): complete refactoring * feat(CI): post results to PR * fix(Pipeline): use the correct filename * chore(Config): removed now redundant feature_selection flag * feat(Models): added SVC * fix(Pipeline): accidentally switched two return values * feat(Sweep): prepared sweep_meta.yaml, moved report_results() into a separate file * fix(Pipeline): wrong function name * fix(Sweep): yaml + run_sweep * fix(Sweep): typo in name * fix(Reporting): only save averaged results * feat(MetaLabeling): use optional meta-labeling step for every lvl1 models, before averaging * feat(Reporting): print out sharpe improvement in meta-labeling step * fix(Sweep): adjusted config, defaulted to good defaults * fix(Sweep): adjusted sweep
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: run-test
|
|
on: [push]
|
|
jobs:
|
|
run:
|
|
runs-on: [ubuntu-latest]
|
|
# optionally use a convenient Ubuntu LTS + CUDA + DVC + CML image
|
|
# container: docker://dvcorg/cml:0-dvc2-base1-gpu
|
|
# container: docker://ghcr.io/iterative/cml:0-dvc2-base1-gpu
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: conda-incubator/setup-miniconda@v2
|
|
with:
|
|
auto-update-conda: false
|
|
activate-environment: quant
|
|
environment-file: environment.yml
|
|
python-version: 3.9
|
|
- uses: iterative/setup-cml@v1
|
|
- name: Run pytest
|
|
shell: bash -l {0}
|
|
run: |
|
|
pytest --junit-xml pytest.xml
|
|
- name: Run pipeline
|
|
shell: bash -l {0}
|
|
run: |
|
|
python run_pipeline.py
|
|
- name: Upload Unit Test Results
|
|
if: always()
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Unit Test Results (Python ${{ matrix.python-version }})
|
|
path: pytest.xml
|
|
- name: Publish Unit Test Results
|
|
uses: EnricoMi/publish-unit-test-result-action@v1
|
|
if: always()
|
|
with:
|
|
files: pytest.xml
|
|
|
|
- name: Write CML report
|
|
env:
|
|
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
cat results_level2.csv >> report.md
|
|
cml-send-comment report.md
|