def __init__(self, input_dim, degree, variance=1., active_dims=None, ARD=True, name='polynomial_basis'):
        """
        A linear segment transformation. The segments start at start, \
        are then linear to stop and constant again. The segments are
        normalized, so that they have exactly as much mass above
        as below the origin.

        Start and stop can be tuples or lists of starts and stops.
        Behaviour of start stop is as np.where(X<start) would do.
        """
        self.degree = degree
        super(PolynomialBasisFuncKernel, self).__init__(input_dim, variance, active_dims, ARD, name)
def __init__ ( self , input_dim , degree , variance = 1. , active_dims = None , ARD = True , name = 'polynomial_basis' ) : self . degree = degree super ( PolynomialBasisFuncKernel , self ) . __init__ ( input_dim , variance , active_dims , ARD , name )
A linear segment transformation. The segments start at start, \
        are then linear to stop and constant again. The segments are
        normalized, so that they have exactly as much mass above
        as below the origin.

        Start and stop can be tuples or lists of starts and stops.
        Behaviour of start stop is as np.where(X<start) would do.