用身高和/或体重数据进行性别分类

用身高和/或体重数据进行性别分类

 

摘要】根据身高和/或体重等数据,利用模式识别贝叶斯(bayes)分类器来对人的性别进行分类,做出函数图,使得我们容易分析这两者之间的异同。熟练运用matlab的相关知识,掌握最小错误率Bayes分类器的决策规则。

关键词:贝叶斯(bayes)分类器;matlab;决策规则。

 

Gender classification using height and/or weight data


Abstract: According to the data of height and / or weight, Bayesian (bayes) classifier is used to classify human gender and make function diagram, which makes it easy to analyze the similarities and differences between the two. Proficient in the use of matlab knowledge, grasp the minimum error rate Bayes classifier decision rules.

Key words: Bayesian (bayes) classifie、Fisher、matlab、Decision-making rules

 

 

 

1  引言

我们根据身高和/或体重等数据,利用贝叶斯(Bayes)分类器实现对人的性别分类。

 

2  贝叶斯分类器介绍

2.1贝叶斯分类器

分类有基于规则的分类(查询)和非规则分类(有指导学习),贝叶斯分类是非规则分类,它通过训练集(已分类的例子集)训练来归纳出分类器,并利用分类器对未分类的数据进行分类,用其基本思想是依据类的概率、概率密度,根据某种准则使用分类结果从统计上讲是最佳的。

 

3  实验原理

3.1最小错误率Bayes分类器的决策规则

如果在特征空间中观察到某一个(随机)向量x = ( x1 , x2 ,…, xd )T,已知类别状态的先验概率为: 和类别的条件概率密度为 ,根据Bayes公式得到状态的后验概率 有: 

基本决策规则:如果 ,则 ,将 x 归属后验概率最大的类别 。

4

你可能感兴趣的:(模式识别)