cosine

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cosine provides a function for computing cosine similarity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Similarity

func Similarity(a, b []float32) float64

Similarity returns cosine similarity between the two vectors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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