陈磊+普运伟
摘要:遗传算法是一种随机搜索算法,适用于解决许多复杂的智能优化问题。然而,经典遗传算法具有收敛速度慢和易早熟缺陷。为了找到一种普适性高且效果好的改进遗传算法,解决数据聚类问题,提出一种新的遗传算法改进策略。该策略同时保留父代及交叉产生的个体中的绝大部分精英,用来替换掉变异后同等数量的最差个体,并且将交叉与变异概率提高到1,这样不仅能很好地保留住已产生的精英个体,引导算法稳定地向最优解进化,还可最大限度地使算法获得开拓新的解空间能力。实验结果表明,该方法具有较高的聚类准确性和收敛率,平均收敛准确率为94.67%,平均收敛率为100%,且收敛速度较快,是一种适合解决数据聚类问题的可行方案。
关键词:改进遗传算法;精英保存策略;数据聚类
DOIDOI:10.11907/rjdk.171997
中图分类号:TP301
文獻标识码:A 文章编号:1672-7800(2017)012-0015-04
Abstract:Genetic algorithm is a stochastic search algorithm, which is applied to solving many complex intelligent optimization problems. However, the classical genetic algorithm has disadvantages of slow convergence speed and easy prematurity. In order to find an improved genetic algorithm with high universality and good effect to solve general data clustering problems, this paper proposes a new revised strategy about GA, which retains parts of the elites in the parents and in the individuals after crossover and increases the probability of cross and mutation to 1. Through these strategies, the novel improved GA makes the algorithm maximize the ability of exploiting new solution spaces, and retains the generated elites well. The experimental results show that, the proposed method has higher clustering accuracy and rate of convergence than two recent improved genetic strategies, whose average accuracy rate achieves 94.67% and average rate of convergence is 100%. In addition, the convergence speed of the proposed method is so fast that it can be as a feasible solution to solve data clustering problems.
Key Words:improved genetic algorithm;elitism strategy;data clustering
0 引言
遗传算法是一种随机搜索算法,其基本思想源于生物进化论和群体遗传学,是模拟自然界生物进化过程与机制,求解极值问题的一类自组织、自适应人工智能技术[1-2]。遗传算法对各种优化问题通用性很强,特别是在解决一些传统数学方法难以解决的复杂非线性问题时具有明显优势。因此,在复杂函数优化、组合优化、生产调度、图像识别和机器学习等众多领域都获得了成功[3-4]。但是,在实际应用中,传统遗传算法显现出诸多缺点。针对这些问题,学者们提出了许多新的改进方法。如文献[5]构建了一种小生境遗传算法,运用分裂型社区结构发现算法划分超级个体关系网来获得生境,同时提取生境中的共有模式以改善算法效果;……