这个算法主要用在网络节点的分割.他的思想是将一个网络节点图分割成两个相等的节点集合.为了连接两个社区的边权最小. step1:随机产生两个节点的集合A和B. step2:计算A和B中的每个节点的internal cost and external cost step3:将A中的节点与B中的节点进行交换,计算两个损失权重的差值,也就是原先图的内外权重差,减去转表后的内外权重差.使这个值最后为负为止. function Kernighan-Lin(G(V,E)): determine a balan
在网上找到一篇好文,直接粘贴过来,加上一些补充和自己的理解,算作此文. My education in the fundamentals of machine learning has mainly come from Andrew Ng’s excellent Coursera course on the topic. One thing that wasn’t covered in that course, though, was the topic of “boosting” which