Skip to content

Commit ed8d61d

Browse files
authored
Merge pull request #150 from NSAPH-Projects/release_0.1.4
Release 0.1.4
2 parents b32d63c + 0ba1374 commit ed8d61d

File tree

14 files changed

+98
-32
lines changed

14 files changed

+98
-32
lines changed

benchmarks/conf/algo/dragonspatial.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ tune:
1515
max_iter:
1616
_target_: ray.tune.choice
1717
_args_:
18-
- [2_500, 5_000]
18+
- [1_000, 5_000]
1919
hidden_dim:
2020
_target_: ray.tune.choice
2121
_args_:
22-
- [16, 64]
22+
- [16, 32]
2323
hidden_layers:
2424
_target_: ray.tune.choice
2525
_args_:
@@ -28,8 +28,8 @@ tune:
2828
_target_: ray.tune.loguniform
2929
_args_: [1e-5, 1e-1]
3030
dropout:
31-
_target_: ray.tune.loguniform
32-
_args_: [1e-3, 0.5]
31+
_target_: ray.tune.uniform
32+
_args_: [1e-2, 0.5]
3333
lam:
3434
_target_: ray.tune.loguniform
3535
_args_: [1e-5, 0.1]

benchmarks/conf/algo/drnetspatial.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ tune:
1515
max_iter:
1616
_target_: ray.tune.choice
1717
_args_:
18-
- [2_500, 5_000]
18+
- [1_000, 5_000]
1919
hidden_dim:
2020
_target_: ray.tune.choice
2121
_args_:
22-
- [16, 64]
22+
- [16, 32]
2323
hidden_layers:
2424
_target_: ray.tune.choice
2525
_args_:
@@ -28,8 +28,8 @@ tune:
2828
_target_: ray.tune.loguniform
2929
_args_: [1e-5, 1e-1]
3030
dropout:
31-
_target_: ray.tune.loguniform
32-
_args_: [1e-3, 0.5]
31+
_target_: ray.tune.uniform
32+
_args_: [1e-2, 0.5]
3333
lam:
3434
_target_: ray.tune.loguniform
3535
_args_: [1e-5, 0.1]

benchmarks/conf/algo/gcn.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@ needs_train_test_split: true
33
method:
44
_target_: spacebench.algorithms.GCN
55
verbose: false
6-
epochs: 2_500
76

87
tune:
9-
param_space:
8+
param_space:
9+
epochs:
10+
_target_: ray.tune.choice
11+
_args_:
12+
- [1_000, 2_500]
1013
hidden_dim:
1114
_target_: ray.tune.choice
1215
_args_:
13-
- [16, 64]
16+
- [16, 32]
1417
hidden_layers:
1518
_target_: ray.tune.choice
1619
_args_:
1720
- [1, 2]
21+
lr:
22+
_target_: ray.tune.choice
23+
_args_:
24+
- [1e-3, 3e-4]
1825
weight_decay:
1926
_target_: ray.tune.loguniform
2027
_args_: [1e-6, 1e-1]

benchmarks/conf/algo/mlp.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
needs_train_test_split: false
2+
3+
method:
4+
_target_: spacebench.algorithms.MLPSpatial
5+
spatial_split_kwargs:
6+
init_frac: 0.05
7+
levels: 0
8+
buffer: 1
9+
seed: 0
10+
lam: 0.0
11+
k: 100
12+
lr: 0.003
13+
14+
tune:
15+
param_space:
16+
max_iter:
17+
_target_: ray.tune.choice
18+
_args_:
19+
- [1_000, 5_000]
20+
hidden_dim:
21+
_target_: ray.tune.choice
22+
_args_:
23+
- [16, 32]
24+
hidden_layers:
25+
_target_: ray.tune.choice
26+
_args_:
27+
- [1, 2]
28+
weight_decay:
29+
_target_: ray.tune.loguniform
30+
_args_: [1e-5, 1e-1]
31+
dropout:
32+
_target_: ray.tune.uniform
33+
_args_: [1e-2, 0.5]

benchmarks/conf/algo/mlpspatial.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ tune:
1515
max_iter:
1616
_target_: ray.tune.choice
1717
_args_:
18-
- [2_500, 5_000]
18+
- [1_000, 5_000]
1919
hidden_dim:
2020
_target_: ray.tune.choice
2121
_args_:
22-
- [16, 64]
22+
- [16, 32]
2323
hidden_layers:
2424
_target_: ray.tune.choice
2525
_args_:
@@ -28,8 +28,8 @@ tune:
2828
_target_: ray.tune.loguniform
2929
_args_: [1e-5, 1e-1]
3030
dropout:
31-
_target_: ray.tune.loguniform
32-
_args_: [1e-3, 0.5]
31+
_target_: ray.tune.uniform
32+
_args_: [1e-2, 0.5]
3333
lam:
3434
_target_: ray.tune.loguniform
3535
_args_: [1e-5, 0.1]

benchmarks/conf/algo/mlpspatialplus.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ needs_train_test_split: false
22

33
method:
44
_target_: spacebench.algorithms.MLPSpatialPlus
5-
max_iter: 2_500
65
spatial_split_kwargs:
76
init_frac: 0.05
87
levels: 0
@@ -13,10 +12,14 @@ method:
1312

1413
tune:
1514
param_space:
15+
max_iter:
16+
_target_: ray.tune.choice
17+
_args_:
18+
- [1_000, 5_000]
1619
hidden_dim:
1720
_target_: ray.tune.choice
1821
_args_:
19-
- [16, 64]
22+
- [16, 32]
2023
hidden_layers:
2124
_target_: ray.tune.choice
2225
_args_:
@@ -31,7 +34,7 @@ tune:
3134
_target_: ray.tune.loguniform
3235
_args_: [1e-5, 0.1]
3336
dropout:
34-
_target_: ray.tune.loguniform
35-
_args_: [1e-3, 0.5]
37+
_target_: ray.tune.uniform
38+
_args_: [1e-2, 0.5]
3639

3740

benchmarks/conf/algo/spatial.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
needs_train_test_split: true
1+
needs_train_test_split: false
22

33
method:
44
_target_: spacebench.algorithms.Spatial

benchmarks/conf/algo/spatialplus.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
needs_train_test_split: true
1+
needs_train_test_split: false
22

33
method:
44
_target_: spacebench.algorithms.SpatialPlus
@@ -13,8 +13,8 @@ tune:
1313
param_space:
1414
lam_t:
1515
_target_: ray.tune.loguniform
16-
_args_: [1e-5, 0.1]
16+
_args_: [1e-5, 1.0]
1717
lam_y:
1818
_target_: ray.tune.loguniform
19-
_args_: [1e-5, 0.1]
19+
_args_: [1e-5, 1.0]
2020

benchmarks/conf/algo/xgboost.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tune:
88
max_depth:
99
_target_: ray.tune.choice
1010
_args_:
11-
- [2, 3, 4]
11+
- [2, 3]
1212
n_estimators:
1313
_target_: ray.tune.choice
1414
_args_:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
needs_train_test_split: false
2+
3+
method:
4+
_target_: spacebench.algorithms.XGBoost
5+
coords: true
6+
7+
tune:
8+
param_space:
9+
max_depth:
10+
_target_: ray.tune.choice
11+
_args_:
12+
- [2, 3]
13+
n_estimators:
14+
_target_: ray.tune.choice
15+
_args_:
16+
- [100, 500]
17+
learning_rate:
18+
_target_: ray.tune.loguniform
19+
_args_: [0.01, 1.0]

0 commit comments

Comments
 (0)