Skip to content

Commit

Permalink
Write down formula in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Jul 14, 2020
1 parent bf6146a commit ef019a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions citip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ void ParserOutput::add_term(SparseVector& v, const ast::Term& t, double scale)
// Here, it is calculated as the alternating sum of (conditional)
// entropies of all subsets of the parts [Jakulin & Bratko (2003)].
//
// I(X₁:…:Xₙ|Y) = - Σ (-1)^|T| H(T|Y)
//
// where the sum is over all T ⊆ {X₁, …, Xₙ}.
//
// See: http://en.wikipedia.org/wiki/Multivariate_mutual_information

std::vector<int> set_indices(num_parts);
Expand Down

0 comments on commit ef019a1

Please sign in to comment.