[Scipy-tickets] [SciPy] #1816: Wrong sign of smoothing parameter

SciPy Trac scipy-tickets@scipy....
Tue Jan 15 03:57:03 CST 2013

#1816: Wrong sign of smoothing parameter
 Reporter:  hn      |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  0.11.0     
 Keywords:          |  
 The constructor of the class scipy.interpolate.Rbf has a parameter
 'smooth' that is supposed to stabilise the kernel matrix. However, in the
    '''self.A = self._init_function(r) - eye(self.N)*self.smooth'''
 at the end of the constructor __init__, the unit matrix is added with the
 wrong sign. It should read
    '''self.A = self._init_function(r) + eye(self.N)*self.smooth'''

Ticket URL: <http://projects.scipy.org/scipy/ticket/1816>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list