def __init__(
            self,
            centres,
            lenscale=Parameter(gamma(1.), Positive()),
            regularizer=None
    ):
        """See this class's docstring."""
        self.M, self.d = centres.shape
        self.C = centres
        self._init_lenscale(lenscale)
        super(_LengthScaleBasis, self).__init__(regularizer)
def __init__ ( self , centres , lenscale = Parameter ( gamma ( 1. ) , Positive ( ) ) , regularizer = None ) : self . M , self . d = centres . shape self . C = centres self . _init_lenscale ( lenscale ) super ( _LengthScaleBasis , self ) . __init__ ( regularizer )
See this class's docstring.