-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d001cd
commit 8127f00
Showing
7 changed files
with
247 additions
and
211 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,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) |
Oops, something went wrong.