diff --git a/pymc3/backends/report.py b/pymc3/backends/report.py index 52ca87590f4..8db6705dc3a 100644 --- a/pymc3/backends/report.py +++ b/pymc3/backends/report.py @@ -102,11 +102,17 @@ def _run_convergence_checks(self, trace): warn = SamplerWarning( WarningType.CONVERGENCE, msg, 'error', None, None, effective_n) warnings.append(warn) + elif eff_min / n_samples < 0.1: + msg = ("The number of effective samples is smaller than " + "10% for some parameters.") + warn = SamplerWarning( + WarningType.CONVERGENCE, msg, 'warn', None, None, effective_n) + warnings.append(warn) elif eff_min / n_samples < 0.25: msg = ("The number of effective samples is smaller than " "25% for some parameters.") warn = SamplerWarning( - WarningType.CONVERGENCE, msg, 'warn', None, None, effective_n) + WarningType.CONVERGENCE, msg, 'info', None, None, effective_n) warnings.append(warn) self._add_warnings(warnings)