聚类是数据挖掘的主要任务之一,基于蚂蚁堆形成原理的LF算法是蚁群聚类的经典算法.给出了LF算法在Matlab环境下的详细实现过程,包含算法的基本思想、使用的数据结构、算法的流程图,最后使用UCI数据集Iris进行了验证,给出了算法运行的参数设置数据和算法运行结果的图形表示.%Clustering is one of the major tasks of data mining; the LF algorithm based on ant heap forming principle is ant colony clustering classic algorithms. This paper presents the detailed implementation process of the LF algorithm in MATLAB the environment contains the basic idea of the algorithm, and use of the data structure, algorithm flow chart, the last UCI data sets Iris verified given set of parameters of the algorithm running data and algorithm running results of the graphical.
展开▼