def get_one_dimensional_kernel(self, dim):
        """
        Specially intended for Grid regression.
        """
        oneDkernel = GridRBF(input_dim=1, variance=self.variance.copy(), originalDimensions=dim)
        return oneDkernel
def get_one_dimensional_kernel ( self , dim ) : oneDkernel = GridRBF ( input_dim = 1 , variance = self . variance . copy ( ) , originalDimensions = dim ) return oneDkernel
Specially intended for Grid regression.