针对名老中医病例的结构特点,设计了一种基于模拟退火的聚类算法对数据库中病例聚类进行全局优化。病例聚类时,根据一般意义的树间编辑距离,提出一种用于判断XML描述的病例之间是否相似的度量(称为XML编辑距离)。利用XML编辑距离,可将XML数据间相似性度量的时间复杂度限制在多项式级,且能保持病例的XML描述文档的节点语义信息和节点间的祖孙嵌套关系。最后,在Tamino数据库上进行实验,结果证实了基于模拟退火的病例聚类算法在名老中医数据挖掘实践中的可行性和有效性。
According to characters of herbalist instances, the article designed a clustering arithmetic which based on simulating anneal to optimize the herbalist instances in database. It provided a measurement which consulted usual editing distance between trees to estimate similar degree between instances described by XML( named for XML editing distance). If made full use of XML editing distance, the time complexity which calculated similar degree between XML data could keep in multinomial level, furthermore, the semantic of nodes in document described by XML and the nested relationship among nodes could be preserved, Finally, the test performing in Tamino database gets a good result and proves that it is a feasible and effective clustering arithmetic.