Documentation ¶
Overview ¶
Package pairwise implements utilities to evaluate pairwise distances or inner product (via kernel).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Euclidean ¶
type Euclidean struct{}
func NewEuclidean ¶
func NewEuclidean() *Euclidean
type PolyKernel ¶
type PolyKernel struct {
// contains filtered or unexported fields
}
func (*PolyKernel) InnerProduct ¶
Compute inner product through kernel trick K(x, y) = (x^T y + 1)^d
Click to show internal directories.
Click to hide internal directories.