登录
首页 » matlab » gender-classification-experiments

gender-classification-experiments

于 2012-02-02 发布 文件大小:88KB
0 208
下载积分: 1 下载次数: 126

代码说明:

  这是用身高体重数据进行性别分类的实验。 用最小错误率贝叶斯分类器决策时,首先通过比较概率大小判断一个体重身高二维向量代表的人是男是女,然后再逐一与已知性别的数据比较,就可以得到错误率的统计。然后改变先验概率,重复上面的过程,观察数据结果的变化。 用最小风险贝叶斯分类器决策时,首先求出用最小错误率贝叶斯分类器得到的条件概率;然后根据人为给定的决策表,根据公式算出条件风险;然后逐一比较条件风险,找出使条件风险最小的决策(也就是分类)。最后用分类得到的结果逐一比较已经知道的原始数据,统计处错误率。 (This is the height and weight data for gender classification experiment. With the minimum error rate Bayesian classifier decisions , first by comparing the probability of the size and weight to height to determine a person represented by two-dimensional vector is male or female , and then one by one with known gender data comparison, the statistical error rate can be . Then change the prior probability , repeat the above process , the results of the changes observed data . Bayesian classifier with the minimum risk decision-making , first find the minimum error rate using Bayesian classifier to get the conditional probability then artificially given decision table , according to the formula to calculate conditional risk and then one by one more conditional risk , to find ambassador to the conditions of minimum risk decision making (ie classification) . Finally, the results obtained with the classification by-side comparison of the raw data have been aware of SD error rate . )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • zuizong
    这是用MATLAB程序实现视频中运动的目标的跟踪检测,并附有一个小视频 (video tracing)
    2012-04-18 20:05:29下载
    积分:1
  • An-Introduction-To-Digital-Image-Processing-With-
    Matlab Book, that focuses on the description and development of image processing basic principles with matlab
    2013-04-25 19:56:29下载
    积分:1
  • OTDR-processing
    光纤微振动传感器之相位OTDR方案信号处理程序,基于matlab程序的处理,可以直接仿真。(Fiber distributed disturbance sensor, phase OTDR scheme signal processing program, based on matlab program,can be simulated directly.)
    2012-03-20 23:33:28下载
    积分:1
  • xiaobosuanfa
    采样频率 fs=10000 轴承外环故障信号 fid=fopen( bearingout.dat , r ) 故障 N=1024 xdata=fread(fid,N, int16 ) fclose(fid) xdata=(xdata-mean(xdata))/std(xdata,1) 时域波形 figure(1) plot(1:N,xdata) xlabel( 时间 t/n ) ylabel( 电压 V/v ) db10小波进行4层分解 一维小波分解 [c,l] = wavedec(xdata,4, db10 ) 重构第1~4层细节信号 d4 = wrcoef( d ,c,l, db10 ,4) d3 = wrcoef( d ,c,l, db10 ,3) d2 = wrcoef( d ,c,l, db10 ,2) d1 = wrcoef( d ,c,l, db10 ,1) ( Sampling frequency fs = 10000 bearing outer ring fault signal fid = fopen (' bearingout.dat' , ' r' ) failure N = 1024 xdata = fread (fid, N, ' int16' ) fclose (fid ) xdata = (xdata-mean (xdata))/std (xdata, 1) time-domain waveform figure (1) plot (1: N, xdata) xlabel (' Time t/n' ) ylabel ( ' voltage V/v' ) db10 wavelet decomposition 4 layer one-dimensional wavelet decomposition [c, l] = wavedec (xdata, 4, ' db10' ) 1 ~ 4 reconstructed detail signal d4 = wrcoef (' d' , c, l, ' db10' , 4) d3 = wrcoef (' d' , c, l, ' db10' , 3) d2 = wrcoef (' d' , c, l, ' db10' , 2) d1 = wrcoef (' d' , c, l, ' db10' , 1) )
    2011-05-21 16:48:36下载
    积分:1
  • ybusppg
    this code can help to analyze electrical flow system
    2012-06-01 13:50:33下载
    积分:1
  • test2
    ofdm reciever side clean output for the transmitted code
    2011-10-03 20:26:09下载
    积分:1
  • nakagami
    This script illustrates the fading in gmsk under nakagami distribution.A reference paper is also included.
    2013-11-16 22:53:02下载
    积分:1
  • LMS
    里面的文档详细阐述了LMS原理,包括常用的仿真方法,并附有使用LMS方法的自适应滤波的实例matlab仿真程序。(The document inside expounds the principles of the LMS in detail, including the simulation methods and a matlab simulation program of an adaptive filtering by using the LMS method.)
    2014-01-12 11:24:40下载
    积分:1
  • pso_dispatch
    日前调度计划,对负荷、风电、光伏、燃气轮机、蓄电池的日前出力计划进行调度,实验粒子群算法,获得运行成本最优调度计划(Recently scheduling, load, wind power, photovoltaic, gas turbines, battery output plan before scheduling, particle swarm optimization experiments to obtain optimal scheduling operating costs)
    2016-05-27 14:35:30下载
    积分:1
  • neidandao
    说明:  使用经典内弹道理论,对单个装药的管状装药进行内弹道计算,包括压力,速度等(Using the classical interior ballistic theory, the interior ballistic calculation of a single charge is carried out, including pressure, velocity and so on.)
    2019-01-23 16:16:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载