def linear_kernel_matrix(self, x, y):
"""
Custom inner product. The returned matrix is a Linear Kernel Gram Matrix
:param x: your dataset
:param y: another dataset (sth like transposed(x))
"""
return ssd(x,y, dense_output = True)
评论列表
文章目录