朴素贝叶斯算法分类器

  • n5_240003
    了解作者
  • 1.4MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-12 10:37
    上传日期
模式识别里的课堂作业,好不容易写出来供大学来分享
Games.rar
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/627c72f29b6e2b6d5511bc6e/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/627c72f29b6e2b6d5511bc6e/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">F<span class="_ _0"></span>ALL-2008<span class="ff2 ls1"> </span><span class="ff3 fs1 fc1 sc1"> <span class="ff4">&#20154;&#24037;<span class="_ _1"></span>&#26234;<span class="_ _0"></span>&#33021;&#23548;&#35770;&#31532;<span class="_ _2"></span>&#19968;&#27425;&#22823;&#20316;<span class="_ _2"></span>&#19994;<span class="ff3"> <span class="_ _3"></span><span class="ff2 fs0 fc0 sc0 ls1"> <span class="ff1 ls0"> <span class="_"> </span>2008-<span class="_ _2"></span>11-8<span class="_ _0"></span> </span></span></span></span></span></div><div class="t m0 x2 h3 y2 ff2 fs2 fc0 sc0 ls0 ws0">Cop<span class="_ _1"></span>yr<span class="_ _1"></span>i<span class="_ _4"></span>ght@Sc<span class="_ _1"></span>h<span class="_ _1"></span>oo<span class="_ _0"></span>l<span class="_ _3"></span> o<span class="_ _1"></span>f Softwa<span class="_ _1"></span>r<span class="_ _1"></span>e,<span class="_ _5"></span>TH<span class="_ _1"></span>U 20<span class="_ _1"></span>0<span class="_ _3"></span>8<span class="_ _3"></span> </div><div class="t m0 x3 h4 y3 ff5 fs3 fc0 sc2 ls0 ws0">Ba<span class="_ _1"></span>yes<span class="_ _6"> </span><span class="ff6">&#20998;&#31867;&#22120;&#8212;&#8212;&#31639;&#27861;&#35774;&#35745;</span> </div><div class="t m0 x4 h5 y4 ff2 fs4 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h6 y5 ff6 fs5 fc0 sc0 ls2 ws0">&#19968;&#12289;<span class="_ _2"></span><span class="ff3 ls0"> <span class="_"> </span><span class="ff6 ls2">&#38382;&#39064;&#25551;&#36848;<span class="_ _2"></span><span class="ff5 ls0"> </span></span></span></div><div class="t m0 x5 h7 y6 ff2 fs4 fc0 sc0 ls0 ws0">1<span class="ff4">&#65294;<span class="ff7"> <span class="_ _2"></span><span class="ff4 ls2">&#20351;&#29992;&#20915;&#31574;&#26641;<span class="ff2 ls0">(Dec<span class="_ _1"></span>is<span class="_ _0"></span>io<span class="_ _0"></span>n<span class="_ _1"></span> t<span class="_ _1"></span>ree)<span class="ff4">&#20998;&#31867;&#31639;&#27861;&#12289;<span class="_ _7"></span>&#26420;&#32032;&#36125;&#21494;&#26031;<span class="_ _7"></span>&#65288;<span class="ff2">Na&#239;<span class="_ _8"></span>ve <span class="_ _0"></span>B<span class="_ _1"></span>a<span class="_ _1"></span>yes<span class="_ _0"></span><span class="ff4">&#65289;<span class="_ _7"></span>&#31639;&#27861;&#25110;&#32773;<span class="_ _9"> </span><span class="ff2">K-<span class="_ _0"></span><span class="ff4">&#36817;&#37051;<span class="_ _7"></span>&#65288;<span class="ff2">k<span class="_ _0"></span>NN<span class="ff4">&#65289;</span></span></span></span></span></span></span></span></span></span></span></div><div class="t m0 x6 h8 y7 ff4 fs4 fc0 sc0 ls0 ws0">&#31639;&#27861;<span class="_ _2"></span>&#65288;&#19977;&#32773;&#20219;&#36873;&#20854;<span class="_ _1"></span>&#19968;&#65289;<span class="_ _2"></span>&#23545;&#32473;&#23450;&#30340;&#35757;&#32451;<span class="_ _1"></span>&#25968;&#25454;&#38598;&#26500;&#36896;&#20998;&#31867;&#22120;&#65292;<span class="_ _0"></span>&#24182;&#22312;&#27979;&#35797;&#25968;&#25454;&#38598;&#19978;&#36827;&#34892;&#20998;</div><div class="t m0 x6 h8 y8 ff4 fs4 fc0 sc0 ls2 ws0">&#31867;&#39044;&#27979;&#12290;<span class="ff2 ls0"> </span></div><div class="t m0 x5 h7 y9 ff2 fs4 fc0 sc0 ls0 ws0">2<span class="ff4">&#65294;<span class="ff7"> <span class="_ _2"></span><span class="ff4 ls2">&#25968;&#25454;&#38598;&#25551;&#36848;&#65306;<span class="ff2 ls0"> </span></span></span></span></div><div class="t m0 x6 h8 ya ff2 fs4 fc0 sc0 ls0 ws0">T<span class="ls3">ic<span class="_ _1"></span></span>-ta<span class="_ _1"></span>c-toe<span class="_ _9"> </span><span class="ff4 ls2">&#28216;&#25103;&#30340;&#20108;&#21449;&#20998;&#31867;&#12290;</span>T<span class="ls3">ic</span>-ta<span class="_ _1"></span>c<span class="_ _1"></span>-<span class="_ _5"></span>t<span class="_ _1"></span>oe<span class="_ _9"> </span><span class="ff4 ls2">&#28216;&#25103;&#31034;&#20363;&#22914;&#19979;&#65306;<span class="_ _2"></span><span class="ff2 ls0"> </span></span></div><div class="t m0 x7 h5 yb ff2 fs4 fc0 sc0 ls0 ws0"> </div><div class="t m0 x6 h8 yc ff4 fs4 fc0 sc0 ls2 ws0">&#28216;&#25103;&#21452;&#26041;&#20998;&#21035;&#20351;&#29992;<span class="_ _a"> </span><span class="ff2 ls0">X<span class="_ _a"> </span><span class="ff4">&#21644;<span class="_ _b"> </span></span>O<span class="_ _a"> </span><span class="ff4">&#26469;&#22635;&#20805;&#20061;&#23467;&#26684;&#65292;<span class="_ _c"></span>&#21738;&#26041;&#20808;&#23558;&#19977;&#20010;&#26684;&#23376;&#36830;&#25509;&#25104;&#19968;<span class="_ _1"></span>&#26465;&#30452;&#32447;<span class="_ _c"></span>&#65288;&#27700;&#24179;&#65292;</span></span></div><div class="t m0 x6 h8 yd ff4 fs4 fc0 sc0 ls2 ws0">&#31446;&#30452;&#25110;&#23545;&#35282;&#32447;&#22343;&#21487;&#65289;<span class="_ _c"></span>&#65292;&#21017;&#27492;&#26041;&#33719;&#32988;&#12290;&#20363;&#22914;&#19978;&#22270;&#20013;&#65292;&#25191;<span class="_ _d"> </span><span class="ff2 ls0">O<span class="_ _d"> </span></span>&#30340;&#19968;&#26041;&#33719;&#32988;&#12290;<span class="_ _2"></span><span class="ff2 ls0"> </span></div><div class="t m0 x6 h8 ye ff4 fs4 fc0 sc0 ls2 ws0">&#25968;&#25454;&#38598;&#20013;&#27599;&#19968;&#34892;&#25551;&#36848;&#19968;&#23616;&#28216;&#25103;&#32467;&#26463;&#26102;&#30340;&#29366;&#24577;&#65292;&#21069;&#20061;&#20010;&#23646;&#24615;&#25551;&#36848;<span class="_ _e"> </span><span class="ff2 ls0">9<span class="_ _f"> </span></span>&#20010;&#26041;&#26684;&#20013;&#30340;&#20803;&#32032;&#65292;</div><div class="t m0 x6 h8 yf ff4 fs4 fc0 sc0 ls2 ws0">&#26368;&#21518;&#19968;&#20010;&#23646;&#24615;&#20026;&#20998;&#31867;&#26631;&#31614;<span class="_ _7"></span>&#65288;<span class="_ _0"></span><span class="ff2 ls0">x<span class="_ _9"> </span><span class="ff4">&#26041;&#36194;&#25110;&#36755;&#65289;<span class="_ _c"></span>&#12290;<span class="_ _7"></span>&#35814;&#32454;&#30340;&#35828;&#26126;&#35831;&#21442;&#30475;&#38468;&#20214;&#20013;&#30340;&#25968;&#25454;<span class="_ _1"></span>&#35828;&#26126;&#25991;&#26723;&#12290;<span class="_ _c"></span><span class="ff2"> </span></span></span></div><div class="t m0 x5 h7 y10 ff2 fs4 fc0 sc0 ls0 ws0">3<span class="ff4">&#65294;<span class="ff7"> <span class="_ _2"></span><span class="ff4 ls2">&#30456;&#20851;&#25991;&#20214;&#35828;&#26126;&#65306;<span class="ff2 ls0"> </span></span></span></span></div><div class="c x8 y11 w2 h9"><div class="t m0 x9 h8 y12 ff4 fs4 fc0 sc2 ls2 ws0">&#25991;&#20214;&#21517;&#31216;<span class="ff8 sc0 ls0"> </span></div></div><div class="c xa y11 w3 h9"><div class="t m0 xb h8 y12 ff4 fs4 fc0 sc2 ls2 ws0">&#25991;&#20214;&#25551;&#36848;<span class="ff8 sc0 ls0"> </span></div></div><div class="c x8 y13 w2 ha"><div class="t m0 xb h5 y14 ff2 fs4 fc0 sc0 ls0 ws0">tr<span class="_ _1"></span>aini<span class="_ _0"></span>ng.<span class="_ _1"></span>t<span class="_ _1"></span>x<span class="_ _0"></span>t<span class="_ _0"></span> </div></div><div class="c xa y13 w3 ha"><div class="t m0 xc h8 y15 ff4 fs4 fc0 sc0 ls2 ws0">&#35757;&#32451;&#25968;&#25454;&#38598;<span class="ff2 ls0"> </span></div></div><div class="c x8 y16 w2 ha"><div class="t m0 xd h5 y14 ff2 fs4 fc0 sc0 ls0 ws0">test.<span class="_ _0"></span>t<span class="_ _1"></span>xt<span class="_ _0"></span> </div></div><div class="c xa y16 w3 ha"><div class="t m0 xc h8 y15 ff4 fs4 fc0 sc0 ls2 ws0">&#27979;&#35797;&#25968;&#25454;&#38598;<span class="ff2 ls0"> </span></div></div><div class="c x8 y17 w2 ha"><div class="t m0 xe h5 y14 ff2 fs4 fc0 sc0 ls0 ws0">tic-ta<span class="_ _1"></span>c-toe.<span class="_ _1"></span>names<span class="_ _0"></span>.<span class="_ _1"></span>t<span class="_ _1"></span>x<span class="_ _2"></span>t<span class="_ _0"></span> </div></div><div class="c xa y17 w3 ha"><div class="t m0 xe h8 y15 ff4 fs4 fc0 sc0 ls2 ws0">&#35814;&#32454;&#25968;&#25454;&#35828;&#26126;&#25991;&#26723;<span class="ff2 ls0"> </span></div></div><div class="c x8 y18 w2 ha"><div class="t m0 xf h5 y14 ff2 fs4 fc0 sc0 ls0 ws0">res<span class="_ _0"></span>ult.<span class="_ _1"></span>t<span class="_ _1"></span>xt<span class="_ _0"></span> </div></div><div class="c xa y18 w3 ha"><div class="t m0 x10 h8 y15 ff4 fs4 fc0 sc0 ls2 ws0">&#39044;&#27979;&#20998;&#31867;&#25968;&#25454;&#38598;<span class="ff2 ls0"> </span></div></div><div class="t m0 x6 h5 y19 ff2 fs4 fc0 sc0 ls0 ws0"> </div><div class="t m0 x5 h7 y1a ff2 fs4 fc0 sc0 ls0 ws0">4<span class="ff4">&#65294;<span class="ff7"> <span class="_ _2"></span><span class="ff4 ls2">&#31639;&#27861;&#26377;&#25928;&#24615;&#39564;&#35777;<span class="ls0">&#65306;<span class="ff2"> </span></span></span></span></span></div><div class="t m0 x11 h8 y1b ff2 fs4 fc0 sc0 ls0 ws0"> <span class="_ _10"></span> <span class="_ _11"> </span><span class="ff4 ls2">&#35757;&#32451;&#20998;&#31867;&#22120;&#26102;&#65292;&#21487;&#20197;&#20351;&#29992;&#35838;&#19978;&#25552;&#21040;&#30340;<span class="_ _d"> </span></span>k<span class="_ _d"> </span><span class="ff4 ls2">&#25240;&#20132;&#21449;&#39564;&#35777;&#26041;&#27861;&#20197;&#26816;&#27979;&#31639;&#27861;&#26377;&#25928;&#24615;&#12290;</span> </div><div class="t m0 x11 h5 y1c ff2 fs4 fc0 sc0 ls0 ws0"> </div></div><div class="pi" data-data='{"ctm":[1.611161,0.000000,0.000000,1.611161,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • 协同表示分类算法
      协同表示分类算法,代码完整,可以直接运行,可用于各种模式识别分类问题。
    • 贝叶斯分类算法
      贝叶斯分类算法,使用B/S模式实现,通过用户在客户端选择条件,自动计算出结果
    • 很好的SVM分类算法
      这是一个很好的SVM分类算法,可以对要进行分类的特征进行识别。
    • Bayes分类算法
      Bayes分类算法,用Python实现,在两个小数据集上准确率为97%和88%,代码简单,适合学习
    • 文本分类算法.rar
      一个很简单的文本分类算法 使用方法: 命令行参数: -t 文本文件路径 -m 你的模型文件路径 -c 可选,类别(hit 或 miss) 如果提供了-c则用于训练,否则被模型分类,输出该文本的类型(hit或miss)
    • Bayes分类算法 VC实现
      Bayes分类算法 VC实现 程序源代码
    • 多重信号分类算法
      可进行波达方向估计(DOA),高分辨率现代谱估计等。
    • 分类:不同分类算法的实现
      分类 不同分类算法的实现
    • 线性分类算法
      SVM的简单数据分类N1=440; for i=1:N1 x1(1,i)=-1.7+0.9*randn(1); x1(2,i)= 1.6+0.7*randn(1); end; N2=400; for i=1:N2 x2(1,i)= 1.3+0.9*randn(1); x2(2,i)=-1.5+0.7*randn(1); end;
    • HADOOP分类算法
      HADOOP分类算法还有Hadoop聚类算法,可以继续搜索