@@ -58,15 +58,14 @@ def add_common_estimation_args(parser):
5858 "from mean heterozygosity" ,
5959 action = "store_true" , default = False )
6060 optimizer = parser .add_argument_group ("Optimization parameters" )
61- optimizer .add_argument (
62- "--no-initialize" , action = "store_true" , default = False , help = argparse .SUPPRESS )
61+ optimizer .add_argument ("--no-initialize" , action = "store_true" , default = False , help = argparse .SUPPRESS )
6362 optimizer .add_argument ('--em-iterations' , type = int ,
6463 help = "number of EM steps to perform" , default = 20 )
6564 optimizer .add_argument ('--algorithm' ,
6665 choices = ["BFGS" , "L-BFGS-B" , "TNC" , "AdaMax" , "Adam" ],
6766 default = "L-BFGS-B" , help = argparse .SUPPRESS )
68- optimizer .add_argument ('--blocks ' , type = int ,
69- help = "number of coordinate ascent blocks. default: min(4, K) " )
67+ optimizer .add_argument ('--multi ' , default = False , action = "store_true" ,
68+ help = "update multiple blocks of coordinates at once " )
7069 optimizer .add_argument ("--ftol" , type = float ,
7170 default = smcpp .defaults .ftol ,
7271 help = "stopping criterion for relative improvement in loglik "
0 commit comments