-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (27 loc) · 1.01 KB
/
ci.yml
File metadata and controls
36 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on:
push:
branches: ["main", "master"]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install project
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run XOR subset scan
run: python -m thermolab.experiments.xor.subset_scan --repeats 1 --max_subset 2
- name: Run XOR THRML lab
run: python -m thermolab.experiments.xor.thrml --repeats 4 --steps 10 --benchmark-samples 1000 --weight-threshold 0.1
- name: Run Iris experiment
run: python -m thermolab.experiments.iris --classes 0,1 --positive-class 0 --steps 10 --benchmark-samples 1000 --max-subset 2
- name: Run Breast Cancer experiment
run: python -m thermolab.experiments.breast_cancer --steps 10 --benchmark-samples 5000 --top-features 3 --max-subset 1