diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-07-15 11:57:27 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-07-15 11:57:27 +0800 |
commit | 90700c438a46d931c133d5e60f6a4d9f17fa7c16 (patch) | |
tree | d50f5af33496673412e576568a079deefb1fe3bd | |
parent | 00d7997f951597af142cf3a435f51c7e40d63baa (diff) | |
download | cexcess-90700c438a46d931c133d5e60f6a4d9f17fa7c16.tar.bz2 |
spline.py: add a new error case
-rw-r--r-- | spline.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -98,6 +98,9 @@ class SmoothSpline(Spline): # using method "REML" will failed with error: # Error in gam.reparam(UrS, sp, grderiv) : # NA/NaN/Inf in foreign function call (arg 3) + # or with error: + # Error in eigen(hess1, symmetric = TRUE) : + # infinite or missing values in 'x' print("WARNING: 'mgcv.gam()' using method 'REML' failed!", file=sys.stderr) self.spline = self.mgcv.gam( |