Skip to content

Commit a5a2aaa

Browse files
authored
Update compute.py
1 parent 2c2fdaa commit a5a2aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semantic_similarity_rating/compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def response_embeddings_to_pmf(matrix_responses, matrix_likert_sentences, epsilo
7575
7676
Notes
7777
-----
78-
This implements the ESR equation:
78+
This implements the SSR equation:
7979
p_{c,i}(r) = [γ(σ_{r,i}, t_c̃) - γ(σ_ℓ,i, t_c̃) + ε δ_ℓ,r] /
8080
[Σ_r γ(σ_{r,i}, t_c̃) - n_points * γ(σ_ℓ,i, t_c̃) + ε]
8181
where γ is the cosine similarity function, δ_ℓ,r is the Kronecker delta,

0 commit comments

Comments
 (0)