<分区>
我想计算这个示例方案的熵
http://nlp.stanford.edu/IR-book/html/htmledition/evaluation-of-clustering-1.html
熵方程
那么熵就是(第一行)
所以熵就是这个方案
For the first cluster - ( (5/6)*Log(5/6) + (1/6)*Log(1/6) )
For the second cluster - ( (1/6)*Log(1/6) + (1/6)*Log(1/6) + (4/6)*Log(4/6) )
For the third cluster - ( (2/5)*Log(2/5) + (3/5)*Log(3/5) )
最终的熵是:
FirtCluster_Entropy + SecondCluster_Entropy + ThirdCluster_Entropy
我说的对吗?