ENH add more verbosity to iterative imputer
@@ -591,6 +591,10 @@ class IterativeImputer(BaseEstimator, TransformerMixin):
if not self.sample_posterior:
inf_norm = np.linalg.norm(Xt - Xt_previous, ord=np.inf,
axis=None)
+ if self.verbose > 0:
+ print('[IterativeImputer] '
+ 'Change: {}, scaled tolerance: {} '.format(
+ inf_norm, normalized_tol))
if inf_norm < normalized_tol:
if self.verbose > 0:
print('[IterativeImputer] Early stopping criterion '
