Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRandSeed = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistanceFunction ¶
DistanceFunction is a function that computes the distance between two vectors NOTE: clusterer already ensures that the all the input vectors are of the same length, so we don't need to check for that here again and return error if the lengths are different.
type DistanceType ¶
type DistanceType uint16
const ( L2Distance DistanceType = iota InnerProduct CosineDistance )
Click to show internal directories.
Click to hide internal directories.