# BSAS顺序聚类算法matlab实现代码（注释很全）

• E5_816425
了解作者
• 1.1MB
文件大小
• zip
文件格式
• 0
收藏次数
• VIP专享
资源类型
• 0
下载次数
• 2022-04-05 07:24
上传日期
BSAS顺序聚类算法matlab实现代码（注释很全）BSAS顺序聚类算法matlab实现代码（注释很全）BSAS顺序聚类算法matlab实现代码（注释很全）
BSAS.zip
• BSAS
• BSAS.doc
13.5KB
• BSAS (1).m
1.1KB
• ~\$大最小距离算法).doc
162B
• (最大最小距离算法).doc
1.1MB
• main.m
344B
• BSAS.m
514B
• main.doc
49.5KB

<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/62ba849323dfab40401dd628/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/62ba849323dfab40401dd628/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#61548;<span class="_ _0"> </span><span class="ff2">&#31639;&#27861;&#23454;&#20363;</span></div><div class="t m0 x2 h3 y3 ff3 fs0 fc0 sc0 ls0 ws0">10<span class="_ _1"> </span><span class="ff2">&#20010;&#27169;&#24335;&#26679;&#26412;&#28857;&#65306;<span class="ff4">{x</span></span></div><div class="t m0 x3 h4 y4 ff4 fs1 fc0 sc0 ls0 ws0">1</div><div class="t m0 x4 h5 y3 ff4 fs0 fc0 sc0 ls0 ws0">(0 0), x</div><div class="t m0 x5 h4 y4 ff4 fs1 fc0 sc0 ls0 ws0">2</div><div class="t m0 x6 h5 y3 ff4 fs0 fc0 sc0 ls0 ws0">(3 8), x</div><div class="t m0 x7 h4 y4 ff4 fs1 fc0 sc0 ls0 ws0">3</div><div class="t m0 x8 h5 y3 ff4 fs0 fc0 sc0 ls0 ws0">(2 2), x</div><div class="t m0 x9 h4 y4 ff4 fs1 fc0 sc0 ls0 ws0">4</div><div class="t m0 xa h5 y3 ff4 fs0 fc0 sc0 ls0 ws0">(1 1), x</div><div class="t m0 xb h4 y4 ff4 fs1 fc0 sc0 ls0 ws0">5</div><div class="t m0 xc h5 y3 ff4 fs0 fc0 sc0 ls0 ws0">(5 </div><div class="t m0 x1 h5 y5 ff4 fs0 fc0 sc0 ls0 ws0">3), x</div><div class="t m0 xd h4 y6 ff4 fs1 fc0 sc0 ls0 ws0">6</div><div class="t m0 xe h5 y5 ff4 fs0 fc0 sc0 ls0 ws0">(4 8), x</div><div class="t m0 xf h4 y6 ff4 fs1 fc0 sc0 ls0 ws0">7</div><div class="t m0 x10 h5 y5 ff4 fs0 fc0 sc0 ls0 ws0">(6 3), x</div><div class="t m0 x11 h4 y6 ff4 fs1 fc0 sc0 ls0 ws0">8</div><div class="t m0 x12 h5 y5 ff4 fs0 fc0 sc0 ls0 ws0">(5 4), x</div><div class="t m0 x13 h4 y6 ff4 fs1 fc0 sc0 ls0 ws0">9</div><div class="t m0 x14 h5 y5 ff4 fs0 fc0 sc0 ls0 ws0">(6 4), x</div><div class="t m0 x15 h4 y6 ff4 fs1 fc0 sc0 ls0 ws0">10</div><div class="t m0 x16 h5 y5 ff4 fs0 fc0 sc0 ls0 ws0">(7 5)}</div><div class="t m0 x17 h3 y7 ff2 fs0 fc0 sc0 ls0 ws0">&#31532;&#19968;&#27493;<span class="fc1 sc0">&#65306;&#36873;&#20219;&#24847;&#19968;&#20010;&#27169;&#24335;&#26679;&#26412;&#20316;&#20026;&#31532;&#19968;&#20010;&#32858;&#31867;&#20013;&#24515;&#65292;</span>&#22914;<span class="_ _1"> </span><span class="ff3">z</span></div><div class="t m0 x18 h6 y8 ff3 fs1 fc0 sc0 ls0 ws0">1 </div><div class="t m0 x19 h7 y7 ff3 fs0 fc0 sc0 ls0 ws0">= x</div><div class="t m0 x1a h6 y8 ff3 fs1 fc0 sc0 ls0 ws0">1</div><div class="t m0 x17 h3 y9 ff2 fs0 fc0 sc0 ls0 ws0">&#31532;&#20108;&#27493;<span class="fc1 sc0">&#65306;&#36873;&#36317;&#31163;</span><span class="_ _1"> </span><span class="ff3"><span class="fc1 sc0">z</span></span></div><div class="t m0 x1b h6 ya ff3 fs1 fc0 sc0 ls0 ws0"><span class="fc1 sc0">1</span></div><div class="t m0 x1c h3 y9 ff2 fs0 fc0 sc0 ls0 ws0"><span class="fc1 sc0">&#26368;&#36828;&#30340;&#26679;&#26412;&#20316;&#20026;&#31532;&#20108;&#20010;&#32858;&#31867;&#20013;&#24515;&#12290;</span></div><div class="t m0 x1d h3 yb ff2 fs0 fc0 sc0 ls0 ws0"><span class="fc1 sc0">&#32463;&#35745;&#31639;&#65292;</span><span class="ff3"><span class="fc1 sc0">|| </span><span class="fc1 sc0">x</span></span></div><div class="t m0 x1e h6 yc ff3 fs1 fc0 sc0 ls0 ws0"><span class="fc1 sc0">6</span><span class="fc1 sc0"> </span></div><div class="t m0 x3 h7 yb ff3 fs0 fc0 sc0 ls0 ws0"><span class="fc1 sc0">-</span><span class="fc1 sc0"> </span><span class="fc1 sc0">z</span></div><div class="t m0 x1f h6 yc ff3 fs1 fc0 sc0 ls0 ws0"><span class="fc1 sc0">1</span><span class="fc1 sc0"> </span></div><div class="t m0 x20 h3 yb ff3 fs0 fc0 sc0 ls0 ws0"><span class="fc1 sc0">||</span><span class="ff2"><span class="fc1 sc0">&#26368;&#22823;&#65292;&#25152;&#20197;</span><span class="_ _1"> </span></span><span class="fc1 sc0">z</span></div><div class="t m0 x21 h6 yc ff3 fs1 fc0 sc0 ls0 ws0"><span class="fc1 sc0">2</span><span class="fc1 sc0"> </span></div><div class="t m0 x7 h7 yb ff3 fs0 fc0 sc0 ls0 ws0"><span class="fc1 sc0">= </span><span class="fc1 sc0">x</span></div><div class="t m0 x22 h6 yc ff3 fs1 fc0 sc0 ls0 ws0"><span class="fc1 sc0">6</span></div><div class="t m0 x17 h3 yd ff2 fs0 fc0 sc0 ls0 ws0">&#31532;&#19977;<span class="_ _2"></span>&#27493;&#65306;<span class="_ _2"></span>&#36880;&#20010;<span class="_ _2"></span>&#35745;&#31639;<span class="_ _2"></span>&#21508;&#27169;<span class="_ _2"></span>&#24335;&#26679;<span class="_ _2"></span>&#26412;<span class="_ _3"></span><span class="ff3">{x</span></div><div class="t m0 x23 h6 ye ff3 fs1 fc0 sc0 ls0 ws0">i</div><div class="t m0 x24 h3 yd ff3 fs0 fc0 sc0 ls0 ws0">, i <span class="_ _2"></span>= 1,2,<span class="_ _2"></span>&#8230;,N}<span class="ff2">&#19982;<span class="_ _2"></span></span>{z</div><div class="t m0 x25 h6 ye ff3 fs1 fc0 sc0 ls0 ws0">1</div><div class="t m0 x26 h7 yd ff3 fs0 fc0 sc0 ls0 ws0">, z</div><div class="t m0 x27 h6 ye ff3 fs1 fc0 sc0 ls0 ws0">2</div><div class="t m0 x28 h3 yd ff3 fs0 fc0 sc0 ls0 ws0">}<span class="ff2">&#20043;<span class="_ _2"></span>&#38388;&#30340;<span class="_ _2"></span>&#36317;</span></div><div class="t m0 x1d h3 yf ff2 fs0 fc0 sc0 ls0 ws0">&#31163;&#65292;&#21363;</div><div class="t m0 x29 h7 y10 ff3 fs0 fc0 sc0 ls0 ws0">D</div><div class="t m0 x2a h6 y11 ff3 fs1 fc0 sc0 ls0 ws0">i1</div><div class="t m0 x2b h7 y10 ff3 fs0 fc0 sc0 ls0 ws0"> = || x</div><div class="t m0 x2c h6 y11 ff3 fs1 fc0 sc0 ls0 ws0">i </div><div class="t m0 x2d h7 y10 ff3 fs0 fc0 sc0 ls0 ws0">- z</div><div class="t m0 x2e h6 y11 ff3 fs1 fc0 sc0 ls0 ws0">1 </div><div class="t m0 x2f h7 y10 ff3 fs0 fc0 sc0 ls0 ws0">||</div><div class="t m0 x29 h7 y12 ff3 fs0 fc0 sc0 ls0 ws0">D</div><div class="t m0 x2a h6 y13 ff3 fs1 fc0 sc0 ls0 ws0">i2</div><div class="t m0 x2b h7 y12 ff3 fs0 fc0 sc0 ls0 ws0"> = || x</div><div class="t m0 x2c h6 y13 ff3 fs1 fc0 sc0 ls0 ws0">i </div><div class="t m0 x2d h7 y12 ff3 fs0 fc0 sc0 ls0 ws0">&#8211; z</div><div class="t m0 x30 h6 y13 ff3 fs1 fc0 sc0 ls0 ws0">2 </div><div class="t m0 x31 h7 y12 ff3 fs0 fc0 sc0 ls0 ws0">||</div><div class="t m0 x1d h3 y14 ff2 fs0 fc0 sc0 ls0 ws0">&#24182;&#36873;&#20986;&#20854;&#20013;&#30340;&#26368;&#23567;&#36317;&#31163;<span class="_ _1"> </span><span class="ff3">min(D</span></div><div class="t m0 x32 h6 y15 ff3 fs1 fc0 sc0 ls0 ws0">i1</div><div class="t m0 x16 h7 y14 ff3 fs0 fc0 sc0 ls0 ws0">, D</div><div class="t m0 x33 h6 y15 ff3 fs1 fc0 sc0 ls0 ws0">i2</div><div class="t m0 x34 h3 y14 ff3 fs0 fc0 sc0 ls0 ws0">)<span class="ff2">&#65292;</span>i = 1,2,&#8230;,N</div><div class="t m0 x17 h3 y16 ff2 fs0 fc0 sc0 ls0 ws0">&#31532;&#22235;&#27493;&#65306;&#22312;<span class="_ _2"></span>&#25152;&#26377;&#27169;&#24335;&#26679;&#26412;&#30340;&#26368;<span class="_ _2"></span>&#23567;&#20540;&#20013;&#36873;&#20986;&#26368;<span class="_ _2"></span>&#22823;&#36317;&#31163;&#65292;&#33509;&#35813;<span class="_ _2"></span>&#26368;&#22823;&#20540;</div><div class="t m0 x1d h3 y17 ff2 fs0 fc0 sc0 ls0 ws0">&#36798;<span class="_ _3"></span>&#21040;<span class="_ _2"></span><span class="ff3">||z</span></div><div class="t m0 x35 h6 y18 ff3 fs1 fc0 sc0 ls0 ws0">1<span class="_ _3"></span> </div><div class="t m0 x36 h7 y17 ff3 fs0 fc0 sc0 ls0 ws0">- <span class="_ _2"></span>z</div><div class="t m0 x37 h6 y18 ff3 fs1 fc0 sc0 ls0 ws0">2<span class="_ _3"></span> </div><div class="t m0 x12 h3 y17 ff3 fs0 fc0 sc0 ls0 ws0">||<span class="_ _3"></span><span class="ff2">&#30340;<span class="_ _2"></span>&#19968;<span class="_ _3"></span>&#23450;<span class="_ _2"></span>&#27604;<span class="_ _3"></span>&#20363;<span class="_ _3"></span>&#20197;<span class="_ _2"></span>&#19978;<span class="_ _3"></span>&#65292;<span class="_ _3"></span>&#21017;<span class="_ _2"></span>&#30456;<span class="_ _3"></span>&#24212;<span class="_ _2"></span>&#30340;<span class="_ _3"></span>&#26679;<span class="_ _3"></span>&#26412;<span class="_ _2"></span>&#28857;<span class="_ _3"></span>&#21462;<span class="_ _3"></span>&#20026;<span class="_ _2"></span>&#31532;</span></div><div class="t m0 x1d h3 y19 ff2 fs0 fc0 sc0 ls0 ws0">&#19977;&#20010;&#32858;&#31867;&#20013;&#24515;<span class="_ _1"> </span><span class="ff3">z</span></div><div class="t m0 x1f h6 y1a ff3 fs1 fc0 sc0 ls0 ws0">3</div><div class="t m0 x2c h3 y19 ff2 fs0 fc0 sc0 ls0 ws0">&#65292;&#21363;</div><div class="t m0 x38 h3 y1b ff2 fs0 fc0 sc0 ls0 ws0">&#33509;<span class="_ _1"> </span><span class="ff3">max{min(D</span></div><div class="t m0 x39 h6 y1c ff3 fs1 fc0 sc0 ls0 ws0">i1</div><div class="t m0 x2c h7 y1b ff3 fs0 fc0 sc0 ls0 ws0">, D</div><div class="t m0 x3a h6 y1c ff3 fs1 fc0 sc0 ls0 ws0">i2</div><div class="t m0 x3b h5 y1b ff3 fs0 fc0 sc0 ls0 ws0">), i = 1,2,&#8230;,N} &gt;<span class="ff4">&#952;</span>||z</div><div class="t m0 x3c h6 y1c ff3 fs1 fc0 sc0 ls0 ws0">1 </div><div class="t m0 x3d h7 y1b ff3 fs0 fc0 sc0 ls0 ws0">- z</div><div class="t m0 x3e h6 y1c ff3 fs1 fc0 sc0 ls0 ws0">2 </div><div class="t m0 x3f h3 y1b ff3 fs0 fc0 sc0 ls0 ws0">||<span class="ff2">&#65292;&#21017;<span class="_ _1"> </span></span>z</div><div class="t m0 x40 h6 y1c ff3 fs1 fc0 sc0 ls0 ws0">3 </div><div class="t m0 x41 h7 y1b ff3 fs0 fc0 sc0 ls0 ws0">= x</div><div class="t m0 x42 h6 y1c ff3 fs1 fc0 sc0 ls0 ws0">i</div><div class="t m0 x38 h3 y1d ff2 fs0 fc0 sc0 ls0 ws0">&#21542;<span class="_ _2"></span>&#21017;<span class="_ _2"></span>&#65292;<span class="_ _2"></span>&#33509;<span class="_ _3"></span>&#25214;&#19981;<span class="_ _2"></span>&#21040;<span class="_ _3"></span>&#36866;&#21512;<span class="_ _2"></span>&#35201;<span class="_ _3"></span>&#27714;&#30340;<span class="_ _3"></span>&#26679;&#26412;<span class="_ _3"></span>&#20316;&#20026;<span class="_ _3"></span>&#26032;&#30340;<span class="_ _2"></span>&#32858;<span class="_ _2"></span>&#31867;<span class="_ _3"></span>&#20013;&#24515;<span class="_ _3"></span>&#65292;</div><div class="t m0 x38 h3 y1e ff2 fs0 fc0 sc0 ls0 ws0">&#21017;&#25214;&#32858;&#31867;&#20013;&#24515;&#30340;&#36807;&#31243;&#32467;&#26463;&#12290;</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>

相关推荐
• 聚类算法程序
聚类算法中的感知器算法，用于模式识别中，有比较完整的算法描述
• 图像聚类算法图像聚类算法
图像聚类算法图像聚类算法图像聚类算法图像聚类算法图像聚类算法图像聚类算法
• Ncut聚类算法
Ncut聚类算法，可以直接运行，有例子，程序有注释。
• DBSCAN聚类算法
经典DBASCAN聚类算法，适合新手小白学习，提供了数据可出效果图
• 遗传算法聚类：用于聚类的遗传算法
遗传算法聚类 遗传聚类算法
• ap聚类算法
一个很好的利用DTW距离作相似度的ap聚类算法，同时能够自适应的调整最佳参数
• DBSCAN聚类算法
利用经典的基于密度的聚类算法，将四线激光雷达采集的数据进行聚类，剔除干扰点
• kmeans 分类算法 聚类
可以运行老师的例子，结果和别人对过， 可以采用多种输入，这个程序可以定很多点 可以研究k-means算法性能
• apcluster聚类算法
APCLUSTER Affinity Propagation Clustering (Frey/Dueck, Science 2007) 一种基于apcluster affinity propagation 聚类算法，预先输入类别数，可以实现自动聚类
• 极小化误差平方和算法聚类
极小化误差平方和算法聚类源代码，供学习研究使用