{"id":55271,"date":"2024-06-16T16:23:26","date_gmt":"2024-06-16T08:23:26","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=55271"},"modified":"2024-06-16T16:23:26","modified_gmt":"2024-06-16T08:23:26","slug":"%e3%80%8c%e4%bb%98%e8%b4%b9%e3%80%8d%e3%80%90%e4%bb%a3%e7%a0%81-7%e3%80%91%e6%89%8b%e6%8a%8a%e6%89%8b%e5%b8%a6%e4%bd%a0%e5%ad%a6%e4%bc%9asvm%ef%bc%8c%e8%bd%bb%e6%9d%be%e8%a7%a3%e5%86%b3%e5%9f%ba-2","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=55271","title":{"rendered":"\u300c\u4ed8\u8d39\u300d\u3010\u4ee3\u7801-7\u3011\u624b\u628a\u624b\u5e26\u4f60\u5b66\u4f1aSVM\uff0c\u8f7b\u677e\u89e3\u51b3\u57fa\u56e0\u5206\u7c7b\u95ee\u9898\uff01"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u300c\u4ed8\u8d39\u300d\u3010\u4ee3\u7801-7\u3011\u624b\u628a\u624b\u5e26\u4f60\u5b66\u4f1aSVM\uff0c\u8f7b\u677e\u89e3\u51b3\u57fa\u56e0\u5206\u7c7b\u95ee\u9898\uff01\",\"time\":\"2023-09-29 19:00:50\",\"timeStamp\":\"1695985250\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247493709&#038;idx=2&#038;sn=0075d3e79f49a51f26df35875d65e49c&#038;chksm=cf7f7888f808f19e1f12c4c29740cba4c39ebec531c6579814fdf82557f6221a3c4a01e87590#rd\" target=\"_blank\" rel=\"noopener\">\u300c\u4ed8\u8d39\u300d\u3010\u4ee3\u7801-7\u3011\u624b\u628a\u624b\u5e26\u4f60\u5b66\u4f1aSVM\uff0c\u8f7b\u677e\u89e3\u51b3\u57fa\u56e0\u5206\u7c7b\u95ee\u9898\uff01<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span id=\"copyright_logo\" class=\"wx_tap_link js_wx_tap_highlight rich_media_meta icon_appmsg_tag appmsg_title_tag weui-wa-hotarea\">\u539f\u521b&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u679c&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-09-29 19:00:50<\/em><\/div>\n<p><content><\/p>\n<div class=\"topic\">\n<p>\u6536\u5f55\u4e8e\u8bdd\u9898<\/p>\n<p><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=2655932655410184193#wechat_redirect\" title=\"\u4ee3\u7801\" target=\"_blank\" rel=\"noopener\">#\u4ee3\u7801<\/a><\/p>\n<\/div>\n<section powered-by=\"xiumi.us\" data-mpa-powered-by=\"yiban.io\">\n<section>\n<section>\n<section powered-by=\"xiumi.us\">\n<section>\n<section powered-by=\"xiumi.us\">\n<section>\n<section powered-by=\"xiumi.us\">\n<section>\n<section>\n<section powered-by=\"xiumi.us\">\n<section>\n<section powered-by=\"xiumi.us\">\n<section>\n<section>\n<section powered-by=\"xiumi.us\">\n<section powered-by=\"xiumi.us\">\n<section>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.034em;\">\u57fa\u56e0\u5206\u7c7b\u662f\u4e00\u79cd\u5e7f\u6cdb\u5e94\u7528\u4e8e\u751f\u7269\u4fe1\u606f\u5b66\u548c\u533b\u5b66\u9886\u57df\u7684\u673a\u5668\u5b66\u4e60\u95ee\u9898\u3002<\/span><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.034em;\">\u5728\u57fa\u56e0\u5206\u7c7b\u4e2d\uff0c\u6bcf\u4e2a\u6837\u672c\u90fd\u7531\u4e00\u4e2a\u57fa\u56e0\u8868\u8fbe\u7279\u5f81\u5411\u91cf\u8868\u793a\uff0c\u800c\u4e0d\u540c\u7684\u6837\u672c\u5bf9\u5e94\u4e8e\u4e0d\u540c\u7684\u75c5\u75c7\u7c7b\u578b\uff0c\u5982\u764c\u75c7\u3002<\/span><br  \/><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\">SVM\u7b97\u6cd5\u53ef\u4ee5\u901a\u8fc7\u5b66\u4e60\u4e00\u4e2a\u5206\u7c7b\u8d85\u5e73\u9762\u6765\u5c06\u4e0d\u540c\u7c7b\u578b\u7684\u764c\u75c7\u5206\u5f00\u3002\u5728\u8fd9\u91cc\uff0c\u8d85\u5e73\u9762\u662f\u4e00\u4e2an-1\u7ef4\u7684\u7a7a\u95f4\uff0c\u5176\u4e2dn\u662f\u7279\u5f81\u5411\u91cf\u7684\u7ef4\u6570\u3002\u5f53\u6211\u4eec\u5c06\u8d85\u5e73\u9762\u5e94\u7528\u4e8e\u57fa\u56e0\u5206\u7c7b\u65f6\uff0c\u6bcf\u4e2a\u57fa\u56e0\u8868\u8fbe\u7279\u5f81\u5411\u91cf\u90fd\u88ab\u770b\u4f5c\u662f\u9ad8\u7ef4\u7a7a\u95f4\u4e2d\u7684\u4e00\u4e2a\u70b9\u3002SVM\u7b97\u6cd5\u7684\u76ee\u6807\u662f\u627e\u5230\u4e00\u4e2a\u6700\u4f18\u8d85\u5e73\u9762\uff0c\u4f7f\u5f97\u4e0d\u540c\u7c7b\u578b\u7684\u764c\u75c7\u5206\u5f00\uff0c\u5e76\u4e14\u79bb\u8d85\u5e73\u9762\u6700\u8fd1\u7684\u6837\u672c\u70b9\u5230\u8d85\u5e73\u9762\u7684\u8ddd\u79bb\u6700\u5927\u5316\u3002\u8fd9\u4e9b\u6700\u8fd1\u7684\u6837\u672c\u70b9\u88ab\u79f0\u4e3a\u652f\u6301\u5411\u91cf\uff08support vectors\uff09\u3002\u901a\u8fc7\u6700\u5927\u5316\u652f\u6301\u5411\u91cf\u4e4b\u95f4\u7684\u8ddd\u79bb\uff0cSVM\u53ef\u4ee5\u66f4\u597d\u5730\u5904\u7406\u566a\u58f0\u548c\u5f02\u5e38\u503c\uff0c\u540c\u65f6\u8fd8\u53ef\u4ee5\u907f\u514d\u8fc7\u62df\u5408\u3002<o:p><\/o:p><\/span><\/p>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\">\u7b80\u5355\u6765\u8bf4\u4f7f\u7528SVM\u7b97\u6cd5\u8fdb\u884c\u57fa\u56e0\u5206\u7c7b\u5c31\u50cf\u662f\u5728\u9ad8\u7ef4\u7a7a\u95f4\u4e2d\u5bfb\u627e\u4e00\u4e2a\u6700\u4f18\u8d85\u5e73\u9762\uff0c\u5c06\u4e0d\u540c\u7c7b\u578b\u7684\u75c5\u75c7\u5206\u7c7b\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u50cf\u662f\u5efa\u7acb\u5206\u53c9\u8def\u53e3\uff0c\u5f15\u5bfc\u4e0d\u540c\u65b9\u5411\u7684\u884c\u4eba\u8d70\u8fdb\u4e0d\u540c\u7684\u8def\u53e3\u3002\u800c\u8fd9\u4e2a\u8def\u53e3\u7684\u4f4d\u7f6e\u548c\u5f62\u72b6\uff0c\u5c31\u7531SVM\u7b97\u6cd5\u6765\u51b3\u5b9a\u3002<\/span><span style=\"\"><o:p><\/o:p><\/span><\/p>\n<section powered-by=\"xiumi.us\" style=\"margin-top: 10px;margin-bottom: 8px;font-size: 16px;letter-spacing: 0.578px;text-align: left;text-wrap: wrap;justify-content: flex-start;display: flex;flex-flow: row;\">\n<section powered-by=\"xiumi.us\" style=\"margin-bottom: 0px;font-size: 16px;letter-spacing: 0.578px;text-wrap: wrap;\">\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.407514450867052\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-09-29_\u300c\u4ed8\u8d39\u300d\u3010\u4ee3\u7801-7\u3011\u624b\u628a\u624b\u5e26\u4f60\u5b66\u4f1aSVM\uff0c\u8f7b\u677e\u89e3\u51b3\u57fa\u56e0\u5206\u7c7b\u95ee\u9898\uff01\/1_SmoY6d76Y2xx05p90UrtOlicsXFHfg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAwf01bQdniazricibuP85217uSLsSBWsGuXibfic8Awf1eytkBdNYSmoY6d76Y2xx05p90UrtOlicsXFHfg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"692\" style=\"\"  \/><\/p>\n<p style=\"letter-spacing: 0.578px;text-align: center;\"><span style=\"font-size: 14px;\"><strong><br  \/><\/strong><\/span><\/p>\n<p><span style=\"font-size: 14px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><span style=\"font-size: 14px;\">\u5728\u57fa\u56e0\u5206\u7c7b\u4e2d\uff0c<\/span>SVM<span style=\"font-size: 14px;\">\u7b97\u6cd5\u901a\u5e38\u4f7f\u7528\u5f84\u5411\u57fa\u51fd\u6570\uff08<\/span><span style=\"font-size: 14px;\">RBF<\/span><span style=\"font-size: 14px;\">\uff09\u6838\u51fd\u6570\u6765\u5c06\u6570\u636e\u70b9\u6620\u5c04\u5230\u9ad8\u7ef4\u7a7a\u95f4\u4e2d\u3002<\/span><span style=\"font-size: 14px;\">RBF<\/span><span style=\"font-size: 14px;\">\u6838\u51fd\u6570\u53ef\u4ee5\u5c06\u4f4e\u7ef4\u7a7a\u95f4\u4e2d\u7684\u6570\u636e\u70b9\u6620\u5c04\u5230\u9ad8\u7ef4\u7a7a\u95f4\u4e2d\uff0c\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u8d85\u5e73\u9762\u6765\u5206\u9694\u4e0d\u540c\u7c7b\u578b\u7684\u764c\u75c7\u3002\u901a\u8fc7\u8c03\u6574<\/span><span style=\"font-size: 14px;\">RBF<\/span><span style=\"font-size: 14px;\">\u6838\u51fd\u6570\u7684\u53c2\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u63a7\u5236\u5206\u7c7b\u5668\u7684\u590d\u6742\u5ea6\u548c\u6cdb\u5316\u6027\u80fd\u3002<\/span><o:p><\/o:p><\/span><\/p>\n<p><span style=\"font-size: 14px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><span style=\"font-size: 14px;\">\u6211\u4eec\u4ee5<\/span>ISLR<span style=\"font-size: 14px;\">\u5305\u4e2d\u7684<\/span>Khan<span style=\"font-size: 14px;\">\u6570\u636e\u4e3a\u4f8b\u3002<\/span>Khan<span style=\"font-size: 14px;\">\u662f\u57fa\u56e0\u6570\u636e\uff0c\u6bcf\u4e2a\u89c2\u6d4b\u5bf9\u5e94\u4e8e\u4e00\u4e2a\u7ec4\u7ec7\u6807\u672c\u7684\u6570\u636e\uff0c \u8fd9\u4e9b\u6807\u672c\u5206\u4e3a<\/span>4<span style=\"font-size: 14px;\">\u7c7b\uff0c\u5bf9\u5e94\u4e8e<\/span>4<span style=\"font-size: 14px;\">\u79cd\u5c0f\u5706\u84dd\u8272\u7ec6\u80de\u7624\u3002\u53d8\u91cf<\/span>xtrain<span style=\"font-size: 14px;\">\u548c<\/span>ytrain<span style=\"font-size: 14px;\">\u662f\u8bad\u7ec3\u6837\u672c\uff0c<\/span>xtest<span style=\"font-size: 14px;\">\u548c<\/span>ytest<span style=\"font-size: 14px;\">\u662f\u6d4b\u8bd5\u6837\u672c\u3002<\/span><\/span><\/p>\n<p><span style=\"font-size: 14px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><span style=\"font-size: 14px;\"><br  \/><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.20664739884393063\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_d9GotSD2VLOjylQVKAlpZtxVutAJCA.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAwf01bQdniazricibuP85217uSEboZALDvEnDSOgcRyYdkAbbTd9GotSD2VLOjylQVKAlpZtxVutAJCA\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"692\" style=\"\"  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.578px;text-wrap: wrap;\"><\/span><\/p>\n<p style=\"margin-bottom: 0px;font-size: 16px;letter-spacing: 0.578px;text-align: left;text-wrap: wrap;\"><span style=\"font-size: 14px;\">\u5982\u679c\u9700\u8981\u5b8c\u6574\u7684\u4ee3\u7801\u53ef\u4ee5\u70b9\u51fb\u4ed8\u8d39\u83b7\u53d6\u54e6!\u4eca\u5929\u5c0f\u679c\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u5982\u679c\u5c0f\u4f19\u4f34\u6709\u5176\u4ed6\u6570\u636e\u5206\u6790\u9700\u6c42\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u672c\u516c\u53f8\u65b0\u5f00\u53d1\u7684\u751f\u4fe1\u5206\u6790\u5c0f\u5de5\u5177\u4e91\u5e73\u53f0\uff0c\u5b63\u4ee3\u7801\u5b8c\u6210\u5206\u6790\uff0c\u975e\u5e38\u65b9\u4fbf\u5965!<\/span><\/p>\n<\/section>\n<p><br style=\"letter-spacing: 0.578px;text-wrap: wrap;\"  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"margin-bottom: 0px;font-size: 16px;letter-spacing: 0.578px;text-wrap: wrap;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"php\"><code><span class=\"code-snippet_outer\">library(e1071)<\/span><\/code><code><span class=\"code-snippet_outer\">library(ggplot2)<\/span><\/code><code><span class=\"code-snippet_outer\">library(ISLR)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u4eceISLR\u5305\u4e2d\u52a0\u8f7d\u540d\u4e3aKhan\u7684\u6570\u636e\u96c6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51faKhan$ytrain\u7684\u9891\u7387\u8868\uff0c\u4ee5\u4e86\u89e3\u6570\u636e\u96c6\u4e2d\u7684\u7c7b\u522b\u5206\u5e03\u60c5\u51b5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">data(<span class=\"code-snippet__string\">\"Khan\"<\/span>, package = <span class=\"code-snippet__string\">\"ISLR\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">table(Khan$ytrain)<\/span><\/code><code><span class=\"code-snippet_outer\"><br  \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u5c06\u8bad\u7ec3\u96c6\u548c\u6d4b\u8bd5\u96c6\u5b58\u50a8\u5728train\u548ctest\u6570\u636e\u6846\u4e2d\uff0c\u5176\u4e2dxtrain\u548cxtest\u662f\u9884\u6d4b\u53d8\u91cf<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#ytrain\u548cytest\u662f\u54cd\u5e94\u53d8\u91cf\u3002\u5728train\u548ctest\u6570\u636e\u6846\u4e2d\uff0cy\u53d8\u91cf\u88ab\u5f3a\u5236\u8f6c\u6362\u4e3a\u56e0\u5b50\u53d8\u91cf<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">train &lt;- data.frame(x = Khan$xtrain, y=<span class=\"code-snippet__keyword\">as<\/span>.factor(Khan$ytrain))<\/span><\/code><code><span class=\"code-snippet_outer\">test &lt;- data.frame(x = Khan$xtest, y=<span class=\"code-snippet__keyword\">as<\/span>.factor(Khan$ytest))<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"margin-bottom: 0px;font-size: 16px;letter-spacing: 0.578px;\">\n<p><br  \/><\/p>\n<p><span style=\"font-size: 14px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.5801749271137027\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-09-29_\u300c\u4ed8\u8d39\u300d\u3010\u4ee3\u7801-7\u3011\u624b\u628a\u624b\u5e26\u4f60\u5b66\u4f1aSVM\uff0c\u8f7b\u677e\u89e3\u51b3\u57fa\u56e0\u5206\u7c7b\u95ee\u9898\uff01\/3_7JpuKyeR0U8uAq6OV2Hyicqp7FP94g.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAwf01bQdniazricibuP85217uS1YnkibshjzNWFYO2v9kjbf6pUA7JpuKyeR0U8uAq6OV2Hyicqp7FP94g\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"686\" style=\"font-size: 16px;letter-spacing: 0.578px;text-align: center;white-space: normal;\"  \/>\u81ea\u53d8\u91cf\u67092308\u4e2a\uff0c\u6240\u4ee5\u81ea\u53d8\u91cf\u7684\u7a7a\u95f4\u7ef4\u6570\u5f88\u9ad8\uff0c\u4e0d\u9700\u8981\u7528\u591a\u9879\u5f0f\u6216\u8005\u5f84\u5411\u57fa\u589e\u52a0\u7ef4\u5ea6\u3002\u53ef\u4ee5\u76f4\u63a5\u7528\u7ebf\u6027\u7684SVM<span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 14px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><span style=\"font-family: \u5b8b\u4f53;\"><strong style=\"font-size: 14px;letter-spacing: 0.578px;text-align: center;text-wrap: wrap;\">\uff08\u626b\u7801\u9886\u53d6<span style=\"color: rgb(62, 62, 62);font-family: &quot;Noto Sans CJK SC&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Symbol&quot;, Arial, sans-serif;letter-spacing: 0.476px;background-color: rgb(255, 255, 255);\">\u6574\u7406\u597d\u7684\u8f93\u5165\u6587\u4ef6\uff0c\u4ee3\u7801\u6587\u4ef6\u53ca\u793a\u4f8b\u7ed3\u679c<\/span>\uff09<\/strong><\/span><\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.3888888888888889\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_IlmBAWe69EMUPMhNEgrv6NXX85lJxg.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/zcicibWZessAwyrj7kbUR3ULG9ZUbLrLkgibzL8qUpQROfe8ebc3gNSnu1dIlmBAWe69EMUPMhNEgrv6NXX85lJxg\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"1080\" style=\"\"  \/><\/p>\n<p class=\"js_pay_preview_filter\"><mp-pay-preview-filter data-offset=\"9\"><\/mp-pay-preview-filter><\/p>\n<p><\/content>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u4ed8\u8d39\u300d\u3010\u4ee3\u7801-7\u3011\u624b\u628a\u624b\u5e26\u4f60\u5b66\u4f1aSVM\uff0c\u8f7b\u677e\u89e3\u51b3\u57fa\u56e0\u5206\u7c7b\u95ee\u9898\uff01 \u539f\u521b&nbsp;&nbsp;\u5c0f\u679c&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55271"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55271"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55271\/revisions"}],"predecessor-version":[{"id":55277,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55271\/revisions\/55277"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55271"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}