Skip to content

Commit

Permalink
First version of the draft
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneCmb committed Sep 20, 2024
1 parent 4d001cd commit 8127f00
Show file tree
Hide file tree
Showing 7 changed files with 247 additions and 211 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/lint.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/pr.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/pypi-publish.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/test_doc.yml

This file was deleted.

12 changes: 12 additions & 0 deletions develop/test_sim_hoi_gauss.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# %%
from hoi.simulation import simulate_hoi_gauss
from hoi.metrics import Oinfo, GradientOinfo

out = simulate_hoi_gauss(
n_samples=100, target=True, triplet_character="redundancy"
)

model = GradientOinfo(out[0], out[1], verbose=False)
hoi = model.fit(minsize=3, maxsize=3, method="gauss")

print(hoi)
Loading

0 comments on commit 8127f00

Please sign in to comment.