better step size for ctv model
@@ -138,7 +138,7 @@ class CoxTimeVaryingFitter(BaseFitter):
if step_size is None:
# empirically determined
- step_size = 0.95 if n < 1000 else 0.5
+ step_size = min(0.98, 3.0 / np.log10(n))
while converging:
i += 1
