摘要
针对关系型数据库的SQL语言只能进行精确查询的缺陷,在模糊逻辑理论的基础上,提出关系数据库应用模糊聚类分析进行模糊查询的方法.将要查询的属性值直接应用模糊聚类分析进行计算,使用Kruskal算法形成的最大树进行动态分类,应用映射函数将其映射到相应的模糊集合,即根据被查询数据本身的特性进行聚类,从而得到查询结果,避免了使用人为定义隶属函数进行模糊查询带来的主观性,提高了模糊查询的可信度和通用性.实验结果表明,使用模糊聚类分析进行模糊查询在避免了主观性的同时得到了较为理想的结果.
This paper puts the method of using fuzzy clustering analysis to get the fuzzy query in the relational database, which based on the fuzzy logic theory,to get rid of the defects of the SQL which can only be used on accurately query. The method is applied as follows: The attribute values of the query are computed by the fuzzy clustering analysis, and then be dynamic classified by using the Kruskal algorithm, next, the data mapped to the corresponding fuzzy sets by using the mapping function, which means the clustering of data is applied by the characteristics of the query data itself. By the above efforts, we can get more reliable and general results of the query which could avoid the subjectivity of the fuzzy query by defining of membership functions artificially. Experimental results show that the use of fuzzy clustering analysis for fuzzy queries have got more ideal query results while avoiding the subjectivity.
出处
《小型微型计算机系统》
CSCD
北大核心
2015年第6期1199-1202,共4页
Journal of Chinese Computer Systems
基金
国家社科青年基金项目(13CRK027)资助
作者简介
作者简介:王青松。男,1974年生,硕士,副教授,研究方向为数据库及其应用;
李爽。女,1987年生,硕士研究生,研究方向为数据库及其应用;
马瑞萍,女,1988年生,硕士研究生,研究方向为数据库及其应用;
齐东涛。男,1987年生,硕士研究生,研究方向为图形图像处理.