-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example configs for LOO and S2C exprs
- Loading branch information
1 parent
3c31f23
commit f810c07
Showing
2 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
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,51 @@ | ||
{ | ||
"experiment_id": "Example_LOO", | ||
"experiment_type": "leave one out (w/ single)", | ||
"model": "CellBox", | ||
"sparse_data": false, | ||
"pert_file": "data/pert.csv", | ||
"expr_file": "data/expr.csv", | ||
"node_index_file": "data/node_Index.csv", | ||
"n_protein_nodes": 82, | ||
"n_activity_nodes": 87, | ||
"n_x" : 99, | ||
"trainset_ratio": 0.7, | ||
"validset_ratio": 0.8, | ||
"batchsize": 16, | ||
"add_noise_level": 0, | ||
|
||
"envelop_form": "tanh", | ||
"dT": 0.1, | ||
"envelop":0, | ||
"ode_degree": 1, | ||
"ode_solver": "heun", | ||
"ode_last_steps": 2, | ||
"l1lambda": 1e-4, | ||
"l2lambda": 1e-4, | ||
|
||
"n_epoch": 10000, | ||
"n_iter": 10000, | ||
"n_iter_buffer":50, | ||
"n_iter_patience":100, | ||
|
||
"stages":[{ | ||
"nT": 100, | ||
"sub_stages":[ | ||
{"lr_val": 0.1,"l1lambda": 0.01, "n_iter_patience":1000}, | ||
{"lr_val": 0.01,"l1lambda": 0.01}, | ||
{"lr_val": 0.01,"l1lambda": 0.0001}, | ||
{"lr_val": 0.001,"l1lambda": 0.00001} | ||
]},{ | ||
"nT": 200, | ||
"sub_stages":[ | ||
{"lr_val": 0.001,"l1lambda": 0.0001} | ||
]},{ | ||
"nT": 400, | ||
"sub_stages":[ | ||
{"lr_val": 0.001,"l1lambda": 0.0001} | ||
]}], | ||
|
||
"export_verbose": 3, | ||
"model_prefix": "drug", | ||
"ckpt_name": "model11.ckpt" | ||
} |
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,50 @@ | ||
{ | ||
"experiment_id": "Example_S2C", | ||
"experiment_type": "single to combo", | ||
"model": "CellBox", | ||
"sparse_data": false, | ||
"pert_file": "data/pert.csv", | ||
"expr_file": "data/expr.csv", | ||
"node_index_file": "data/node_Index.csv", | ||
"n_protein_nodes": 82, | ||
"n_activity_nodes": 87, | ||
"n_x" : 99, | ||
"trainset_ratio": 0.7, | ||
"validset_ratio": 0.8, | ||
"batchsize": 16, | ||
"add_noise_level": 0, | ||
|
||
"envelop_form": "tanh", | ||
"dT": 0.1, | ||
"envelop":0, | ||
"ode_degree": 1, | ||
"ode_solver": "heun", | ||
"ode_last_steps": 2, | ||
"l1lambda": 1e-4, | ||
"l2lambda": 1e-4, | ||
|
||
"n_epoch": 10000, | ||
"n_iter": 10000, | ||
"n_iter_buffer":50, | ||
"n_iter_patience":100, | ||
|
||
"stages":[{ | ||
"nT": 100, | ||
"sub_stages":[ | ||
{"lr_val": 0.1,"l1lambda": 0.01, "n_iter_patience":1000}, | ||
{"lr_val": 0.01,"l1lambda": 0.01}, | ||
{"lr_val": 0.01,"l1lambda": 0.0001}, | ||
{"lr_val": 0.001,"l1lambda": 0.00001} | ||
]},{ | ||
"nT": 200, | ||
"sub_stages":[ | ||
{"lr_val": 0.001,"l1lambda": 0.0001} | ||
]},{ | ||
"nT": 400, | ||
"sub_stages":[ | ||
{"lr_val": 0.001,"l1lambda": 0.0001} | ||
]}], | ||
|
||
"export_verbose": 3, | ||
"ckpt_name": "model11.ckpt" | ||
} |