Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BID #140

Merged
merged 31 commits into from
Sep 16, 2024
Merged

BID #140

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
80cf6eb
BID routines added
acevedo-s Jul 29, 2024
4e7d328
black formatting
acevedo-s Jul 29, 2024
6adb6f3
isort and flake8
acevedo-s Jul 29, 2024
b1cf141
test computing BID passed
acevedo-s Jul 29, 2024
8c3ed9f
format again
acevedo-s Jul 29, 2024
a5ab523
requirements JAX
acevedo-s Jul 30, 2024
a206067
only tox is not using the venv and doesn't find jax
acevedo-s Jul 30, 2024
faa9559
jax 0.4.30 added as dependency
acevedo-s Jul 30, 2024
c6a3eb0
trial:compatibility for JAX and python
acevedo-s Jul 30, 2024
9ea4d02
trial2: jax 0.3.25
acevedo-s Jul 30, 2024
897adbc
same-version jaxlib added as dependency
acevedo-s Jul 30, 2024
8b35cfa
jax and jaxlib 0.4.13 for python>=3.8
acevedo-s Jul 30, 2024
3dcc463
no version specification test for jax nor jaxlib
acevedo-s Jul 30, 2024
4af4764
Asking python>=3.8 for jax compatibilities
acevedo-s Jul 30, 2024
03a3725
discarding python 3.7 checks
acevedo-s Jul 30, 2024
7862087
trying to discard github test on python 3.7
acevedo-s Jul 30, 2024
7560a6e
all routines in dadapy/hamming + some docstrings
acevedo-s Jul 31, 2024
86ca199
tox -e black was missing...
acevedo-s Jul 31, 2024
0875064
basic tutorial example added
acevedo-s Jul 31, 2024
1fa5f9b
first version of the tutorial adding something on the 2D Ising model
acevedo-s Aug 8, 2024
21b7e78
checking if Ising example is the problem
acevedo-s Aug 8, 2024
3854ee6
check if datasets/hamming/ is the problem
acevedo-s Aug 8, 2024
31eea06
is the problem related to the example at all?
acevedo-s Aug 8, 2024
cd6d618
well, then the problem should be in hamming.py
acevedo-s Aug 8, 2024
973c79a
this runs perfectly fine in ubuntu
acevedo-s Aug 8, 2024
3990fbd
back to having test in 3.7
acevedo-s Sep 3, 2024
8f9e041
test.yml modified to change codecov version...
acevedo-s Sep 3, 2024
4187c5f
python 3.7 out because of incompatibilities with JAX
acevedo-s Sep 3, 2024
2926506
comment correction on test.yml
acevedo-s Sep 5, 2024
d614309
removing a folder which was saved in an incorrect place...
acevedo-s Sep 11, 2024
dff9798
adding self.intrinsic_dim to BID class
acevedo-s Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ jobs:
- {os: "ubuntu-22.04", python-version: "3.10"}
- {os: "ubuntu-22.04", python-version: "3.9"}
- {os: "ubuntu-20.04", python-version: "3.8"}
- {os: "ubuntu-20.04", python-version: "3.7"}
#os: [ubuntu-latest] # TODO: add macos-latest, windows-latest ?
#python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
#python-version: [3.8, 3.9, 3.10, 3.11]

timeout-minutes: 30

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ black-check: ## check black formatting
flake8: ## check style with flake8
flake8 dadapy/base.py dadapy/metric_comparisons.py dadapy/clustering.py dadapy/id_estimation.py \
dadapy/density_estimation.py dadapy/id_discrete.py dadapy/data.py dadapy/feature_weighting.py \
dadapy/kstar.py dadapy/neigh_graph.py dadapy/density_advanced.py tests #dev_scripts examples
dadapy/kstar.py dadapy/neigh_graph.py dadapy/density_advanced.py dadapy/hamming.py \
tests #dev_scripts examples

# to include the "dadapy" folder: pytest tests --doctest-modules dadapy tests/
test: ## run tests quickly with the default Python
Expand Down
Loading
Loading