-
Notifications
You must be signed in to change notification settings - Fork 2
Brain disorder diagnosis notebook rework #13
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
Changes from all commits
dcf93a4
f0d92aa
7047c23
092bf9d
448c359
1e32ba2
cf9e370
bff672b
72161f0
11da26e
d22141d
b5b5923
5bbcc39
237691d
afb3b0a
fb65616
8567ddd
ac4a5e5
7a175ba
fe52be1
bebe42f
79f0336
d93784d
1ad406b
544fb50
63d78c4
d41007a
dba1953
df96558
8688472
c0fb3f4
7aa3355
ed386a1
627008b
a584d53
667e097
7efc7c2
763c1b9
ac29f3e
98a8d16
7ba387c
2175be3
fabed46
f11b4ba
42f8329
fa62738
ca3552d
b8229a5
97652c8
0a6b2a9
87b267b
c642791
4c4c14f
c1e77f5
5f441ce
473f8bb
76eda1d
61695e9
cef1494
e6b4b7c
234a74d
17d7b7e
9e65f6c
2cf6674
cfd95f9
84f3948
5267704
030db01
1ed4fdb
aa4cc8e
393cca2
090551f
ee0a647
ebd3b96
3f9d9d2
d9dc5b3
08ed488
760b240
15bccdf
9ec41b6
3dd3b92
db83128
54f522f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,21 @@ | ||
| # Requirements for the book itself | ||
| jupyter-book==1.0.4.post1 | ||
| sphinx-exercise==1.0.1 | ||
|
|
||
| # Visualization tools | ||
| matplotlib==3.10.3 | ||
| seaborn==0.13.2 | ||
|
|
||
| # Data loading, processing, and manipulation | ||
| numpy==1.26.4 | ||
| git+https://github.com/pykale/pykale@main | ||
| nilearn==0.10.4 | ||
| yacs==0.1.8 | ||
| gdown==5.2.0 | ||
|
|
||
| # PyKale latest version | ||
| git+https://github.com/pykale/pykale@main | ||
|
|
||
| # Additional dependencies for the tutorial notebooks | ||
| nilearn==0.12.0 | ||
| torch==2.3.0 | ||
| torch-geometric==2.3.0 | ||
| torch-sparse | ||
| torch-scatter |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| DATASET: | ||
| ATLAS: hcp-ica | ||
| TOP_K_SITES: 10 | ||
|
|
||
| CROSS_VALIDATION: | ||
| NUM_REPEATS: 1 | ||
| SPLIT: lpgo | ||
| NUM_FOLDS: 1 | ||
|
|
||
| TRAINER: | ||
| NUM_SEARCH_ITER: 20 | ||
| NUM_SEARCH_ITER: 100 | ||
| NUM_SOLVER_ITER: 100 | ||
|
|
||
| RANDOM_STATE: 0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| CROSS_VALIDATION: | ||
| SPLIT: lpgo | ||
| NUM_FOLDS: 1 | ||
|
|
||
| TRAINER: | ||
| CLASSIFIER: ridge | ||
| PARAM_GRID: | ||
| - [alpha, [0.25, 0.5, 0.75, 1.0]] | ||
| - [domain_adapter__num_components, [50, 150, 300]] | ||
| - [domain_adapter__mu, [0.25, 0.5, 0.75, 1.0]] | ||
| - [domain_adapter__ignore_y, [True]] | ||
| - [domain_adapter__augment, [pre, post, null]] | ||
| SEARCH_STRATEGY: grid | ||
|
|
||
| RANDOM_STATE: 0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| DATASET: | ||
| ATLAS: hcp-ica | ||
| TOP_K_SITES: 10 | ||
|
|
||
| CROSS_VALIDATION: | ||
| SPLIT: skf | ||
| NUM_FOLDS: 5 | ||
| NUM_REPEATS: 2 | ||
|
|
||
| TRAINER: | ||
| NUM_SEARCH_ITER: 100 | ||
| NUM_SOLVER_ITER: 100 | ||
|
|
||
| RANDOM_STATE: 0 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||
| CROSS_VALIDATION: | ||||||
| SPLIT: skf | ||||||
| NUM_FOLDS: 10 | ||||||
| NUM_REPEATS: 5 | ||||||
|
|
||||||
| TRAINER: | ||||||
| CLASSIFIER: ridge | ||||||
| PARAM_GRID: | ||||||
| - [alpha, [0.25, 0.5, 0.75, 1.0]] | ||||||
| - [domain_adapter__num_components, [50, 150, 300]] | ||||||
| - [domain_adapter__mu, [0.25, 0.5, 0.75, 1.0]] | ||||||
| - [domain_adapter__ignore_y, [True]] | ||||||
| - [domain_adapter__augment, [pre, post, null]] | ||||||
|
||||||
| - [domain_adapter__augment, [pre, post, null]] | |
| - [domain_adapter__augment, ['pre', 'post', 'null']] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using 'null' might made yacs mis-parsed it as a string, as the expected result is null = None.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider quoting the values 'pre', 'post', and 'null' in the parameter grid to ensure they are parsed as strings in YAML.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
'null'might madeyacsmis-parsed it as a string, as the expected result isnull = None.