aboutsummaryrefslogtreecommitdiff
path: root/gensvm
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-06 22:31:36 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-06 22:31:36 -0500
commit6705d6ecde8e86d85f4cc47fe59e1b198288fd4a (patch)
tree7bf69476755d3c2444bd17c3f389a8daac3ace75 /gensvm
parentAdd support for specifying sample weights (fixes #2) (diff)
downloadpygensvm-6705d6ecde8e86d85f4cc47fe59e1b198288fd4a.tar.gz
pygensvm-6705d6ecde8e86d85f4cc47fe59e1b198288fd4a.zip
Minor documentation fixes
Diffstat (limited to 'gensvm')
-rw-r--r--gensvm/core.py7
1 files changed, 5 insertions, 2 deletions
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,
)