From 6705d6ecde8e86d85f4cc47fe59e1b198288fd4a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 6 Mar 2019 22:31:36 -0500 Subject: Minor documentation fixes --- gensvm/core.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gensvm') diff --git a/gensvm/core.py b/gensvm/core.py index dab2368..c994995 100644 --- a/gensvm/core.py +++ b/gensvm/core.py @@ -76,13 +76,16 @@ def _fit_gensvm( if status_ == 1 and verbose > 0: warnings.warn( "GenSVM optimization prematurely ended due to a " - "incorrect step in the optimization algorithm.", + "incorrect step in the optimization algorithm. " + "This can be due to data quality issues, hyperparameter " + "settings, or numerical precision errors.", FitFailedWarning, ) if status_ == 2 and verbose > 0: warnings.warn( - "GenSVM failed to converge, increase " "the number of iterations.", + "GenSVM failed to converge, you may want to increase " + "the number of iterations.", ConvergenceWarning, ) -- cgit v1.2.3