{"id":188984,"date":"2024-05-09T17:17:39","date_gmt":"2024-05-09T09:17:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/188984.html"},"modified":"2024-05-09T17:17:44","modified_gmt":"2024-05-09T09:17:44","slug":"%e6%9c%ba%e5%99%a8%e5%ad%a6%e4%b9%a0%e4%b8%ad%e6%9c%89%e5%93%aa%e4%ba%9b%e7%ae%80%e5%8d%95%e7%b2%97%e6%9a%b4%e4%bd%86%e6%98%af%e5%a5%bd%e7%94%a8%e7%9a%84idea","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/188984.html","title":{"rendered":"\u673a\u5668\u5b66\u4e60\u4e2d\u6709\u54ea\u4e9b\u7b80\u5355\u7c97\u66b4\u4f46\u662f\u597d\u7528\u7684idea"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26095025\/da117833-900c-4df7-8666-6b8f744b5a44.webp\" alt=\"\u673a\u5668\u5b66\u4e60\u4e2d\u6709\u54ea\u4e9b\u7b80\u5355\u7c97\u66b4\u4f46\u662f\u597d\u7528\u7684idea\" \/><\/p>\n<p><p>\u5728<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u4e2d\uff0c\u4e00\u4e9b<strong>\u7b80\u5355\u7c97\u66b4\u4f46\u6781\u5176\u6709\u6548\u7684\u60f3\u6cd5\u5305\u62ec: \u8fc7\u5ea6\u62df\u5408\u524d\u7684\u8bad\u7ec3\u3001\u6570\u636e\u589e\u5f3a\u3001\u6a21\u578b\u878d\u5408\u3001\u7279\u5f81\u5de5\u7a0b\u3001\u8f6c\u79fb\u5b66\u4e60<\/strong>\u7b49\u3002\u5176\u4e2d\uff0c<strong>\u6570\u636e\u589e\u5f3a<\/strong>\u662f\u4e00\u4e2a\u5178\u578b\u7684\u4f8b\u5b50\uff0c\u5b83\u901a\u8fc7\u4eba\u5de5\u65b9\u5f0f\u6269\u5145\u8bad\u7ec3\u6837\u672c\uff0c\u8fd9\u6837\u505a\u6709\u52a9\u4e8e\u51cf\u5c11\u8fc7\u5ea6\u62df\u5408\u7684\u98ce\u9669\uff0c\u63d0\u9ad8\u6a21\u578b\u5728\u65b0\u6570\u636e\u4e0a\u7684\u6cdb\u5316\u80fd\u529b\u3002\u6570\u636e\u589e\u5f3a\u6839\u636e\u5177\u4f53\u4efb\u52a1\u4e0d\u540c\u53ef\u80fd\u5305\u62ec\u56fe\u50cf\u9886\u57df\u7684\u65cb\u8f6c\u3001\u7ffb\u8f6c\u3001\u7f29\u653e\u3001\u88c1\u526a\uff0c\u6587\u672c\u9886\u57df\u7684\u540c\u4e49\u8bcd\u66ff\u6362\u3001\u5220\u9664\u3001\u63d2\u5165\u7b49\u3002\u8fd9\u9879\u6280\u672f\u672c\u8d28\u4e0a\u6ca1\u6709\u5f15\u5165\u65b0\u7684\u6570\u636e\uff0c\u4f46\u662f\u901a\u8fc7\u5bf9\u5df2\u6709\u6570\u636e\u7684\u5404\u79cd\u53d8\u5316\uff0c\u6781\u5927\u5730\u4e30\u5bcc\u4e86\u6a21\u578b\u7684\u8bad\u7ec3\u57fa\u7840\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u8fc7\u5ea6\u62df\u5408\u524d\u7684\u8bad\u7ec3<\/h3>\n<\/p>\n<p><p>\u673a\u5668\u5b66\u4e60\u6a21\u578b\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u4f1a\u9010\u6e10\u9002\u5e94\u6570\u636e\u96c6\uff0c\u4f46\u5982\u679c\u8bad\u7ec3\u8fc7\u5ea6\uff0c\u5c31\u4f1a\u5f00\u59cb\u8bb0\u5fc6\u800c\u975e\u5b66\u4e60\u3002\u4e00\u79cd\u7b80\u5355\u6709\u6548\u7684\u505a\u6cd5\u662f\u5728\u51fa\u73b0\u8fc7\u62df\u5408\u4e4b\u524d\u505c\u6b62\u8bad\u7ec3\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u89c2\u5bdf\u9a8c\u8bc1\u96c6\u4e0a\u7684\u6027\u80fd\u6765\u5b9e\u73b0\uff0c\u4e00\u65e6\u6027\u80fd\u505c\u6b62\u63d0\u5347\u751a\u81f3\u5f00\u59cb\u4e0b\u964d\uff0c\u5373\u53ef\u505c\u6b62\u8bad\u7ec3\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u9a8c\u8bc1\u96c6\u7684\u4f7f\u7528<\/strong>\uff1a\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u5b9a\u671f\u8bc4\u4f30\u6a21\u578b\u5728\u4e00\u4e2a\u72ec\u7acb\u7684\u9a8c\u8bc1\u96c6\u4e0a\u7684\u8868\u73b0\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u8fc7\u5ea6\u62df\u5408\u7684\u8ff9\u8c61\u3002<\/li>\n<li><strong>\u65e9\u505c\u6cd5(Early Stopping)<\/strong>\uff1a\u65e9\u505c\u6cd5\u662f\u4e00\u79cd\u5e38\u7528\u7684\u6280\u672f\uff0c\u901a\u8fc7\u8bbe\u7f6e\u4e00\u4e2a\u201c\u8010\u5fc3\u201d\u53c2\u6570\uff0c\u5728\u6a21\u578b\u7684\u9a8c\u8bc1\u96c6\u4e0a\u7684\u8868\u73b0\u5728\u4e00\u5b9a\u6b21\u6570\u7684\u8fed\u4ee3\u4e2d\u6ca1\u6709\u6539\u5584\u65f6\u7ec8\u6b62\u8bad\u7ec3\u3002<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u6570\u636e\u589e\u5f3a<\/h3>\n<\/p>\n<p><p>\u6570\u636e\u589e\u5f3a\u662f\u673a\u5668\u5b66\u4e60\u7684\u4e00\u79cd\u5f3a\u5927\u5de5\u5177\uff0c\u7279\u522b\u662f\u5728\u6570\u636e\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u5b83\u901a\u8fc7\u589e\u52a0\u6837\u672c\u7684\u591a\u6837\u6027\u6765\u6539\u5584\u6a21\u578b\u7684\u6cdb\u5316\u80fd\u529b\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u56fe\u50cf\u6570\u636e\u7684\u589e\u5f3a<\/strong>\uff1a\u4f8b\u5982\uff0c\u901a\u8fc7\u65cb\u8f6c\u3001\u7ffb\u8bd1\u3001\u7f29\u653e\u3001\u6dfb\u52a0\u566a\u58f0\u7b49\u624b\u6bb5\uff0c\u53ef\u4ee5\u6709\u6548\u589e\u52a0\u56fe\u50cf\u6570\u636e\u7684\u591a\u6837\u6027\u3002<\/li>\n<li><strong>\u6587\u672c\u6570\u636e\u7684\u589e\u5f3a<\/strong>\uff1a\u901a\u8fc7\u540c\u4e49\u8bcd\u66ff\u6362\u3001\u8bcd\u6c47\u63d2\u5165\u6216\u5220\u9664\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u6269\u5c55\u6587\u672c\u6570\u636e\u96c6\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u6a21\u578b\u878d\u5408<\/h3>\n<\/p>\n<p><p>\u6a21\u578b\u878d\u5408\u662f\u7ed3\u5408\u591a\u4e2a\u673a\u5668\u5b66\u4e60\u6a21\u578b\u7684\u9884\u6d4b\u7ed3\u679c\uff0c\u4ee5\u5f97\u5230\u66f4\u4e3a\u51c6\u786e\u548c\u7a33\u5065\u7684\u9884\u6d4b\u3002\u8fd9\u662f\u4e00\u79cd\u591a\u6837\u6027\u539f\u5219\u7684\u4f53\u73b0\uff0c\u4e0d\u540c\u6a21\u578b\u53ef\u80fd\u5728\u4e0d\u540c\u65b9\u9762\u6709\u6240\u64c5\u957f\uff0c\u878d\u5408\u8d77\u6765\u80fd\u591f\u4e92\u8865\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u6295\u7968\u6cd5(Voting)<\/strong>\uff1a\u5bf9\u5206\u7c7b\u95ee\u9898\uff0c\u6700\u7b80\u5355\u7684\u878d\u5408\u65b9\u6cd5\u662f\u591a\u4e2a\u6a21\u578b\u7684\u9884\u6d4b\u7ed3\u679c\u8fdb\u884c\u591a\u6570\u6295\u7968\u3002<\/li>\n<li><strong>\u5e73\u5747\u6cd5(Averaging)<\/strong>\uff1a\u5bf9\u4e8e\u56de\u5f52\u95ee\u9898\uff0c\u53d6\u4e0d\u540c\u6a21\u578b\u9884\u6d4b\u7ed3\u679c\u7684\u5e73\u5747\u503c\u53ef\u4ee5\u5f97\u5230\u66f4\u4e3a\u7a33\u5b9a\u7684\u9884\u6d4b\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u7279\u5f81\u5de5\u7a0b<\/h3>\n<\/p>\n<p><p>\u7279\u5f81\u5de5\u7a0b\u662f\u901a\u8fc7\u8f6c\u6362\u539f\u59cb\u6570\u636e\u6216\u521b\u9020\u65b0\u7684\u7279\u5f81\u53d8\u91cf\u6765\u6539\u5584\u6a21\u578b\u6027\u80fd\u7684\u8fc7\u7a0b\u3002\u5b83\u7684\u91cd\u8981\u6027\u751a\u81f3\u53ef\u4ee5\u8d85\u8fc7\u6a21\u578b\u9009\u62e9\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u7279\u5f81\u9009\u62e9<\/strong>\uff1a\u901a\u8fc7\u5404\u79cd\u7edf\u8ba1\u6d4b\u8bd5\u3001\u6a21\u578b\u6216\u542f\u53d1\u5f0f\u65b9\u6cd5\u9009\u62e9\u5bf9\u6a21\u578b\u6548\u679c\u8d21\u732e\u6700\u5927\u7684\u7279\u5f81\u3002<\/li>\n<li><strong>\u7279\u5f81\u53d8\u6362<\/strong>\uff1a\u8fd0\u7528\u6570\u5b66\u53d8\u6362\uff08\u5982\u5bf9\u6570\u3001\u5e73\u65b9\u3001\u5f00\u65b9\uff09\u6539\u53d8\u7279\u5f81\u7684\u5206\u5e03\uff0c\u6709\u65f6\u53ef\u4ee5\u6539\u5584\u6a21\u578b\u7684\u6027\u80fd\u3002<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u8f6c\u79fb\u5b66\u4e60<\/h3>\n<\/p>\n<p><p>\u8f6c\u79fb\u5b66\u4e60\u662f\u5229\u7528\u5df2\u6709\u7684\u77e5\u8bc6\u548c\u6a21\u578b\u6765\u89e3\u51b3\u65b0\u7684\u3001\u4f46\u76f8\u5173\u7684\u95ee\u9898\uff0c\u8fd9\u5728\u6570\u636e\u4e0d\u8db3\u7684\u60c5\u51b5\u4e0b\u5c24\u4e3a\u6709\u7528\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u9884\u8bad\u7ec3\u6a21\u578b<\/strong>\uff1a\u5728\u4e00\u4e2a\u5927\u578b\u6570\u636e\u96c6\u4e0a\u9884\u8bad\u7ec3\u4e00\u4e2a\u6a21\u578b\uff0c\u7136\u540e\u5728\u76ee\u6807\u4efb\u52a1\u4e0a\u8fdb\u884c\u5fae\u8c03\u3002<\/li>\n<li><strong>\u7279\u5f81\u8fc1\u79fb<\/strong>\uff1a\u4f7f\u7528\u5728\u76f8\u5173\u4efb\u52a1\u4e0a\u5b66\u4e60\u5230\u7684\u7279\u5f81\u8868\u793a\uff0c\u4f5c\u4e3a\u65b0\u4efb\u52a1\u7684\u521d\u59cb\u7279\u5f81\u3002<\/li>\n<\/ul>\n<p><p>\u8fd9\u4e9b\u6280\u672f\u5e76\u4e0d\u590d\u6742\uff0c\u5f80\u5f80\u53ea\u9700\u8981\u5c11\u91cf\u7684\u4ee3\u7801\u4fee\u6539\u5c31\u80fd\u5b9e\u73b0\uff0c\u4f46\u5374\u5f88\u5bb9\u6613\u88ab\u5ffd\u89c6\u3002\u5728\u5b9e\u8df5\u4e2d\uff0c\u8fd9\u4e9b\u7b80\u5355\u7684\u60f3\u6cd5\u901a\u5e38\u80fd\u63d0\u4f9b\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\uff0c\u5e76\u4e14\u662f\u6784\u5efa\u590d\u6742\u6a21\u578b\u7684\u57fa\u77f3\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u6709\u54ea\u4e9b\u5b9e\u65bd\u7b80\u5355\u4f46\u6548\u679c\u5353\u8d8a\u7684\u673a\u5668\u5b66\u4e60\u6280\u5de7\uff1f<\/strong><\/p>\n<ul>\n<li>\u7279\u5f81\u7f29\u653e\uff1a\u901a\u8fc7\u5bf9\u6570\u636e\u7279\u5f81\u8fdb\u884c\u7f29\u653e\uff0c\u4f7f\u5176\u5177\u6709\u76f8\u4f3c\u7684\u5c3a\u5ea6\uff0c\u53ef\u4ee5\u63d0\u9ad8\u8bb8\u591a\u673a\u5668\u5b66\u4e60\u7b97\u6cd5\u7684\u6548\u679c\u3002<\/li>\n<li>\u7279\u5f81\u9009\u62e9\uff1a\u6311\u9009\u6700\u80fd\u4ee3\u8868\u6570\u636e\u7279\u5f81\u7684\u53d8\u91cf\uff0c\u4ee5\u964d\u4f4e\u6570\u636e\u7ef4\u5ea6\u548c\u6a21\u578b\u590d\u6742\u5ea6\uff0c\u540c\u65f6\u63d0\u9ad8\u6a21\u578b\u7684\u6cdb\u5316\u80fd\u529b\u3002<\/li>\n<li>\u96c6\u6210\u5b66\u4e60\uff1a\u901a\u8fc7\u7ed3\u5408\u591a\u4e2a\u7b80\u5355\u6a21\u578b\u7684\u9884\u6d4b\u7ed3\u679c\u6765\u5f97\u5230\u66f4\u7a33\u5b9a\u548c\u51c6\u786e\u7684\u7ed3\u679c\uff0c\u5982\u968f\u673a\u68ee\u6797\u548c\u68af\u5ea6\u63d0\u5347\u6811\u3002<\/li>\n<\/ul>\n<p><strong>2. \u5982\u4f55\u5feb\u901f\u5b9e\u73b0\u673a\u5668\u5b66\u4e60\u7684\u7ed3\u679c\uff1f<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528\u73b0\u6709\u7684\u673a\u5668\u5b66\u4e60\u5e93\u548c\u6846\u67b6\uff1a\u8bb8\u591a\u6d41\u884c\u7684\u673a\u5668\u5b66\u4e60\u5e93\uff08\u5982scikit-learn\u548cTensorFlow\uff09\u5df2\u7ecf\u5b9e\u73b0\u4e86\u5404\u79cd\u5f3a\u5927\u7684\u7b97\u6cd5\u548c\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5feb\u901f\u5b9e\u73b0\u673a\u5668\u5b66\u4e60\u7ed3\u679c\u3002<\/li>\n<li>\u9009\u62e9\u9002\u5408\u7684\u6a21\u578b\u548c\u7b97\u6cd5\uff1a\u6839\u636e\u5177\u4f53\u7684\u95ee\u9898\u548c\u6570\u636e\u7279\u70b9\u9009\u62e9\u5408\u9002\u7684\u6a21\u578b\u548c\u7b97\u6cd5\uff0c\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u590d\u6742\u6027\u548c\u8ba1\u7b97\u8d1f\u62c5\u3002<\/li>\n<li>\u5229\u7528\u5df2\u7ecf\u6807\u8bb0\u597d\u7684\u516c\u5171\u6570\u636e\u96c6\uff1a\u4e00\u4e9b\u516c\u5171\u6570\u636e\u96c6\uff08\u5982MNIST\u548cCIFAR-10\uff09\u5df2\u7ecf\u88ab\u5e7f\u6cdb\u4f7f\u7528\uff0c\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u5df2\u7ecf\u6807\u8bb0\u597d\u7684\u6570\u636e\uff0c\u8282\u7701\u6570\u636e\u91c7\u96c6\u548c\u6807\u6ce8\u7684\u65f6\u95f4\u3002<\/li>\n<\/ul>\n<p><strong>3. \u5982\u4f55\u5e94\u5bf9\u6570\u636e\u4e0d\u5e73\u8861\u7684\u95ee\u9898\uff1f<\/strong><\/p>\n<ul>\n<li>\u8fc7\u62bd\u6837\uff08Oversampling\uff09\uff1a\u901a\u8fc7\u590d\u5236\u5c11\u6570\u7c7b\u6837\u672c\u6765\u589e\u52a0\u5176\u5728\u6570\u636e\u96c6\u4e2d\u7684\u6570\u91cf\uff0c\u4ece\u800c\u5e73\u8861\u5404\u4e2a\u7c7b\u522b\u3002\u7136\u800c\uff0c\u8fc7\u5ea6\u8fc7\u62bd\u6837\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8fc7\u62df\u5408\u95ee\u9898\uff0c\u9700\u8981\u8c28\u614e\u4f7f\u7528\u3002<\/li>\n<li>\u6b20\u62bd\u6837\uff08Undersampling\uff09\uff1a\u901a\u8fc7\u5220\u9664\u591a\u6570\u7c7b\u6837\u672c\u6765\u51cf\u5c11\u5176\u5728\u6570\u636e\u96c6\u4e2d\u7684\u6570\u91cf\uff0c\u4ece\u800c\u5e73\u8861\u5404\u4e2a\u7c7b\u522b\u3002\u6b20\u62bd\u6837\u53ef\u80fd\u4f1a\u635f\u5931\u90e8\u5206\u4fe1\u606f\uff0c\u9700\u8981\u7efc\u5408\u8003\u8651\u3002<\/li>\n<li>SMOTE\u6280\u672f\uff1a\u901a\u8fc7\u5408\u6210\u65b0\u7684\u5c11\u6570\u7c7b\u6837\u672c\u6765\u589e\u52a0\u5176\u5728\u6570\u636e\u96c6\u4e2d\u7684\u6570\u91cf\uff0c\u4fdd\u6301\u4e86\u6570\u636e\u7684\u5b8c\u6574\u6027\uff0c\u540c\u65f6\u5b9e\u73b0\u4e86\u6570\u636e\u5e73\u8861\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u5728\u673a\u5668\u5b66\u4e60\u4e2d\uff0c\u4e00\u4e9b\u7b80\u5355\u7c97\u66b4\u4f46\u6781\u5176\u6709\u6548\u7684\u60f3\u6cd5\u5305\u62ec: \u8fc7\u5ea6\u62df\u5408\u524d\u7684\u8bad\u7ec3\u3001\u6570\u636e\u589e\u5f3a\u3001\u6a21\u578b\u878d\u5408\u3001\u7279\u5f81\u5de5\u7a0b\u3001\u8f6c\u79fb\u5b66\u4e60\u7b49\u3002 [&hellip;]","protected":false},"author":3,"featured_media":188988,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/188984"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=188984"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/188984\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/188988"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=188984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=188984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=188984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}