File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ arguments:
3838 type : integer
3939 default : 1
4040 description : Number of layers.
41- - name : --n_clusters
41+ - name : --max_epochs
4242 type : integer
43- default : 20
44- description : Number of clusters to use for subsampling .
45- - name : --subsample_fraction
43+ default : 500
44+ description : Number of epochs to train the model .
45+ - name : --train_size
4646 type : double
47- default : 0.5
47+ default : 0.7
4848 description : Fraction of cells to subsample from each cluster for training.
4949
5050# Resources required to run the component
Original file line number Diff line number Diff line change 1515 "output" : "resources_test/task_cyto_batch_integration/mouse_spleen_flow_cytometry_subset/output_cytovi_split2.h5ad" ,
1616 "n_hidden" : 128 ,
1717 "n_layers" : 1 ,
18+ "max_epochs" : 500 ,
19+ "train_size" : 0.7 ,
1820}
1921meta = {"name" : "cytovi" }
2022## VIASH END
5759start = time .time ()
5860model .train (
5961 batch_size = 8192 ,
62+ max_epochs = par ["max_epochs" ],
63+ train_size = par ["train_size" ],
6064)
6165end = time .time ()
6266print (f"Training took { end - start :.2f} seconds" , flush = True )
You can’t perform that action at this time.
0 commit comments