statsmodels.duration.hazard_regression.PHReg.fit_regularized
PHReg.fit_regularized(method='coord_descent', maxiter=100, alpha=0.0, L1_wt=1.0, start_params=None, cnvrg_tol=1e-07, zero_tol=1e-08, **kwargs) [source]
Return a regularized fit to a linear regression model. Parameters:
method : : Only the coordinate descent algorithm is implemented. maxiter : integer The maximum number of iteration cycles (an iteration cycle involves running coordinate descent on all variables). alpha : scalar