Skip to content

big rework of algorithms and benchmark #28

big rework of algorithms and benchmark

big rework of algorithms and benchmark #28

Workflow file for this run

name: Setup check
on:
push:
branches: [ "main", "neurips" ]
pull_request:
branches: [ "main", "neurips" ]
jobs:
run-on-linux:
name: Setup on linux
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install package dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install -e .
- name: Run tests
run: |
python -m unittest
- name: Install benchmark dependencies
run: |
pip install -r requirements_benchmark.txt
pip install -e .
- name: Run algorithms
run: |
python experiments/run_folktables.py alg=sslalm n_runs=2 run_maxtime=2
python experiments/run_folktables.py alg=ghost n_runs=2 run_maxtime=2
python experiments/run_folktables.py alg=alm n_runs=2 run_maxtime=2
python experiments/run_folktables.py alg=sgd n_runs=2 run_maxtime=2
run-on-windows:
name: Setup on windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install package dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install -e .
- name: Run tests
run: |
python -m unittest
- name: Install benchmark dependencies
run: |
pip install -r requirements_benchmark.txt
pip install -e .
- name: Run algorithms
run: |
python experiments/run_folktables.py alg=sslalm n_runs=2 run_maxtime=2
python experiments/run_folktables.py alg=ghost n_runs=2 run_maxtime=2
python experiments/run_folktables.py alg=alm n_runs=2 run_maxtime=2
python experiments/run_folktables.py alg=sgd n_runs=2 run_maxtime=2
run-on-macos:
name: Setup on macos
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install package dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install -e .
- name: Run tests
run: |
python -m unittest
# - name: Install benchmark dependencies
# run: |
# pip install -U --force-reinstall certifi
# pip install -r requirements_benchmark.txt
# pip install -e .
# - name: Run algorithms
# run: |
# python experiments/run_folktables.py alg=sslalm n_runs=2 run_maxtime=2
# python experiments/run_folktables.py alg=ghost n_runs=2 run_maxtime=2
# python experiments/run_folktables.py alg=alm n_runs=2 run_maxtime=2
# python experiments/run_folktables.py alg=sgd n_runs=2 run_maxtime=2