public class RelevanceScore extends Object
| Constructor and Description |
|---|
RelevanceScore() |
| Modifier and Type | Method and Description |
|---|---|
static double |
cosine(float[] a,
float[] b)
Calculates the relevance score between two vectors using cosine similarity.
|
Copyright © 2023. All rights reserved.