try

package
v0.0.0-...-e2b215a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Insert

func Insert(h *hnsw.HNSW[kv.VF32], threads int, dataset string) error

Insert dataset

func New

func New(vs int) *hnsw.HNSW[kv.VF32]

New HNSW Index for given vector's dimension

func Query

func Query(h *hnsw.HNSW[kv.VF32], k int, query []float32, truth []uint32) (int, float64)

Query index comparing with ground truth

func Test

func Test(h *hnsw.HNSW[kv.VF32], dataset string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL