From 05a1e4d5b202cf090c88fc5c169e9780affe9773 Mon Sep 17 00:00:00 2001 From: dsquareindia Date: Fri, 5 Aug 2016 19:24:24 +0530 Subject: [PATCH] Inserted LaTeX formulae in indirect_confirmation_measure --- gensim/topic_coherence/indirect_confirmation_measure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gensim/topic_coherence/indirect_confirmation_measure.py b/gensim/topic_coherence/indirect_confirmation_measure.py index e1807f762a..f4316a97bc 100644 --- a/gensim/topic_coherence/indirect_confirmation_measure.py +++ b/gensim/topic_coherence/indirect_confirmation_measure.py @@ -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. """