{"id":68953,"date":"2026-01-30T22:57:01","date_gmt":"2026-01-30T14:57:01","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/68953.html"},"modified":"2026-01-30T22:57:01","modified_gmt":"2026-01-30T14:57:01","slug":"%e6%97%a0%e7%9b%91%e7%9d%a3%e5%ad%a6%e4%b9%a0%e6%a6%82%e8%bf%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/68953.html","title":{"rendered":"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E6%97%A0%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0-toc\" style=\"margin-left:40px\">\u65e0\u76d1\u7763\u5b66\u4e60<\/p>\n<p id=\"%E5%AE%9A%E4%B9%89-toc\" style=\"margin-left:80px\">\u5b9a\u4e49<\/p>\n<p id=\"%E8%81%9A%E7%B1%BB-toc\" style=\"margin-left:80px\">\u805a\u7c7b<\/p>\n<p id=\"%E7%AE%80%E4%BB%8B-toc\" style=\"margin-left:120px\">\u7b80\u4ecb<\/p>\n<p id=\"K-Means%20%E7%AE%97%E6%B3%95-toc\" style=\"margin-left:120px\">K-Means \u7b97\u6cd5<\/p>\n<p id=\"%E5%BC%82%E5%B8%B8%E6%A3%80%E6%B5%8B-toc\" style=\"margin-left:80px\">\u5f02\u5e38\u68c0\u6d4b<\/p>\n<p id=\"%E7%AE%80%E4%BB%8B-toc\" style=\"margin-left:120px\">\u7b80\u4ecb<\/p>\n<p id=\"%E9%AB%98%E6%96%AF%E6%AD%A3%E6%80%81%E5%88%86%E5%B8%83-toc\" style=\"margin-left:120px\">\u9ad8\u65af\u6b63\u6001\u5206\u5e03<\/p>\n<p id=\"%E8%AF%84%E4%BC%B0%E5%BC%82%E5%B8%B8%E6%A3%80%E6%B5%8B%E7%B3%BB%E7%BB%9F-toc\" style=\"margin-left:120px\">\u8bc4\u4f30\u5f02\u5e38\u68c0\u6d4b\u7cfb\u7edf<\/p>\n<p id=\"%E5%BC%82%E5%B8%B8%E6%A3%80%E6%B5%8B%20vs%20%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0-toc\" style=\"margin-left:120px\">\u5f02\u5e38\u68c0\u6d4b vs \u76d1\u7763\u5b66\u4e60<\/p>\n<p id=\"%E7%89%B9%E5%BE%81%E9%80%89%E6%8B%A9-toc\" style=\"margin-left:120px\">\u7279\u5f81\u9009\u62e9<\/p>\n<p id=\"%E4%B8%BB%E6%88%90%E5%88%86%E5%88%86%E6%9E%90%EF%BC%88PCA%EF%BC%89-toc\" style=\"margin-left:80px\">\u4e3b\u6210\u5206\u5206\u6790&#xff08;PCA&#xff09;<\/p>\n<p id=\"%E9%99%8D%E7%BB%B4-toc\" style=\"margin-left:80px\">\u964d\u7ef4<\/p>\n<p id=\"%E5%85%B3%E8%81%94%E8%A7%84%E5%88%99%E5%AD%A6%E4%B9%A0-toc\" style=\"margin-left:80px\">\u5173\u8054\u89c4\u5219\u5b66\u4e60<\/p>\n<\/p>\n<h3 id=\"%E6%97%A0%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0\" style=\"background-color:transparent\">\u65e0\u76d1\u7763\u5b66\u4e60<\/h3>\n<h4 id=\"%E5%AE%9A%E4%B9%89\">\u5b9a\u4e49<\/h4>\n<p>\u5728\u6ca1\u6709\u6807\u51c6\u7b54\u6848&#xff08;\u6807\u8bb0&#xff09;\u7684\u60c5\u51b5\u4e0b&#xff0c;\u4ece\u6570\u636e\u672c\u8eab\u4e2d\u53d1\u73b0\u5185\u5728\u7684\u7ed3\u6784\u3001\u6a21\u5f0f\u548c\u89c4\u5f8b\u3002<\/p>\n<h4 id=\"%E8%81%9A%E7%B1%BB\">\u805a\u7c7b<\/h4>\n<h5 id=\"%E7%AE%80%E4%BB%8B\">\u7b80\u4ecb<\/h5>\n<ul>\n<li>\n<p>\u76ee\u6807&#xff1a;\u5c06\u6570\u636e\u5206\u7ec4&#xff0c;\u4f7f\u5f97\u7ec4\u5185\u6837\u672c\u76f8\u4f3c&#xff0c;\u7ec4\u95f4\u6837\u672c\u4e0d\u76f8\u4f3c\u3002<\/p>\n<\/li>\n<li>\n<p>\u597d\u6bd4&#xff1a;\u4f60\u5c06\u4e00\u5806\u4e0d\u540c\u7684\u6c34\u679c\u6df7\u5728\u4e00\u8d77&#xff0c;\u7136\u540e\u7b97\u6cd5\u6839\u636e\u5b83\u4eec\u7684\u5f62\u72b6\u3001\u989c\u8272\u3001\u5927\u5c0f&#xff0c;\u81ea\u52a8\u5206\u6210\u201c\u82f9\u679c\u5806\u201d\u3001\u201c\u9999\u8549\u5806\u201d\u3001\u201c\u6a59\u5b50\u5806\u201d\u3002\u4f60\u4e8b\u5148\u5e76\u6ca1\u6709\u544a\u8bc9\u7b97\u6cd5\u201c\u82f9\u679c\u201d\u662f\u4ec0\u4e48\u3002<\/p>\n<\/li>\n<li>\n<p>\u5173\u952e\u672f\u8bed&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6837\u672c\/\u6570\u636e\u70b9&#xff1a;\u6570\u636e\u96c6\u4e2d\u7684\u6bcf\u4e2a\u4e2a\u4f53&#xff08;\u5982\u6bcf\u4e2a\u5ba2\u6237\u3001\u6bcf\u7bc7\u6587\u7ae0&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u7279\u5f81\/\u7ef4\u5ea6&#xff1a;\u63cf\u8ff0\u6837\u672c\u7684\u5c5e\u6027&#xff08;\u5982\u5ba2\u6237\u7684\u5e74\u9f84\u3001\u6536\u5165&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u7c07\/\u7c7b&#xff1a;\u805a\u7c7b\u540e\u5f62\u6210\u7684\u5206\u7ec4<\/p>\n<\/li>\n<li>\n<p>\u8d28\u5fc3&#xff1a;\u4e00\u4e2a\u7c07\u7684\u4e2d\u5fc3\u70b9&#xff08;\u901a\u5e38\u662f\u8be5\u7c07\u6240\u6709\u70b9\u7684\u5e73\u5747\u503c&#xff09;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u7ecf\u5178\u7b97\u6cd5&#xff1a;K-Means, DBSCAN, \u5c42\u6b21\u805a\u7c7b\u3002<\/p>\n<\/li>\n<li>\n<table>\n<tr>\u5bf9\u6bd4\u805a\u7c7b&#xff08;\u65e0\u76d1\u7763&#xff09;\u5206\u7c7b&#xff08;\u6709\u76d1\u7763&#xff09;<\/tr>\n<tbody>\n<tr>\n<td>\u76ee\u6807<\/td>\n<td>\u53d1\u73b0\u6570\u636e\u7684\u5185\u5728\u7ed3\u6784<\/td>\n<td>\u5b66\u4e60\u7279\u5f81\u4e0e\u6807\u7b7e\u7684\u6620\u5c04\u5173\u7cfb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>\n<p>\u5e94\u7528&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5ba2\u6237\u5206\u7fa4&#xff1a;\u6839\u636e\u8d2d\u4e70\u884c\u4e3a\u5c06\u5ba2\u6237\u5206\u6210\u4e0d\u540c\u7fa4\u4f53&#xff0c;\u8fdb\u884c\u7cbe\u51c6\u8425\u9500\u3002<\/p>\n<\/li>\n<li>\n<p>\u793e\u4ea4\u7f51\u7edc\u5206\u6790&#xff1a;\u53d1\u73b0\u793e\u533a\u3002<\/p>\n<\/li>\n<li>\n<p>\u56fe\u50cf\u5206\u5272&#xff1a;\u5c06\u56fe\u7247\u4e2d\u76f8\u4f3c\u7684\u50cf\u7d20\u70b9\u805a\u6210\u4e00\u7c7b&#xff0c;\u4ece\u800c\u533a\u5206\u51fa\u7269\u4f53\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h5 id=\"K-Means%20%E7%AE%97%E6%B3%95\">K-Means \u7b97\u6cd5<\/h5>\n<p id=\"%E6%AD%A5%E9%AA%A4\" style=\"background-color:transparent\">\u6b65\u9aa4<\/p>\n<p>1.\u805a\u7c7b\u7684\u6570\u91cfk\u9700\u8981\u9884\u5148\u6307\u5b9a<\/p>\n<p>&#xff08;\u4e00\u822c\u60c5\u51b5\u4e0bk\u8d8a\u5927\u4ee3\u4ef7\u51fd\u6570\u5c31\u4f1a\u8d8a\u5c0f&#xff0c;\u901a\u8fc7\u6700\u5c0f\u5316\u4ee3\u4ef7\u51fd\u6570\u6765\u9009\u62e9k\u5c31\u662f\u8ba9k\u6700\u5927&#xff0c;\u6240\u4ee5\u4e0d\u5408\u7406&#xff09;<\/p>\n<p>\u00a0 \u00a0 1&#xff09;\u8098\u90e8\u6cd5\u5219&#xff08;Elbow Method&#xff09;<\/p>\n<ul>\n<li>\u5c1d\u8bd5\u4e0d\u540c\u7684k\u503c&#xff08;k&#061;1,2,3,&#8230;&#xff09;<\/li>\n<li>\u5bf9\u6bcf\u4e2ak&#xff0c;\u8ba1\u7b97WCSS\u503c<\/li>\n<li>\u7ed8\u5236k-WCSS\u66f2\u7ebf<\/li>\n<li>\u5bfb\u627e\u201c\u8098\u70b9\u201d\u2014\u2014WCSS\u4e0b\u964d\u901f\u5ea6\u7a81\u7136\u53d8\u7f13\u7684\u70b9<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 2&#xff09;\u8f6e\u5ed3\u7cfb\u6570\u6cd5<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8f6e\u5ed3\u7cfb\u6570\u662f\u8861\u91cf\u805a\u7c7b\u8d28\u91cf\u7684\u6307\u6807&#xff0c;\u8861\u91cf\u4e00\u4e2a\u6837\u672c\u70b9\u4e0e\u81ea\u5df1\u7684\u805a\u7c7b\u6709\u591a\u76f8\u4f3c&#xff0c;\u4e0e\u5176\u4ed6\u805a\u7c7b\u6709\u591a\u4e0d\u76f8\u4f3c\u3002\u901a\u5e38\u901a\u8fc7\u6bd4\u8f83\u4e0d\u540c K \u503c\u4e0b\u7684\u8f6e\u5ed3\u7cfb\u6570&#xff0c;\u6765\u627e\u51fa\u6700\u5408\u9002\u7684 k \u503c<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5bf9\u4e8e\u5355\u4e2a\u6837\u672c\u70b9 i&#xff1a;<\/p>\n<li>\n<p>a(i) &#061; \u70b9 i \u5230\u540c\u7c07\u5176\u4ed6\u70b9\u7684\u5e73\u5747\u8ddd\u79bb&#xff08;\u51dd\u805a\u5ea6&#xff09;<\/p>\n<\/li>\n<li>\n<p>b(i) &#061; \u70b9 i \u5230\u6700\u8fd1\u5176\u4ed6\u7c07\u6240\u6709\u70b9\u7684\u5e73\u5747\u8ddd\u79bb&#xff08;\u5206\u79bb\u5ea6&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u8f6e\u5ed3\u7cfb\u6570 s(i) &#061; (b(i) &#8211; a(i)) \/ max(a(i), b(i))<\/p>\n<\/li>\n<p>\u00a0 \u00a0 3&#xff09;\u6839\u636e\u805a\u7c7b\u5e94\u7528\u7684\u4e1a\u52a1\u6765\u51b3\u5b9a<\/p>\n<p>2.\u521d\u59cb\u5316&#xff1a;\u968f\u673a\u9009\u62e9 k \u4e2a\u70b9\u4f5c\u4e3a\u521d\u59cb\u8d28\u5fc3&#xff08;\u805a\u7c7b\u4e2d\u5fc3&#xff09;&#xff0c;&#xff08;\u5982\u679c\u4e00\u4e2a\u4e2d\u5fc3\u4e00\u5f00\u59cb\u6ca1\u6709\u5206\u914d\u5230\u4efb\u4f55\u6837\u672c&#xff0c;\u90a3\u4e4b\u540e\u7684\u7ed3\u679c\u90fd\u662f0&#xff0c;\u6ca1\u4ec0\u4e48\u610f\u4e49&#xff0c;\u6240\u4ee5\u521a\u5f00\u59cb\u5c31\u628a\u5b83\u5220\u6389\u6216\u8005\u91cd\u65b0\u521d\u59cb\u5316&#xff09;<\/p>\n<p>\u521d\u59cb\u5316\u4f4d\u7f6e\u4e0d\u540c\u4f1a\u5f97\u5230\u4e0d\u540c\u7684\u7ed3\u679c&#xff0c;\u5982<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"217\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb444c3.png\" width=\"306\" \/><\/p>\n<p>\u6240\u4ee5\u8981\u8fdb\u884c\u591a\u6b21\u521d\u59cb\u5316\u5e76\u8fd0\u884c\u5f97\u5230\u4e0d\u540c\u7684\u7ed3\u679c&#xff08;50-100\u6b21&#xff09;&#xff0c;\u518d\u9009\u51fa\u4ee3\u4ef7\u51fd\u6570\u6700\u5c0f\u7684\u4e00\u4e2a\u4f5c\u4e3a\u6700 \u7ec8\u7ed3\u679c&#xff08;\u5982\u4e0a\u56fe&#xff0c;\u4e0b\u8fb9\u4e24\u4e2a\u56fe\u7684\u4ee3\u4ef7\u51fd\u6570\u663e\u7136\u6bd4\u7b2c\u4e00\u4e2a\u56fe\u5927&#xff09;&#xff0c;\u4ee5\u9632\u6b62\u6389\u5165\u5c40\u90e8\u6700\u4f18\u9677\u9631\u3002<\/p>\n<p>3.\u5206\u914d&#xff1a;\u5bf9\u6bcf\u4e2a\u6570\u636e\u70b9&#xff0c;\u8ba1\u7b97\u5230\u6240\u6709\u8d28\u5fc3\u7684\u8ddd\u79bb&#xff0c;\u5c06\u5176\u5206\u914d\u7ed9\u6700\u8fd1\u7684\u8d28\u5fc3\u6240\u5728\u7684\u7c07<\/p>\n<p>4.\u66f4\u65b0&#xff1a;\u91cd\u65b0\u8ba1\u7b97\u6bcf\u4e2a\u7c07\u7684\u8d28\u5fc3&#xff08;\u53d6\u8be5\u7c07\u6240\u6709\u70b9\u7684\u5e73\u5747\u503c&#xff09;&#xff0c;\u66f4\u65b0\u8d28\u5fc3\u7684\u4f4d\u7f6e<\/p>\n<p>5.\u91cd\u590d\u6b65\u9aa42-3&#xff0c;\u76f4\u5230\u8d28\u5fc3\u4e0d\u518d\u53d8\u5316\u6216\u8fbe\u5230\u6700\u5927\u8fed\u4ee3\u6b21\u6570<\/p>\n<p id=\"%E4%BC%98%E5%8C%96%E7%9B%AE%E6%A0%87\">\u4f18\u5316\u76ee\u6807<\/p>\n<p>\u4ee3\u4ef7\u51fd\u6570&#xff1a;\u5931\u771f\u51fd\u6570<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"55\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb62df9.png\" width=\"207\" \/><\/p>\n<ul>\n<li>\n<p>\u5176\u4e2dx\u8868\u793a\u6837\u672c\u70b9&#xff08;\u4e5f\u662f\u6837\u672c\u70b9\u4f4d\u7f6e&#xff09;&#xff0c;Ci\u8868\u793ax\u6240\u5c5e\u7684\u8d28\u5fc3\u7d22\u5f15&#xff0c;\u03bci\u8868\u793a\u8d28\u5fc3Ci\u6240\u5728\u4f4d\u7f6e<\/p>\n<\/li>\n<li>\n<p>WCSS&#xff1a;\u7c07\u5185\u5e73\u65b9\u548c\u8bef\u5dee&#xff0c;\u610f\u4e3a\u6240\u6709\u6837\u672c\u70b9\u5230\u5176\u8d28\u5fc3\u7684\u8ddd\u79bb\u5e73\u65b9\u4e4b\u548c<\/p>\n<\/li>\n<li>\n<p>\u503c\u8d8a\u5c0f&#xff0c;\u8bf4\u660e\u7c07\u5185\u70b9\u8d8a\u96c6\u4e2d&#xff0c;\u805a\u7c7b\u6548\u679c\u8d8a\u597d<\/p>\n<\/li>\n<\/ul>\n<h4 id=\"%E5%BC%82%E5%B8%B8%E6%A3%80%E6%B5%8B\">\u5f02\u5e38\u68c0\u6d4b<\/h4>\n<h5 id=\"%E7%AE%80%E4%BB%8B\">\u7b80\u4ecb<\/h5>\n<p>\u5f02\u5e38\u68c0\u6d4b\u7684\u4efb\u52a1\u662f\u8bc6\u522b\u6570\u636e\u96c6\u4e2d\u4e0e\u5927\u591a\u6570\u6570\u636e\u663e\u8457\u4e0d\u540c\u7684\u6837\u672c\u3002<\/p>\n<p>\u5f02\u5e38\u70b9&#xff08;\u79bb\u7fa4\u70b9&#xff09;\u7684\u7279\u70b9&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u7f55\u89c1\u6027&#xff1a;\u51fa\u73b0\u9891\u7387\u4f4e<\/p>\n<\/li>\n<li>\n<p>\u5dee\u5f02\u6027&#xff1a;\u4e0e\u6b63\u5e38\u6a21\u5f0f\u663e\u8457\u4e0d\u540c<\/p>\n<\/li>\n<li>\n<p>\u5f71\u54cd\u6027&#xff1a;\u53ef\u80fd\u8868\u793a\u91cd\u8981\u4fe1\u606f&#xff08;\u5982\u6b3a\u8bc8\u3001\u6545\u969c&#xff09;<\/p>\n<\/li>\n<\/ul>\n<p>\u5f02\u5e38 vs \u566a\u58f0<\/p>\n<table>\n<tr>\u5f02\u5e38\u70b9\u566a\u58f0<\/tr>\n<tbody>\n<tr>\n<td>\u6709\u610f\u4e49\u7684\u504f\u79bb\u6a21\u5f0f<\/td>\n<td>\u968f\u673a\u8bef\u5dee<\/td>\n<\/tr>\n<tr>\n<td>\u53ef\u80fd\u5305\u542b\u91cd\u8981\u4fe1\u606f<\/td>\n<td>\u901a\u5e38\u9700\u8981\u88ab\u8fc7\u6ee4<\/td>\n<\/tr>\n<tr>\n<td>\u662f\u6570\u636e\u751f\u6210\u673a\u5236\u7684\u4e00\u90e8\u5206<\/td>\n<td>\u6d4b\u91cf\u6216\u4f20\u8f93\u9519\u8bef<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5 id=\"%E9%AB%98%E6%96%AF%E6%AD%A3%E6%80%81%E5%88%86%E5%B8%83\">\u9ad8\u65af\u6b63\u6001\u5206\u5e03<\/h5>\n<p>\u5355\u53d8\u91cf\u9ad8\u65af&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"51\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb76054.png\" width=\"179\" \/><\/p>\n<p>\u5176\u4e2d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"53\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb867e9.png\" width=\"240\" \/><\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n<p>\u591a\u53d8\u91cf&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"58\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb984d0.png\" width=\"541\" \/><\/p>\n<p>\u8868\u793a\u4e00\u4e2a\u6837\u672c\u7684\u6982\u7387\u7b49\u4e8e\u5b83\u7684\u6240\u6709\u7684\u7279\u5f81\u7684\u6982\u7387\u7684\u4e58\u79ef<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n<p>1.\u9009\u62e9n\u4e2a\u7279\u5f81<\/p>\n<p>2.\u4e3a\u8bad\u7ec3\u96c6\u4e2d\u7684\u6bcf\u79cd\u7279\u5f81\u90fd\u5206\u522b\u62df\u5408\u53c2\u6570\u03bc\u548c\u03c3^2,\u53ef\u5411\u91cf\u5316\u5f97\u5230<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"77\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bbb36a9.png\" width=\"203\" \/><\/p>\n<p>3.\u8ba1\u7b97\u9700\u8981\u6d4b\u8bd5\u7684\u6837\u672c\u7684\u5404\u4e2a\u7279\u5f81\u6982\u7387\u7684\u4e58\u79ef\u4f5c\u4e3a\u8be5\u6837\u672c\u7684\u6982\u7387<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"66\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bbc45ed.png\" width=\"389\" \/><\/p>\n<p>4.\u5224\u65ad\u8fd9\u4e2a\u6982\u7387\u662f\u5426\u5c0f\u4e8e<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"16\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bbda568.png\" width=\"15\" \/>&#xff0c;\u6765\u5224\u65ad\u5b83\u662f\u5426\u5f02\u5e38<\/p>\n<h5 id=\"%E8%AF%84%E4%BC%B0%E5%BC%82%E5%B8%B8%E6%A3%80%E6%B5%8B%E7%B3%BB%E7%BB%9F\">\u8bc4\u4f30\u5f02\u5e38\u68c0\u6d4b\u7cfb\u7edf<\/h5>\n<p>\u5c06\u6240\u6709\u6837\u672c\u5212\u5206\u4e3a\u8bad\u7ec3\u96c6\u3001\u4ea4\u53c9\u9a8c\u8bc1\u96c6\u548c\u6d4b\u8bd5\u96c6&#xff0c;\u5176\u4e2d<\/p>\n<ul>\n<li>\n<p>\u8bad\u7ec3\u96c6&#xff1a;\u5927\u91cf\u7684\u5df2\u77e5\u4e3a\u6b63\u5e38\u7684\u6837\u672c&#xff08;\u4e0d\u5c0f\u5fc3\u6df7\u5165\u4e00\u4e24\u4e2a\u5f02\u5e38\u6837\u672c\u4e5f\u4e0d\u5f71\u54cd\u6700\u7ec8\u7684\u7b97\u6cd5&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u96c6&#xff1a;\u5927\u90e8\u5206\u7684\u6b63\u5e38\u6837\u672c&#xff08;\u4eba\u5de5\u8d4b\u4e88\u6807\u7b7e0&#xff09;\u548c\u5c11\u91cf\u7684\u5f02\u5e38\u6837\u672c&#xff08;\u4eba\u5de5\u8d4b\u4e88\u6807\u7b7e1&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u6d4b\u8bd5\u96c6&#xff1a;\u540c\u9a8c\u8bc1\u96c6&#xff0c;\u4eba\u5de5\u8d4b\u4e88\u6807\u7b7e\u662f\u4e3a\u4e86\u77e5\u9053\u5bf9\u9519&#xff0c;\u89c2\u5bdf\u7b97\u6cd5\u6548\u679c<\/p>\n<\/li>\n<\/ul>\n<p>\u5728\u4f7f\u7528\u65e0\u6807\u7b7e\u8bad\u7ec3\u96c6\u8bad\u7ec3\u540e&#xff0c;\u4ece\u5e26\u6807\u7b7e\u7684\u9a8c\u8bc1\u96c6\u4e0a\u8bc4\u4f30\u5e76\u8c03\u6574\u9608\u503c\u6216\u6a21\u578b\u53c2\u6570&#xff0c;\u6700\u7ec8\u5728\u6d4b\u8bd5\u96c6\u4e0a\u8bc4\u4f30\u3002<\/p>\n<h5 id=\"%E5%BC%82%E5%B8%B8%E6%A3%80%E6%B5%8B%20vs%20%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0\">\u5f02\u5e38\u68c0\u6d4b vs \u76d1\u7763\u5b66\u4e60<\/h5>\n<table>\n<tr>\u65b9\u9762\u76d1\u7763\u5b66\u4e60\u5f02\u5e38\u68c0\u6d4b<\/tr>\n<tbody>\n<tr>\n<td>\u6807\u7b7e\u9700\u6c42<\/td>\n<td>\u6240\u6709\u6837\u672c\u90fd\u8981\u6807\u7b7e<\/td>\n<td>\u901a\u5e38\u53ea\u6709\u6b63\u5e38\u6837\u672c\u6807\u7b7e&#xff0c;\u6216\u5b8c\u5168\u65e0\u6807\u7b7e<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5206\u5e03<\/td>\n<td>\u5404\u7c7b\u6837\u672c\u76f8\u5bf9\u5747\u8861<\/td>\n<td>\u5f02\u5e38\u6837\u672c\u6781\u5c11&#xff08;&lt;1%\u5e38\u89c1&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5f02\u5e38\u7c7b\u578b<\/td>\n<td>\u8bad\u7ec3\u89c1\u8fc7\u7684\u5f02\u5e38\u7c7b\u578b<\/td>\n<td>\u53ef\u80fd\u9047\u5230\u5168\u65b0\u7c7b\u578b\u7684\u5f02\u5e38<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5f02\u5e38\u68c0\u6d4b\u662f\u5728\u6b63\u5e38\u6837\u672c\u4e0a\u8bad\u7ec3&#xff0c;\u5b66\u4e60\u6b63\u5e38\u6570\u636e\u7684\u8fb9\u754c&#xff0c;\u5c06\u90a3\u4e9b\u504f\u79bb\u6b63\u5e38\u7684\u6837\u672c\u5224\u4e3a\u5f02\u5e38&#xff0c;\u6240\u4ee5\u5373\u4f7f\u662f\u5168\u65b0\u5f02\u5e38\u4e5f\u80fd\u6355\u6349\u5230\u3002<\/p>\n<p>\u800c\u76d1\u7763\u5b66\u4e60\u4e3b\u8981\u76ee\u7684\u9002\u7528\u4e8e\u5206\u7c7b&#xff0c;\u5982\u679c\u51fa\u73b0\u65b0\u5f02\u5e38\u662f\u4e0d\u80fd\u5224\u522b\u7684\u3002<\/p>\n<h5 id=\"%E7%89%B9%E5%BE%81%E9%80%89%E6%8B%A9\">\u7279\u5f81\u9009\u62e9<\/h5>\n<p>\u5982\u679c\u67d0\u4e2a\u7279\u5f81\u7684\u5206\u5e03\u5e76\u4e0d\u8fd1\u4f3c\u4e8e\u9ad8\u65af\u5206\u5e03&#xff0c;\u60f3\u529e\u6cd5\u505a\u4e00\u4e9b\u53d8\u6362\u8ba9\u5b83\u63a5\u8fd1\u9ad8\u65af\u5206\u5e03&#xff0c;\u5e38\u7528\u65b9\u6cd5\u6709\u5bf9\u6570\u53d8\u6362&#xff08;\u53f3\u504f\/\u957f\u5c3e\u5206\u5e03&#xff09;&#xff0c;\u5e73\u65b9\u6839\u53d8\u6362&#xff08;\u4e2d\u5ea6\u53f3\u504f&#xff09;\u7b49<\/p>\n<p>\u9009\u62e9\u7279\u5f81\u7684\u6807\u51c6&#xff1a;<\/p>\n<li>\n<p>\u6b63\u5e38\u6570\u636e\u4e2d&#xff1a;\u7279\u5f81\u503c\u6ce2\u52a8\u5c0f&#xff08;\u65b9\u5dee\u5c0f&#xff09; \u5f02\u5e38\u6570\u636e\u4e2d&#xff1a;\u7279\u5f81\u503c\u53d8\u5316\u5927<\/p>\n<\/li>\n<li>\n<ul>\n<li>\n<p>\u5f02\u5e38\u6837\u672c\u660e\u663e\u8d85\u51fa\u6b63\u5e38\u8303\u56f4\u7684\u7279\u5f81<\/p>\n<\/li>\n<li>\n<p>\u5f02\u5e38\u6837\u672c\u5206\u5e03\u4e0e\u6b63\u5e38\u660e\u663e\u4e0d\u540c\u7684\u7279\u5f81<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u9ad8\u5ea6\u76f8\u5173&#xff08;\u5982\u76f8\u5173\u7cfb\u6570&gt;0.9&#xff09;\u7684\u7279\u5f81\u53ea\u7559\u4e00\u4e2a&#xff0c;\u907f\u514d\u5197\u4f59\u7279\u5f81<\/p>\n<\/li>\n<li>\n<p>\u6709\u65f6\u53ef\u4ee5\u901a\u8fc7\u7ec4\u5408\u4e24\u4e2a\u65e7\u7279\u5f81\u5f62\u6210\u4e00\u4e2a\u65b0\u7279\u5f81\u6765\u5e2e\u52a9\u5f02\u5e38\u68c0\u6d4b\u8bc6\u522b&#xff0c;\u56e0\u4e3a\u5355\u4e2a\u7279\u5f81\u6b63\u5e38 \u2260 \u7ec4\u5408\u6b63\u5e38\u3002<\/p>\n<p>\u5e38\u7528\u7ec4\u5408\u65b9\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u4ea4\u4e92\u7279\u5f81&#xff0c;\u65b0\u7279\u5f81 &#061; \u7279\u5f81A \u00d7 \u7279\u5f81B<\/p>\n<\/li>\n<li>\n<p>\u6bd4\u503c\u7279\u5f81&#xff0c;\u65b0\u7279\u5f81 &#061; \u7279\u5f81A \/ (\u7279\u5f81B &#043; \u03b5) &#xff0c;\u03b5\u9632\u6b62\u96640<\/p>\n<\/li>\n<li>\n<p>\u5dee\u503c\u7279\u5f81&#xff0c;\u65b0\u7279\u5f81 &#061; |\u7279\u5f81A &#8211; \u7279\u5f81B|&#xff0c;\u8861\u91cf\u504f\u79bb\u7a0b\u5ea6<\/p>\n<\/li>\n<li>\n<p>\u6761\u4ef6\u7279\u5f81&#xff0c;<\/p>\n<p> if \u6761\u4ef6A\u6210\u7acb and \u6761\u4ef6B\u6210\u7acb:<br \/>\n \u00a0 \u00a0\u65b0\u7279\u5f81 &#061; 1 \u00a0# \u5f02\u5e38\u6a21\u5f0f<br \/>\nelse:<br \/>\n \u00a0 \u00a0\u65b0\u7279\u5f81 &#061; 0 \u00a0# \u6b63\u5e38\u6a21\u5f0f <\/li>\n<\/ul>\n<\/li>\n<h4 id=\"%E4%B8%BB%E6%88%90%E5%88%86%E5%88%86%E6%9E%90%EF%BC%88PCA%EF%BC%89\">\u4e3b\u6210\u5206\u5206\u6790&#xff08;PCA&#xff09;<\/h4>\n<p>\u4ece\u591a\u4e2a\u89d2\u5ea6\u770b\u6570\u636e&#xff0c;\u627e\u5230\u6700\u91cd\u8981\u7684\u89c6\u89d2&#xff0c;\u7528\u66f4\u5c11\u7684\u7ef4\u5ea6\u63cf\u8ff0\u6570\u636e<\/p>\n<p>\u4f8b\u5982<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"219\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bbeb408.png\" width=\"438\" \/><\/p>\n<p>\u5176\u539f\u672c\u662f\u4e09\u7ef4\u6570\u636e&#xff0c;\u4f46\u53ef\u4ee5\u901a\u8fc7\u6784\u5efa\u65b0\u7684\u8f74&#xff08;\u4e3b\u6210\u5206&#xff09;z1&#xff0c;z2\u6765\u4f7f\u5b83\u964d\u6210\u4e8c\u7ef4\u53ef\u89c6\u5316\u4e14\u4e0d\u635f\u5931\u6570\u636e\u3002<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4\" style=\"background-color:transparent\">\u6b65\u9aa4<\/p>\n<li>\n<p>\u6570\u636e\u4e2d\u5fc3\u5316&#xff0c;\u5c06\u7279\u5f81\u5f52\u4e00\u5316\u4e3a\u96f6\u5747\u503c&#xff0c;\u5e76\u4e14\u5982\u679c\u4e0d\u540c\u7279\u5f81\u7684\u53d6\u503c\u8303\u56f4\u975e\u5e38\u4e0d\u540c&#xff08;1000\u7c73\u548c2\u5206\u949f&#xff09;&#xff0c;\u90a3\u8fd8\u9700\u8981\u8fdb\u884c\u7279\u5f81\u7f29\u653e<\/p>\n<\/li>\n<li>\n<p>\u5c06\u6570\u636e\u6295\u5f71\u5230\u8f74\u4e0a\u65f6\u5f97\u5230\u7684\u65b9\u5dee\u6700\u5927\u7684\u8f74\u5c31\u662f\u4e3b\u6210\u5206&#xff0c;\u65b9\u5dee\u5927\u5c31\u662f\u70b9\u7684\u6295\u5f71\u6bd4\u8f83\u5206\u6563&#xff0c;\u6b64\u65f6\u5f97\u5230\u7684\u4fe1\u606f\u6bd4\u8f83\u591a\u3002<\/p>\n<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"178\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145700-697cc6bc115a2.png\" width=\"446\" \/><\/p>\n<p>\u4ee5\u8fd9\u4e2a\u4e3a\u4f8b&#xff0c;[2,3]\u662f\u539f\u6765\u7684\u5750\u6807&#xff0c;[0.71,0.71]\u662f\u4e3b\u6210\u5206\u7684\u65b9\u5411\u5411\u91cf&#xff0c;\u70b9\u79ef\u7684\u7ed3\u679c\u5c31\u662f\u8be5\u6837\u672c\u5728\u65b0\u8f74\u4e0a\u7684\u8868\u793a\u3002<\/p>\n<p>\u91cd\u6784&#xff1a;\u77e5\u9053PCA\u540e\u7684\u7ed3\u679c&#xff0c;\u53cd\u63a8\u539f\u6765\u7684\u8868\u793a\u3002\u6bd4\u5982\u4e0a\u56fe\u90a3\u4e2a&#xff0c;\u53ef\u4ee5\u7528<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"67\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145700-697cc6bc2ac55.png\" width=\"156\" \/><\/p>\n<p>\u8fd1\u4f3c\u63a8\u56de\u539f\u6765\u7684\u3002<\/p>\n<p>\u4e0b\u56fe\u662f\u7ebf\u6027\u56de\u5f52\u4e0e\u4e8c\u5408\u4e00PCA\u7684\u533a\u522b&#xff0c;\u524d\u8005\u62df\u5408\u51fd\u6570\u4f7f\u5f97\u9884\u6d4b\u503c\u5c3d\u91cf\u63a5\u8fd1\u771f\u5b9ey\u503c&#xff08;\u6807\u7b7e&#xff09;&#xff0c;\u8861\u91cf\u7684\u662fy\u8f74\u65b9\u5411&#xff08;\u7ad6\u76f4\u65b9\u5411&#xff09;&#xff1b;\u540e\u8005\u7684\u4e24\u4e2a\u8f74\u662f\u5e73\u7b49\u7684&#xff0c;\u90fd\u662f\u7279\u5f81&#xff0c;\u6ca1\u6709\u6807\u7b7e&#xff0c;\u76ee\u7684\u662f\u8ba9\u5230\u4e3b\u6210\u5206\u7684\u5782\u76f4\u8ddd\u79bb\u5c3d\u91cf\u5c0f&#xff0c;\u8fd9\u6837\u5728\u4e3b\u6210\u5206\u90a3\u4e2a\u65b9\u5411\u4e0a\u5c31\u4f1a\u66f4\u5206\u6563&#xff0c;\u4fe1\u606f\u66f4\u591a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"222\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145700-697cc6bc3f20b.png\" width=\"536\" \/><\/p>\n<p id=\"scikit-learn%E5%AE%9E%E7%8E%B0\">scikit-learn\u5b9e\u73b0<\/p>\n<p># \u5bfc\u5165\u6240\u9700\u5e93<br \/>\nimport numpy as np<br \/>\nfrom sklearn.datasets import load_iris<br \/>\nfrom sklearn.preprocessing import StandardScaler<br \/>\nfrom sklearn.decomposition import PCA<br \/>\nimport matplotlib.pyplot as plt<br \/>\n\u200b<br \/>\n# 1. \u52a0\u8f7d\u6570\u636e&#xff08;\u4ee5\u9e22\u5c3e\u82b1\u6570\u636e\u96c6\u4e3a\u4f8b&#xff0c;\u53ef\u4ee5\u66ff\u6362\u4e3a\u81ea\u5df1\u7684\u6570\u636e\u96c6&#xff09;<br \/>\ndata &#061; load_iris()<br \/>\nX &#061; data.data \u00a0# \u7279\u5f81\u6570\u636e&#xff0c;\u5f62\u72b6\u4e3a(150, 4)&#xff0c;\u5373150\u4e2a\u6837\u672c&#xff0c;4\u4e2a\u7279\u5f81<br \/>\ny &#061; data.target \u00a0# \u6807\u7b7e&#xff08;\u53ef\u9009&#xff0c;\u7528\u4e8e\u53ef\u89c6\u5316&#xff09;<br \/>\n\u200b<br \/>\n# 2. \u6570\u636e\u6807\u51c6\u5316&#xff08;\u7279\u5f81\u7f29\u653e\u548c\u4e2d\u5fc3\u5316&#xff09;<br \/>\nscaler &#061; StandardScaler()<br \/>\nX_scaled &#061; scaler.fit_transform(X) \u00a0# \u6807\u51c6\u5316\u540e&#xff0c;\u6bcf\u4e2a\u7279\u5f81\u7684\u5747\u503c\u4e3a0&#xff0c;\u65b9\u5dee\u4e3a1<br \/>\n\u200b<br \/>\n# 3. \u6784\u5efa\u5e76\u8bad\u7ec3PCA\u6a21\u578b<br \/>\n# \u65b9\u5f0f1&#xff1a;\u6307\u5b9a\u4fdd\u7559\u7684\u4e3b\u6210\u5206\u6570\u91cf&#xff08;\u4f8b\u5982\u4fdd\u75592\u4e2a&#xff09;<br \/>\npca &#061; PCA(n_components&#061;2) \u00a0# n_components\u53ef\u4ee5\u662f\u6574\u6570&#xff08;\u6307\u5b9a\u6570\u91cf&#xff09;\u6216\u6d6e\u70b9\u6570&#xff08;\u6307\u5b9a\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff0c;\u59820.95\u8868\u793a\u4fdd\u755995%\u65b9\u5dee&#xff09;<br \/>\nX_pca &#061; pca.fit_transform(X_scaled) \u00a0# \u62df\u5408\u6a21\u578b\u5e76\u5bf9\u6570\u636e\u8fdb\u884c\u964d\u7ef4<br \/>\n\u200b<br \/>\n# \u65b9\u5f0f2&#xff1a;\u6307\u5b9a\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff08;\u4f8b\u5982\u4fdd\u755995%\u7684\u65b9\u5dee&#xff09;<br \/>\n# pca &#061; PCA(n_components&#061;0.95)<br \/>\n# X_pca &#061; pca.fit_transform(X_scaled)<br \/>\n\u200b<br \/>\n# 4. \u5206\u6790PCA\u7ed3\u679c<br \/>\nprint(f&#034;\u539f\u59cb\u6570\u636e\u5f62\u72b6&#xff1a;{X.shape}&#034;)<br \/>\nprint(f&#034;\u964d\u7ef4\u540e\u6570\u636e\u5f62\u72b6&#xff1a;{X_pca.shape}&#034;)<br \/>\nprint(f&#034;\u5404\u4e3b\u6210\u5206\u7684\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff1a;{pca.explained_variance_ratio_}&#034;)<br \/>\nprint(f&#034;\u7d2f\u8ba1\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff1a;{np.sum(pca.explained_variance_ratio_)}&#034;)<br \/>\nprint(f&#034;\u7279\u5f81\u503c&#xff08;\u5404\u4e3b\u6210\u5206\u7684\u65b9\u5dee&#xff09;&#xff1a;{pca.explained_variance_}&#034;)<br \/>\n\u200b<br \/>\n# 5. \u53ef\u89c6\u5316\u964d\u7ef4\u540e\u7684\u6570\u636e&#xff08;\u53ef\u9009&#xff0c;\u4ec5\u5f53\u964d\u7ef4\u52302\u7ef4\u65f6&#xff09;<br \/>\nplt.figure(figsize&#061;(8, 6))<br \/>\nfor target, color, label in zip([0, 1, 2], [&#039;r&#039;, &#039;g&#039;, &#039;b&#039;], data.target_names):<br \/>\n \u00a0 \u00a0plt.scatter(X_pca[y &#061;&#061; target, 0], X_pca[y &#061;&#061; target, 1], c&#061;color, label&#061;label)<br \/>\nplt.xlabel(&#039;\u7b2c\u4e00\u4e3b\u6210\u5206&#039;)<br \/>\nplt.ylabel(&#039;\u7b2c\u4e8c\u4e3b\u6210\u5206&#039;)<br \/>\nplt.title(&#039;PCA\u964d\u7ef4\u540e\u7684\u9e22\u5c3e\u82b1\u6570\u636e&#039;)<br \/>\nplt.legend()<br \/>\nplt.show() <\/p>\n<h4 id=\"%E9%99%8D%E7%BB%B4\">\u964d\u7ef4<\/h4>\n<ul>\n<li>\n<p>\u76ee\u6807&#xff1a;\u5728\u5c3d\u53ef\u80fd\u4fdd\u7559\u4fe1\u606f\u7684\u524d\u63d0\u4e0b&#xff0c;\u51cf\u5c11\u6570\u636e\u7684\u7279\u5f81\u6570\u91cf\u3002<\/p>\n<\/li>\n<li>\n<p>\u597d\u6bd4&#xff1a;\u4f60\u6709\u4e00\u4efd\u63cf\u8ff0\u4e00\u4e2a\u4eba\u7684100\u4e2a\u7279\u5f81&#xff08;\u8eab\u9ad8\u3001\u4f53\u91cd\u3001\u53d1\u8272\u3001\u978b\u7801\u3001\u661f\u5ea7&#8230;&#xff09;&#xff0c;\u4f46\u5f88\u591a\u7279\u5f81\u662f\u5197\u4f59\u6216\u4e0d\u91cd\u8981\u7684\u3002\u964d\u7ef4\u5c31\u662f\u627e\u51fa\u6700\u91cd\u8981\u768410\u4e2a\u7279\u5f81&#xff0c;\u4ecd\u7136\u80fd\u5f88\u597d\u5730\u63cf\u8ff0\u8fd9\u4e2a\u4eba\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ecf\u5178\u7b97\u6cd5&#xff1a;\u4e3b\u6210\u5206\u5206\u6790&#xff08;PCA&#xff09;&#xff0c; t-SNE, UMAP\u3002<\/p>\n<\/li>\n<li>\n<p>\u5e94\u7528&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6570\u636e\u53ef\u89c6\u5316&#xff1a;\u5c06\u9ad8\u7ef4\u6570\u636e\u964d\u52302D\u62163D&#xff0c;\u4fbf\u4e8e\u6211\u4eec\u4eba\u7c7b\u89c2\u5bdf\u548c\u7406\u89e3\u3002<\/p>\n<\/li>\n<li>\n<p>\u53bb\u9664\u566a\u58f0\u548c\u5197\u4f59&#xff1a;\u4e3a\u540e\u7eed\u7684\u76d1\u7763\u5b66\u4e60\u6a21\u578b\u51c6\u5907\u66f4\u5e72\u51c0\u3001\u66f4\u6709\u6548\u7684\u7279\u5f81\u3002<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u538b\u7f29\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4 id=\"%E5%85%B3%E8%81%94%E8%A7%84%E5%88%99%E5%AD%A6%E4%B9%A0\">\u5173\u8054\u89c4\u5219\u5b66\u4e60<\/h4>\n<ul>\n<li>\n<p>\u76ee\u6807&#xff1a;\u53d1\u73b0\u6570\u636e\u4e2d\u7279\u5f81\u4e4b\u95f4\u7684\u5173\u8054\u5173\u7cfb\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ecf\u5178\u7b97\u6cd5&#xff1a;Apriori\u3002<\/p>\n<\/li>\n<li>\n<p>\u5e94\u7528&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u8d2d\u7269\u7bee\u5206\u6790&#xff1a;\u7ecf\u5178\u7684\u201c\u5564\u9152\u548c\u5c3f\u5e03\u201d\u6545\u4e8b&#xff0c;\u53d1\u73b0\u987e\u5ba2\u7ecf\u5e38\u540c\u65f6\u8d2d\u4e70\u7684\u5546\u54c1&#xff0c;\u7528\u4e8e\u8d27\u67b6\u6446\u653e\u6216\u6346\u7ed1\u9500\u552e\u3002<\/p>\n<\/li>\n<li>\n<p>\u533b\u7597\u8bca\u65ad&#xff1a;\u53d1\u73b0\u67d0\u4e9b\u75c7\u72b6\u548c\u75be\u75c5\u4e4b\u95f4\u7684\u5173\u8054\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55<br \/>\n\u65e0\u76d1\u7763\u5b66\u4e60<br \/>\n\u5b9a\u4e49<br \/>\n\u805a\u7c7b<br \/>\n\u7b80\u4ecb<br \/>\nK-Means \u7b97\u6cd5<br \/>\n\u5f02\u5e38\u68c0\u6d4b<br \/>\n\u7b80\u4ecb<br \/>\n\u9ad8\u65af\u6b63\u6001\u5206\u5e03<br \/>\n\u8bc4\u4f30\u5f02\u5e38\u68c0\u6d4b\u7cfb\u7edf<br \/>\n\u5f02\u5e38\u68c0\u6d4b vs \u76d1\u7763\u5b66\u4e60<br \/>\n\u7279\u5f81\u9009\u62e9<br \/>\n\u4e3b\u6210\u5206\u5206\u6790&#xff08;PCA&#xff09;<br \/>\n\u964d\u7ef4<br \/>\n\u5173\u8054\u89c4\u5219\u5b66\u4e60 \u65e0\u76d1\u7763\u5b66\u4e60<br \/>\n\u5b9a\u4e49<br \/>\n\u5728\u6ca1\u6709\u6807\u51c6\u7b54\u6848&#xff08;\u6807\u8bb0&#xff09;\u7684\u60c5\u51b5\u4e0b&#xff0c;\u4ece\u6570\u636e\u672c\u8eab\u4e2d\u53d1\u73b0\u5185\u5728\u7684\u7ed3\u6784\u3001\u6a21\u5f0f\u548c\u89c4\u5f8b\u3002<br \/>\n\u805a\u7c7b<br \/>\n\u7b80\u4ecb \u76ee\u6807&#xff1a;\u5c06\u6570\u636e\u5206\u7ec4&#xff0c;\u4f7f\u5f97\u7ec4\u5185\u6837\u672c\u76f8\u4f3c&#xff0c;\u7ec4\u95f4\u6837\u672c<\/p>\n","protected":false},"author":2,"featured_media":68941,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50,207,3548],"topic":[],"class_list":["post-68953","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-50","tag-207","tag-3548"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/68953.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u76ee\u5f55 \u65e0\u76d1\u7763\u5b66\u4e60 \u5b9a\u4e49 \u805a\u7c7b \u7b80\u4ecb K-Means \u7b97\u6cd5 \u5f02\u5e38\u68c0\u6d4b \u7b80\u4ecb \u9ad8\u65af\u6b63\u6001\u5206\u5e03 \u8bc4\u4f30\u5f02\u5e38\u68c0\u6d4b\u7cfb\u7edf \u5f02\u5e38\u68c0\u6d4b vs \u76d1\u7763\u5b66\u4e60 \u7279\u5f81\u9009\u62e9 \u4e3b\u6210\u5206\u5206\u6790&#xff08;PCA&#xff09; \u964d\u7ef4 \u5173\u8054\u89c4\u5219\u5b66\u4e60 \u65e0\u76d1\u7763\u5b66\u4e60 \u5b9a\u4e49 \u5728\u6ca1\u6709\u6807\u51c6\u7b54\u6848&#xff08;\u6807\u8bb0&#xff09;\u7684\u60c5\u51b5\u4e0b&#xff0c;\u4ece\u6570\u636e\u672c\u8eab\u4e2d\u53d1\u73b0\u5185\u5728\u7684\u7ed3\u6784\u3001\u6a21\u5f0f\u548c\u89c4\u5f8b\u3002 \u805a\u7c7b \u7b80\u4ecb \u76ee\u6807&#xff1a;\u5c06\u6570\u636e\u5206\u7ec4&#xff0c;\u4f7f\u5f97\u7ec4\u5185\u6837\u672c\u76f8\u4f3c&#xff0c;\u7ec4\u95f4\u6837\u672c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/68953.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-30T14:57:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb444c3.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/68953.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/68953.html\",\"name\":\"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-30T14:57:01+00:00\",\"dateModified\":\"2026-01-30T14:57:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/68953.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/68953.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/68953.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/68953.html","og_locale":"zh_CN","og_type":"article","og_title":"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u76ee\u5f55 \u65e0\u76d1\u7763\u5b66\u4e60 \u5b9a\u4e49 \u805a\u7c7b \u7b80\u4ecb K-Means \u7b97\u6cd5 \u5f02\u5e38\u68c0\u6d4b \u7b80\u4ecb \u9ad8\u65af\u6b63\u6001\u5206\u5e03 \u8bc4\u4f30\u5f02\u5e38\u68c0\u6d4b\u7cfb\u7edf \u5f02\u5e38\u68c0\u6d4b vs \u76d1\u7763\u5b66\u4e60 \u7279\u5f81\u9009\u62e9 \u4e3b\u6210\u5206\u5206\u6790&#xff08;PCA&#xff09; \u964d\u7ef4 \u5173\u8054\u89c4\u5219\u5b66\u4e60 \u65e0\u76d1\u7763\u5b66\u4e60 \u5b9a\u4e49 \u5728\u6ca1\u6709\u6807\u51c6\u7b54\u6848&#xff08;\u6807\u8bb0&#xff09;\u7684\u60c5\u51b5\u4e0b&#xff0c;\u4ece\u6570\u636e\u672c\u8eab\u4e2d\u53d1\u73b0\u5185\u5728\u7684\u7ed3\u6784\u3001\u6a21\u5f0f\u548c\u89c4\u5f8b\u3002 \u805a\u7c7b \u7b80\u4ecb \u76ee\u6807&#xff1a;\u5c06\u6570\u636e\u5206\u7ec4&#xff0c;\u4f7f\u5f97\u7ec4\u5185\u6837\u672c\u76f8\u4f3c&#xff0c;\u7ec4\u95f4\u6837\u672c","og_url":"https:\/\/www.wsisp.com\/helps\/68953.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-30T14:57:01+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260130145659-697cc6bb444c3.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/68953.html","url":"https:\/\/www.wsisp.com\/helps\/68953.html","name":"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-30T14:57:01+00:00","dateModified":"2026-01-30T14:57:01+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/68953.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/68953.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/68953.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u65e0\u76d1\u7763\u5b66\u4e60\u6982\u8ff0"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/68953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=68953"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/68953\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/68941"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=68953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=68953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=68953"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=68953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}