第141行: |
第141行: |
| | | |
| <math> | | <math> |
− | EI = \frac{1}{N}\sum^N_{i=1}\sum^N_{j=1}p_{ij}\log\frac{N\cdot p_{ij}}{\sum_{k=1}^N p_{kj}}=\frac{1}{N}\sum_{i=1}^N D_{KL}(P_i||\bar{P}) | + | \begin{aligned} |
| + | EI &= \frac{1}{N}\sum^N_{i=1}\sum^N_{j=1}p_{ij}\log\frac{N\cdot p_{ij}}{\sum_{k=1}^N p_{kj}}\\ |
| + | &=\frac{1}{N}\cdot \sum_{i=1}^N\left(P_i\cdot \log P_i - P_i\cdot\log \bar{P}\right)\\ |
| + | &=\frac{1}{N}\sum_{i=1}^N D_{KL}(P_i||\bar{P}) |
| + | \end{aligned} |
| </math> | | </math> |
| | | |