def optimize_auto(self,max_iters=<NUM_LIT>,verbose=True):
self.Z.fix(warning=False)<EOL>self.kern.fix(warning=False)<EOL>self.kern_row.fix(warning=False)<EOL>self.Zr.fix(warning=False)<EOL>self.Xr.fix(warning=False)<EOL>self.optimize(max_iters=int(<NUM_LIT:0.1>*max_iters),messages=verbose)<EOL>self.unfix()<EOL>self.optimize(max_iters=max_iters,messages=verbose)<EOL>
Optimize the model parameters through a pre-defined protocol.

:param int max_iters: the maximum number of iterations.
:param boolean verbose: print the progress of optimization or not.