Skip to content

Commit

Permalink
Inserted LaTeX formulae in indirect_confirmation_measure
Browse files Browse the repository at this point in the history
  • Loading branch information
devashishd12 committed Aug 5, 2016
1 parent 946f22f commit 05a1e4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gensim/topic_coherence/indirect_confirmation_measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
The formula used to compute indirect confirmation measure is:
_ _
m_sim(m, gamma)(W', W*) = s_sim(V_m,gamma(W'), V_m,gamma(W*))
m_{sim}_{(m, \gamma)}(W', W*) = s_{sim}(\vec{V}^{\,}_{m,\gamma}(W'), \vec{V}^{\,}_{m,\gamma}(W*))
where s_sim can be cosine, dice or jaccard similarity and
_
V_m,gamma(W') = {sigma(w' belonging to W') m(w_i, w_j) ^ gamma} where j = 1, ...., |W|
\vec{V}^{\,}_{m,\gamma}(W') = \Bigg \{{\sum_{w_{i} \in W'}^{ } m(w_{i}, w_{j})^{\gamma}}\Bigg \}_{j = 1,...,|W|}
Here 'm' is the direct confirmation measure used.
"""
Expand Down

0 comments on commit 05a1e4d

Please sign in to comment.