forked from seedatnabeel/TRIAGE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #1 from vanderschaarlab/main
Updates
- Loading branch information
Showing
28 changed files
with
10,106 additions
and
8,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: PR Tutorials | ||
|
||
on: | ||
push: | ||
branches: [main, release] | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
schedule: | ||
- cron: "2 3 * * 1" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
Tutorials: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: ["3.8"] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: gautamkrishnar/keepalive-workflow@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "pip" # caching pip dependencies | ||
- name: Install MacOS dependencies | ||
run: | | ||
brew install libomp | ||
if: ${{ matrix.os == 'macos-latest' }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install -U pip | ||
pip install -r requirements.txt | ||
- name: Run the tutorials | ||
run: python tutorials/nb_eval.py --nb_dir tutorials/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,44 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: name-tests-test | ||
- id: requirements-txt-fixer | ||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
- id: trailing-whitespace | ||
- id: check-ast | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: requirements-txt-fixer | ||
- id: name-tests-test | ||
- id: mixed-line-ending | ||
args: ["--fix=auto"] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows | ||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
rev: v1.20.1 | ||
hooks: | ||
- id: setup-cfg-fmt | ||
- repo: https://github.com/janosh/format-ipy-cells | ||
- id: setup-cfg-fmt | ||
- repo: https://github.com/janosh/format-ipy-cells | ||
rev: v0.1.10 | ||
hooks: | ||
- id: format-ipy-cells | ||
- repo: http://github.com/timothycrosley/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
args: ["--profile", "black", "--filter-files"] | ||
- repo: http://github.com/timothycrosley/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
args: ["--profile", "black", "--filter-files"] | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.2.3 | ||
hooks: | ||
- id: add-trailing-comma | ||
args: [--py36-plus] | ||
- id: add-trailing-comma | ||
args: [--py36-plus] | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
args: ["--max-line-length=480", "--extend-ignore=E203,W503"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
============ | ||
Contributors | ||
============ | ||
|
||
* Nabeel Seedat <seedatnabeel@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
========= | ||
Changelog | ||
========= | ||
|
||
Version 0.1 | ||
=========== | ||
|
||
- Initial Version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
crepes==0.1.0 | ||
ipykernel | ||
matplotlib | ||
numpy | ||
torch | ||
scikit-learn==1.3.0 | ||
pandas==2.0.3 | ||
openml==0.14.0 | ||
pandas==2.0.3 | ||
scikit-learn==1.3.0 | ||
torch | ||
tqdm | ||
xgboost==1.7.6 | ||
ipykernel | ||
matplotlib | ||
tqdm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
autograd-lib | ||
black | ||
catboost==1.1 | ||
xlrd | ||
opentsne | ||
crepes==0.1.0 | ||
numpy | ||
torch | ||
scikit-learn==1.3.0 | ||
pandas==2.0.3 | ||
openml==0.14.0 | ||
xgboost==1.7.6 | ||
torch==1.13.1 | ||
sdv==0.17.2 | ||
xgboost==1.7.6 | ||
SciencePlots==1.0.9 | ||
hyperimpute==0.1.17 | ||
black | ||
isort | ||
fairlearn==0.9.0 | ||
hyperimpute==0.1.17 | ||
ipykernel | ||
isort | ||
matplotlib==3.7.2 | ||
ngboost==0.4.1 | ||
pre-commit | ||
numpy | ||
openml==0.14.0 | ||
opentsne | ||
pandas==1.5.3 | ||
pre-commit | ||
SciencePlots==1.0.9 | ||
scikit-learn==1.3.0 | ||
sdv==0.17.2 | ||
torch==1.13.1 | ||
xgboost==1.7.6 | ||
xgboost==1.7.6 | ||
xlrd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.