计算机应用 ›› 2016, Vol. 36 ›› Issue (1): 52-56.DOI: 10.11772/j.issn.1001-9081.2016.01.0052

• 第32届中国数据库学术会议(NDBC 2015) • 上一篇    下一篇

基于贝叶斯模型的多标签分类算法

张洛阳1, 毛嘉莉1,2, 刘斌1, 吴涛1   

  1. 1. 西华师范大学 计算机学院, 四川 南充 637002;
    2. 华东师范大学 软件学院, 上海 200241
  • 收稿日期:2015-09-05 修回日期:2015-09-25 出版日期:2016-01-10 发布日期:2016-01-09
  • 通讯作者: 毛嘉莉(1979-),女,四川南充人,副教授,博士研究生,主要研究方向:机器学习、模式识别
  • 作者简介:张洛阳(1990-),男,江苏徐州人,硕士研究生,主要研究方向:机器学习、模式识别;刘斌(1991-),男,河南南阳人,硕士研究生,主要研究方向:机器学习、模式识别;吴涛(1991-),男,四川资阳人,硕士研究生,主要研究方向:机器学习、模式识别。
  • 基金资助:
    四川省自然科学基金资助项目(14ZB0140)。

Multi-label classification algorithm based on Bayesian model

ZHANG Luoyang1, MAO Jiali1,2, LIU Bin1, WU Tao1   

  1. 1. College of Computer, China West Normal University, Nanchong Sichuan 637002, China;
    2. College of Software, East China Normal University, Shanghai 200241, China
  • Received:2015-09-05 Revised:2015-09-25 Online:2016-01-10 Published:2016-01-09
  • Supported by:
    This work is partially supported by Natural Science Foundation of Sichuan Province (14ZB0140).

摘要: 针对二元关联法(BR)未考虑标签之间相关性,容易造成分类器输出在训练集中不存在或次数较少标签的不足,提出了基于贝叶斯模型的多标签分类算法(MLBM)和马尔可夫型多标签分类算法(MMLBM)。首先,建立仿真模型分析BR算法的不足,考虑到标签的取值应由属性置信度和标签置信度共同决定,提出MLBM。其中,通过传统的分类算法计算获得属性置信度,以及通过训练集得到标签置信度。然后,考虑到MLBM在计算属性置信度时必须考虑所有已分类的标签,分类器的性能容易受无关或弱关系的标签影响,所以使用马尔可夫模型简化置信度的计算提出了MMLBM。理论分析和仿真实验表明,与BR算法相比,MMLBM的平均分类精度在emotions数据集上提高约4.8%,在yeast数据集上提高约9.8%,在flags数据集上提高约7.3%。实验结果表明,当数据集中实例的标签基数较大时,相对于BR算法,MMLBM的准确性有较大的提升。

关键词: 多标签, 贝叶斯模型, 马尔可夫模型, K近邻, 置信度

Abstract: Since the relation of labels in Binary Relevance (BR) is ignored, it is easy to cause the multi-label classifier to output not exist or less emergent labels in training data. The Multi-Label classification algorithm based on Bayesian Model (MLBM) and Markov Multi-Label classification algorithm based on Bayesian Model (MMLBM) were proposed. Firstly, to analyze the shortcomings of BR algorithm, the simulation model was established; considering the value of label should be decided by the attribute confidence and label confidence, MLBM was proposed. Particularly, the attribute confidence was calculated by traditional classification and the label confidence was obtained directly from the training data. Secondly, when MLBM calculated label confidence, it had to consider all the classified labels, thus some of no-relation or weak-relation labels would affect performance of the classifier. To overcome the weakness of MLBM, MMLBM was proposed, which used Markov model to simplify the calculation of label confidence. The theoretical analyses and simulation experiment results demonstrate that, in comparison with BR algorithm, the average classification accuracy of MMLBM increased by 4.8% on emotions dataset, 9.8% on yeast dataset and 7.3% on flags dataset. The experimental results show that MMLBM can effectively improve the classification accuracy when the label cardinality is larger in the training data.

Key words: multi-label, Bayesian model, Markov model, K Nearest Neighbor (KNN), confidence

中图分类号: