def __str__(self): s = self.__class__.__name__ + "[" s += "" + BagKernel.__str__(self) s += "]" return s
def __init__(self, data_kernel): BagKernel.__init__(self, data_kernel)
def __init__(self, data_kernel, sigma=1.0): BagKernel.__init__(self, data_kernel) self.width = sigma
def __init__(self, data_kernel, mdata=100, dim=1): '''this kernel only works on rff features since it does not have a closed form''' BagKernel.__init__(self, data_kernel)
def __str__(self): s = self.__class__.__name__ + "[" s += "width=" + str(self.width) s += ", " + BagKernel.__str__(self) s += "]" return s
def __init__(self,data_kernel,sigma=1.0): BagKernel.__init__(self,data_kernel) self.width=sigma
def __str__(self): s=self.__class__.__name__+ "[" s += "width="+ str(self.width) s += ", " + BagKernel.__str__(self) s += "]" return s
def __init__(self,data_kernel): BagKernel.__init__(self,data_kernel)
def __str__(self): s=self.__class__.__name__+ "[" s += "" + BagKernel.__str__(self) s += "]" return s