File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- __version__ = "0.1.5 "
1+ __version__ = "0.1.6 "
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ def predict_amn(
6060 "biolog" : {
6161 "cobra_file" : get_default_model ('biolog' ,'build' ),
6262 "metric" : "r2_score"
63+ },
64+
65+ "custom" : {
66+ "cobra_file" : cobra_file ,
67+ "metric" : metric
6368 }
6469 }
6570
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ def build_training_set(
5959
6060 "biolog" : {
6161 "cobra_file" : get_default_model ('biolog' ,'build' )
62+ },
63+
64+ "custom" : {
65+ "cobra_file" : cobra_file
6266 }
6367 }
6468 #if organism not in PRESETS:
@@ -147,6 +151,17 @@ def train_gr_prediction(
147151 "xfold" : 5 ,
148152 "niter" : 0 ,
149153 "batch_size" : 100
154+ },
155+
156+ "custom" : {
157+ "trainingfile" : trainingfile ,
158+ "cobraname_override" : cobraname_override ,
159+ "n_hidden" : n_hidden ,
160+ "hidden_dim" : hidden_dim ,
161+ "epochs" : epochs ,
162+ "xfold" : xfold ,
163+ "niter" : niter ,
164+ "batch_size" : batch_size
150165 }
151166 }
152167 #if organism not in PRESETS:
You can’t perform that action at this time.
0 commit comments