Read the equation
This relation defines @brief Mutual information I(X;Y) in the source section “Mutual information I(X;Y) = H(X) + H(Y) - H(X,Y) · @brief Mutual information I(X;Y)”. It specifies the displayed relationship between the named quantities or parameters. Its interpretation depends on the source’s stated variables and conditions; this record does not assign an unprovided physical or cognitive meaning to them.
Terms & definitions
The recovered passage does not supply a separate symbol table. Read the source context for the notation used in this version; familiar letters may carry different meanings in other builds.
How it works
Read @brief Mutual information I(X;Y) as the quantity being defined or updated by this relation.
Substitute the source-defined variables or recorded values and follow the displayed arithmetic and indexing exactly.
Use this version’s variable definitions and update order. The same symbol may be assigned a different meaning in another build.
Assumptions & limits
This source expression was recovered from the pinned code revision. Its presence does not establish that the associated program was built, run, or scientifically validated.
Original context
Read the surrounding source passage
d += p[i] * std::log2(p[i] / q[i]);
}
}
return d;
}
/**
* @brief Mutual information I(X;Y) = H(X) + H(Y) - H(X,Y)
*/
inline double mutual_information(double hx, double hy, double hxy) {
return std::max(0.0, hx + hy - hxy);
}
/**
* @brief Integrated Information Φ (simplified approximation)
* Φ = I(system) - Σ I(parts)
*/
inline double integrated_information(double system_info, const double* part_info, size_t n) {Exact original notation
@brief Mutual information I(X;Y) = H(X) + H(Y) - H(X,Y)