{"id":2985,"date":"2023-10-18T23:43:50","date_gmt":"2023-10-18T15:43:50","guid":{"rendered":"http:\/\/khsci.com\/docs\/?p=2985"},"modified":"2024-05-30T21:38:00","modified_gmt":"2024-05-30T13:38:00","slug":"cnn_reg","status":"publish","type":"post","link":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/","title":{"rendered":"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\">\n<p>-\u4f7f\u7528\u6ce2\u58eb\u987f\u623f\u4ef7\u9884\u6d4b\u4f5c\u4e3a\u6f14\u793a\u6848\u4f8b\u3002<\/p>\n\n\n\n<p>-\u53ef\u4ee5\u81ea\u7531\u8bbe\u7f6e\u795e\u7ecf\u7f51\u7edc\u5377\u79ef\u5c42\u7ed3\u6784\u3001\u6c60\u5316\u5c42\u7ed3\u6784<\/p>\n\n\n\n<p>-\u53ef\u4ee5\u5feb\u901f\u5212\u5206\u8bad\u7ec3\u96c6\u3001\u9a8c\u8bc1\u96c6\u3001\u6d4b\u8bd5\u96c6<\/p>\n\n\n\n<p>-\u7a0b\u5e8f\u8fd0\u884c\u5b8c\u540e\u81ea\u52a8\u7ed8\u5236\u51fa\u6536\u655b\u8fc7\u7a0b\u3001\u8bad\u7ec3\u96c6\u548c\u6d4b\u8bd5\u96c6\u7684\u9884\u6d4b\u7ed3\u679c\u5bf9\u6bd4\u3001\u76f8\u5bf9\u8bef\u5dee\u56fe\u3001<strong>MAE\/MSE\/MAPE\/RMSE\/R\u7b49\u6307\u6807<\/strong><\/p>\n\n\n\n<p>-\u591a\u79cd\u8bad\u7ec3\u53c2\u6570\u53ef\u8bbe\u7f6e\uff0c\u5305\u62ec\u6c42\u89e3\u5668\u3001\u8fed\u4ee3\u6b21\u6570\u3001\u521d\u59cb\u5b66\u4e60\u7387\u7b49\u7b49<\/p>\n\n\n\n<p>-\u53ef\u8bbe\u7f6e\u968f\u673a\u79cd\u5b50\uff0c\u4fdd\u8bc1\u6bcf\u6b21\u8fd0\u884c\u7ed3\u679c\u4fdd\u6301\u4e00\u81f4<\/p>\n\n\n\n<p>\u2013<strong>\u9700\u8981\u4f60\u505a\u7684\u57fa\u672c\u53ea\u6709\u5bfc\u5165\u6570\u636e\u548c\u8c03\u53c2\u3002<\/strong><\/p>\n\n\n\n<p>\u2013<strong>\u7edd\u5927\u591a\u6570\u6d41\u7a0b\u90fd\u88ab\u5c01\u88c5\u56fa\u5316\u5230\u51fd\u6570\u4e2d\uff0c\u4eff\u7167\u6848\u4f8b\u5bfc\u5165\u4f60\u7684\u6570\u636e\u5373\u523b\u5f97\u5230\u7ed3\u679c~<\/strong><\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u4e00\u3001\u4ee3\u7801\u8fd0\u884c\u73af\u5883<\/strong><\/h4>\n\n\n\n<p>MATLAB2018b\u53ca\u66f4\u65b0\u7248\u672c\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u7a0b\u5e8f\u4ecb\u7ecd<\/strong><\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"157\" height=\"77\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2023\/10\/image.png\" alt=\"\" class=\"wp-image-2986\"\/><\/figure><\/div>\n\n\n<p>\u6ce8\uff1a<img decoding=\"async\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2020\/04\/d2f64ad140f71d4582ec56dfb0893b44.png\">\u56fe\u6807\u4ee3\u8868\u8be5m\u6587\u4ef6\u4e3a\u811a\u672c\u6587\u4ef6\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\uff1b<img decoding=\"async\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2020\/04\/5823613e4f686c23a078445e25e3e8eb.png\">\u56fe\u6807\u4ee3\u8868\u51fd\u6570\u6587\u4ef6\uff0c\u5728\u6ca1\u6709\u8f93\u5165\u53d8\u91cf\u7684\u60c5\u51b5\u4e0b\u65e0\u6cd5\u76f4\u63a5\u8fd0\u884c\u3002\u66f4\u8be6\u7ec6\u7684\u89e3\u91ca\u53ef\u4ee5\u770b<a href=\"https:\/\/ww2.mathworks.cn\/help\/matlab\/learn_matlab\/scripts-and-functions.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u8fd9\u91cc<\/a>\u3002<\/p>\n\n\n\n<p><strong>1.scriptRegCNNs.m\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>\u4f7f\u7528\u6ce2\u58eb\u987f\u57ce\u90ca\u533a\u57df\u7684\u623f\u4ef7\u6570\u636e\u96c6\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u7684\u6848\u4f8b\uff0c\u5176\u4e2d\u6f14\u793a\u4e86FunRegCNNs\u51fd\u6570\u7684\u5e94\u7528\u65b9\u5f0f\u793a\u8303\u3002<\/p>\n\n\n\n<p>\u6587\u4ef6\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u3002\u7a0b\u5e8f\u8fd0\u884c\u5b8c\u6210\u540e\uff0c\u5c06\u4f1a\u753b\u51fa\u5982\u4e0b\u56fe\u50cf\uff1a<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-5259b8770adfcb00f74121630bb50e77_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u6536\u655b\u8fc7\u7a0b\u56fe<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pica.zhimg.com\/80\/v2-3311342d3d3fa4bb9f90f2ceca1da9b3_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u7f51\u7edc\u7ed3\u6784\u56fe<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-b3e613ee5539f5b2dc1f210671413740_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u635f\u5931\u503c\u548cRMSE\u6536\u655b\u56fe<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pica.zhimg.com\/80\/v2-c3819bd68f0507e505f2842ff9d9f77c_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u8bad\u7ec3\u96c6\u62df\u5408\u7ed3\u679c\u5bf9\u6bd4\u56fe<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-5097628472f1da0d8f3bc1f92e6a8d6d_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u8bad\u7ec3\u96c6\u9884\u6d4b\u7ed3\u679c\u76f8\u5bf9\u8bef\u5dee<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-454239f4ba3c2a4a8bfb8ac04258f910_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u6d4b\u8bd5\u96c6\u9884\u6d4b\u7ed3\u679c\u5bf9\u6bd4\u56fe<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-401ebd2b7e5d1d933818f9159ab130f6_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u6d4b\u8bd5\u96c6\u9884\u6d4b\u7ed3\u679c\u76f8\u5bf9\u8bef\u5dee<\/p>\n\n\n\n<p>\u5728\u547d\u4ee4\u884c\u7a97\u53e3\u8fd8\u4f1a\u6253\u5370\u51fa\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-141242e9afe1a649eb6c16e6de9cb248_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u7f51\u7edc\u7ed3\u6784<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-6e62778bc1ca700745ff6016330105e6_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\u6bcf\u5c42\u7f51\u7edc\u7684\u8f93\u51fa\u5c3a\u5bf8<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/pica.zhimg.com\/80\/v2-8589658971c9793fd47f4f8abec95cea_720w.webp?source=d16d100b\" alt=\"\"\/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">MAE\/MSE\/MAPE\/RMSE\/R\u7b49\u6307\u6807<\/p>\n\n\n\n<p><strong>2.FunRegCNNs.m\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u7684\u5feb\u901f\u5b9e\u73b0\u51fd\u6570\u3002<\/p>\n\n\n\n<p>\u4ee3\u7801\u8bf4\u660e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-matlab\">function [foreData,foreDataTrain,net,info] = FunRegCNNs(dataX,dataY,trainR,cLayer,poolingLayer,fcLayer,options,figflag)\n% \u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u7684\u5feb\u901f\u5b9e\u73b0\u51fd\u6570\n% \u8be5\u51fd\u6570\u9700\u8981\u8f93\u5165\u7684\u6570\u636e\u4e3aarray\u6570\u7ec4\u578b\n% \u8f93\u5165\uff1a\n% dataX\uff1a\u8f93\u5165\u6570\u636e\uff0cR*Q\u7684\u77e9\u9635\uff0cR\u4e3a\u8f93\u5165\u6570\u636e\u7684\u7ef4\u5ea6\uff0cQ\u4e3a\u6279\u6b21\u6570\uff0c\u8f93\u5165\u8be5\u53d8\u91cf\u65f6\u4e00\u5b9a\u8981\u6ce8\u610f\u7ef4\u5ea6\u6b63\u786e\n%           \u4f8b\uff1a\u5bf9\u4e8e\u4e00\u7ef4\u7279\u5f81\uff0c\u6bcf\u7ec4\u6570\u636e\u957f\u5ea6\u4e3a20\uff0c\u51711000\u7ec4\u6570\u636e\uff0c\u5219dataX\u7684\u53ef\u4ee5\u7ef4\u5ea6\u4e3a\uff1a20*1000\n% dataY\uff1a\u8f93\u51fa\u7ed3\u679c\n% trainR\uff1a\u6570\u636e\u96c6\u4e2d\u8bad\u7ec3\u96c6\u5212\u5206\u6bd4\u4f8b\uff0c\u5982\uff1atrainR = 0.6\uff0c\u5219\u4ee3\u886860%\u6570\u636e\u7528\u4e8e\u8bad\u7ec3\u96c6\uff0c40%\u6570\u636e\u7528\u4e8e\u6d4b\u8bd5\u96c6\n\n% cLayer\uff1a\u5377\u79ef\u5c42\u7ed3\u6784\uff0c\u4e3an*5\u7684\u4e8c\u7ef4\u6570\u7ec4\uff0c\u5176\u4e2dn\u4e3a\u5377\u79ef\u5c42\u7684\u6570\u91cf\n% \u5217\u5411\u76845\u4e2a\u7ef4\u5ea6\u65f6\u5206\u522b\u4ee3\u8868\u6ee4\u6ce2\u5668\u7684\u9ad8\u3001\u6ee4\u6ce2\u5668\u7684\u5bbd\u3001\u6ee4\u6ce2\u5668\u6570\u91cf\u3001\u6b65\u957f\u3001\u586b\u5145\n% \u4f8b\uff0ccLayer = [3,1,16,1,1;3,1,32,1,0]\u65f6\uff0c\u5219\u4ee3\u8868\u6709\u4e24\u5c42\u5377\u79ef\u5c42\uff0c\u5176\u4e2d\u7b2c\u4e00\u5c42\u6ee4\u6ce2\u5668\u9ad8\u4e3a3\uff0c\u5bbd\u4e3a1\uff0c\u6ee4\u6ce2\u5668\u6570\u91cf\u4e3a16\uff0c\u6b65\u957f1\uff0c\u586b\u51451\n%                                                \u7b2c\u4e8c\u6b21\u6ee4\u6ce2\u5668\u9ad8\u4e3a3\uff0c\u5bbd\u4e3a1\uff0c\u6ee4\u6ce2\u5668\u6570\u91cf\u4e3a32\uff0c\u6b65\u957f1\uff0c\u586b\u51450\n\n% poolingLayer\uff1a\u6c60\u5316\u5c42\u7ed3\u6784\uff0c\u4e3a\u957f\u5ea6\u4e3an*5\u7684cell\u6570\u636e\uff0c\u5176\u4e2dn\u4e3a\u6c60\u5316\u5c42\u7684\u6570\u91cf\uff0c\u548c\u5377\u79ef\u5c42\u5c42\u6570\u76f8\u540c\u3002\n% \u5217\u5411\u7684\u4e09\u4e2a\u7ef4\u5ea6\u5206\u522b\u4ee3\u8868\uff1a1.\u6c60\u5316\u5c42\u7c7b\u578b\uff0c\u5206\u4e3a&#039;maxPooling2dLayer&#039;\u548c&#039;averagePooling2dLayer&#039;\u4e24\u79cd\uff0c\u5982\u679c\u4e0d\u7528\u6c60\u5316\u5c42\u8bbe\u7f6e\u4e3a&#039;none&#039;\n%                         2.\u6c60\u5316\u533a\u57df\u9ad8\u5ea6\u5c3a\u5bf8\n%                         3.\u6c60\u5316\u533a\u57df\u5bbd\u5ea6\u5c3a\u5bf8\n%                         4.\u6b65\u957f\n%                         5.\u586b\u5145\n% \u4f8b\u5982\uff1a\n% poolingLayer = {&#039;maxPooling2dLayer&#039;,2,1,2,1; &#039;averagePooling2dLayer&#039;,2,1,1,0};\n% \u4ee3\u8868\u7b2c\u4e00\u4e2a\u6c60\u5316\u5c42\u4e3a\u6700\u5927\u6c60\u5316\u5c42\uff0c\u5c3a\u5bf8\u4e3a2*1\uff0c\u6b65\u957f2\uff0c\u586b\u51451\uff0c\u7b2c\u4e8c\u4e2a\u6c60\u5316\u5c42\u4e3a\u5e73\u5747\u6c60\u5316\u5c42\uff0c\u5c3a\u5bf8\u4e3a2*1\uff0c\u6b65\u957f1\uff0c\u586b\u51450\n% \u6ce8\u610f\uff01\u5982\u679c\u5bf9\u5e94\u5377\u79ef\u5c42\u540e\u4e0d\u8bbe\u7f6e\u6c60\u5316\u5c42\uff0c\u8bf7\u5728\u5bf9\u5e94\u7684\u4f4d\u7f6e\u8bbe\u7f6e\u4e3a&#039;none&#039;,0,0,0,0\n% \u6bd4\u5982cLayer\u8bbe\u7f6e\u4e3a\u4e24\u5c42\u65f6\uff0c\u5982\u679c\u53ea\u60f3\u5728\u7b2c\u4e00\u5c42\u5377\u79ef\u5c42\u540e\u5bf9\u5e94\u6709\u6c60\u5316\u5c42\uff0c\u7b2c\u4e8c\u5c42\u5377\u79ef\u5c42\u540e\u65e0\u6c60\u5316\u5c42\uff0c\u90a3\u4e48\u6c60\u5316\u5c42\u5e94\u8be5\u8bbe\u7f6e\u4e3a\uff1a\n% poolingLayer = {&#039;maxPooling2dLayer&#039;,1,2,1,0;\n%                 &#039;none&#039;,0,0,0,0 }; %\u540e\u8fb9\u7684\u56db\u4e2a0\u4e3b\u8981\u662f\u5360\u4f4d\uff0c\u4e0d\u8d77\u5b9e\u9645\u4f5c\u7528\n\n% options\uff1a\u4e00\u4e9b\u4e0e\u7f51\u7edc\u8bad\u7ec3\u7b49\u76f8\u5173\u7684\u8bbe\u7f6e\uff0c\u4f7f\u7528\u7ed3\u6784\u4f53\u65b9\u5f0f\u8d4b\u503c\uff0c\u6bd4\u5982 options.MaxEpochs = 1000\uff0c\u5177\u4f53\u5305\u62ec\uff1a\n%             solverName\uff1a\u6c42\u89e3\u5668\uff0c&#039;sgdm&#039;\uff08\u9ed8\u8ba4\uff09 | &#039;rmsprop&#039; | &#039;adam&#039;\n%             MaxEpochs\uff1a\u6700\u5927\u8fed\u4ee3\u6b21\u6570\uff0c\u9ed8\u8ba430\n%             MiniBatchSize\uff1a\u6279\u5c3a\u5bf8\uff0c\u9ed8\u8ba4128\n%             GradientThreshold\uff1a\u68af\u5ea6\u6781\u9650\uff0c\u9ed8\u8ba4\u4e3aInf\n%             InitialLearnRate\uff1a\u521d\u59cb\u5316\u5b66\u4e60\u901f\u7387\uff08\u9ed8\u8ba40.005\uff09\n%             Plots\uff1a\u662f\u5426\u663e\u793a\u8bad\u7ec3\u8fc7\u7a0b\uff0c&#039;none&#039; \u4e3a\u4e0d\u663e\u793a\uff08\u9ed8\u8ba4\uff09 | &#039;training-progress&#039;\u4e3a\u663e\u793a\n%             ValidationFrequency\uff1a\u9a8c\u8bc1\u9891\u7387\uff0c\u5373\u6bcf\u95f4\u9694\u591a\u5c11\u6b21\u8fed\u4ee3\u8fdb\u884c\u4e00\u6b21\u9a8c\u8bc1\uff0c\u9ed8\u8ba450\n%             LearnRateSchedule\uff1a\u5373LearnRateSchedule\u662f\u5426\u5728\u4e00\u5b9a\u8fed\u4ee3\u6b21\u6570\u540e\u5b66\u4e60\u901f\u7387\u4e0b\u964d\uff0c LearnRateSchedule =&#039;piecewise&#039;\u4e3a\u4f7f\u7528\uff0c&#039;none&#039;\u4e3a\u4e0d\u4f7f\u7528\uff08\u9ed8\u8ba4\uff09\n%             LearnRateDropPeriod\uff1a\u5373LearnRateDropPeriod\u5b66\u4e60\u901f\u7387\u4e0b\u964d\u65f6\u7684\u8fed\u4ee3\u6570\uff0c\u9ed8\u8ba4\u4e3a10\n%             LearnRateDropFactor\uff1a\u5373LearnRateDropFactor\u5b66\u4e60\u901f\u7387\u4e0b\u964d\u56e0\u5b50\uff0c\u4e0b\u964d\u540e\u53d8\u4e3aLearnRateDropFactor*InitialLearnRate\uff0cLearnRateSchedule\u4e3a0\u65f6\u53ef\u4ee5\u8d4b0\uff0c\u9ed8\u8ba4\u4e3a0.1\n%             \uff08\u672a\u542f\u7528\uff09NorFlag\uff1a\u5373Normalization Flag\uff0c\u8bbe\u7f6e\u4e3a1\u65f6\u5219\u5728\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u6570\u636e\u5f52\u4e00\u5316\u548c\u53cd\u5f52\u4e00\u5316\u64cd\u4f5c\uff0c\u5426\u5219\u4e0d\u8fdb\u884c\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a1\n%             SeedFlag\uff1a\u968f\u673a\u79cd\u5b50\u6807\u5fd7\uff0c\u8bbe\u7f6e\u4e3a1\u65f6\u542f\u7528\u968f\u673a\u79cd\u5b50,(\u9ed8\u8ba4\u4e3a1)\n% fcLayer\uff1a\u5168\u8fde\u63a5\u5c42\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u591a\u5c42\uff0c\u5982\u679c\u8bbe\u7f6efcLayer=[]\uff0c\u5219\u5728\u7f51\u7edc\u7ed3\u6784\u4e2d\u53ea\u5305\u542b\u4e00\u4e2a\u5168\u8fde\u63a5\u5c42\uff0c\u8f93\u51fa\u7684\u7ef4\u5ea6\u4e0e\u6570\u636e\u7c7b\u522b\u76f8\u540c\u3002\n%                                  \u5982\u679c\u8bbe\u7f6efcLayer\u4e3a\u6570\u7ec4\uff0c\u5219\u4ee3\u8868\u5728\u4e0a\u8fb9\u7684\u5168\u8fde\u63a5\u5c42\u4e4b\u524d\u518d\u52a0\u5165\u5bf9\u5e94\u6570\u91cf\u7684\u5168\u8fde\u63a5\u5c42\u548cReLU\u5c42\n%                                  \u4f8b\u5982\u8bbe\u7f6efcLayer=[32,16]\uff0c\u5219\u4ee3\u8868\u5728\u5171\u6709\u4e09\u4e2a\u5168\u8fde\u63a5\u5c42\uff0c\u7b2c\u4e00\u4e2a\u662ffullyConnectedLayer(32)+ReLU\uff0c\u7b2c\u4e8c\u4e2a\u662ffullyConnectedLayer(16)+ReLU\uff0c\n%                                                           \u7b2c\u4e09\u4e2a\u662ffullyConnectedLayer(numClasses)\n% figflag\uff1a\u662f\u5426\u753b\u56fe\uff0c&#039;on&#039;\u4e3a\u753b\u56fe\uff0c&#039;off&#039;\u4e3a\u4e0d\u753b\n% \u8f93\u51fa\uff1a\n% foreData\uff1a\u6d4b\u8bd5\u96c6\u7684\u56de\u5f52\u9884\u6d4b\u7ed3\u679c\n% foreDataTrain:\u8bad\u7ec3\u96c6\u7684\u56de\u5f52\u9884\u6d4b\u7ed3\u679c\n% net\uff1a\u8bad\u7ec3\u597d\u7684\u7f51\u7edc\n% info\uff1a\u795e\u7ecf\u7f51\u7edc\u8bad\u7ec3\u76f8\u5173\u53c2\u6570\uff0c\u5982loss\u503c\u3001\u51c6\u786e\u5ea6\u7b49<\/code><\/pre>\n\n\n\n<p><strong>3.EvaForeEffect.m\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>\u7528\u4e8e\u8bc4\u4ef7\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\u6548\u679c\u5404\u4e2a\u91cf\u5316\u6307\u6807\u7684\u901a\u7528\u51fd\u6570\u3002\u53ef\u4ee5\u8ba1\u7b97<strong>MAE\/MSE\/MAPE\/RMSE\/R2\/R\u7b49<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-matlab\">function ind = EvaForeEffect(realData,foreData,indNamesCell)\n% \u7528\u4e8e\u8bc4\u4ef7\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\u6548\u679c\u5404\u4e2a\u91cf\u5316\u6307\u6807\u7684\u901a\u7528\u51fd\u6570\n% \u8f93\u5165\uff1a\n% realData\uff1a\u771f\u5b9e\u503c\n% foreData\uff1a\u9884\u6d4b\u503c\n% indNamesCell\uff1a\u62df\u8fdb\u884c\u9884\u6d4b\u8bc4\u4ef7\u6307\u6807\u540d\u79f0\uff0c\u8be5\u53d8\u91cf\u4e3acell\u7c7b\u578b\uff0c\u5176\u4e2d\u5305\u542b\u7684\u6307\u6807\u540d\u79f0\u4e3a\u5b57\u7b26\u4e32\uff0c\u6307\u6807\u540d\u79f0\u5728\u4e0b\u8fb9\u5217\u8868\u4e2d\uff1a\n% \u76ee\u524d\u652f\u6301\u7684\u6307\u6807\uff082021.12.5\uff09\uff1a\n% MSE\uff1a\u5747\u65b9\u8bef\u5dee\uff08Mean Square Error\uff09\n% RMSE\uff1a\u5747\u65b9\u6839\u8bef\u5dee\uff08Root Mean Square Error\uff09\n% MAE\uff1a\u5e73\u5747\u7edd\u5bf9\u8bef\u5dee\uff08Mean Absolute Error\uff09\n% MAPE\uff1a\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee\uff08Mean Absolute Percentage Error\uff09\n% R2\uff1a\u51b3\u5b9a\u7cfb\u6570\uff08R2-R-Square\uff09\n% R\uff1a\u76f8\u5173\u7cfb\u6570\n% \u5982\u679c\u60f3\u83b7\u53d6MSE\u3001MAE\u4e24\u4e2a\u6307\u6807\uff0c\u5219\u8bbe\u7f6e\uff1aindNamesCell = {&#039;MSE&#039;,&#039;MAE&#039;}\n% \u8f93\u51fa\uff1a\n% ind\uff1a\u9884\u6d4b\u6548\u679c\u8bc4\u4ef7\u6307\u6807\u7ed3\u679c\u6570\u7ec4\uff0c\u5176\u8bc4\u4ef7\u6307\u6807\u503c\u987a\u5e8f\u4e0eindNamesCell\u4e00\u4e00\u5bf9\u5e94<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-48ed3464-f92e-4cf6-bfd0-0c12c72184ad\">\u4e09\u3001\u5feb\u901f\u5f00\u59cb<\/h4>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-b642d1fa-784c-47f9-b351-25d06e6327db\"><strong>1.\u8fd0\u884c\u6d4b\u8bd5\u811a\u672c<\/strong><\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-7d7e8701-b7ba-48dd-8cc5-85a9c8f02780\">\u5148\u5728MATLAB\u91cc\u6253\u5f00\u4e0b\u8f7d\u597d\u7684\u6587\u4ef6\u5939\uff0c\u7136\u540e\u8fd0\u884c<strong>scriptRegCNNs.m<\/strong>\u7a0b\u5e8f\uff0c\u7a0b\u5e8f\u8fd0\u884c\u5b8c\u6bd5\u540e\u5982\u679c\u6ca1\u62a5\u9519\uff0c\u4e14\u6b63\u5e38\u753b\u51fa\u4e0a\u8ff0\u56fe\u50cf\uff0c\u5219\u8bf4\u660e\u8fd0\u884c\u73af\u5883\u6b63\u5e38\uff0c\u7a0b\u5e8f\u6b63\u786e\u3002<\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-1acb32fd-9694-43a9-b0ab-09500bc663da\"><strong>2.\u4fee\u6539\u4eff\u771f\u6570\u636e\/\u5bfc\u5165\u6570\u636e<\/strong><\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-e20dcbee-602d-44e7-8d86-1178d03434be\">\u590d\u5236\u4e00\u4e2a<strong><strong>scriptRegCNNs<\/strong>.m<\/strong>\u7684\u6587\u4ef6\u526f\u672c\uff0c\u5728\u8fd9\u4e2a\u526f\u672c\u91cc\u505a\u5982\u4e0b\u4fee\u6539\uff1a<\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-f86a084a-7829-4f7a-b7f5-40d6f609fc6b\">\u6839\u636e\u4f60\u7684\u6587\u4ef6\u7c7b\u578b\u7684\u4e0d\u540c\uff08excel,txt,csv\u7b49\uff09\uff0c\u5c06\u6570\u636e\u5bfc\u5165MATLAB\u7684\u65b9\u6cd5\u6709\u6240\u4e0d\u540c\u3002\u540c\u5b66\u4eec\u53ef\u4ee5\u770b\u535a\u4e3b\u9488\u5bf9\u5e38\u7528\u6587\u4ef6\u7684\u5bfc\u5165\u65b9\u6cd5\u7684<a href=\"https:\/\/khsci.com\/docs\/index.php\/2020\/05\/17\/loaddata\/\">\u8fd9\u4e2a\u6559\u7a0b<\/a>\uff0c\u6559\u7a0b\u4e0a\u672a\u5305\u542b\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5927\u5bb6\u53ef\u4ee5\u518d\u53c2\u8003<a href=\"https:\/\/ww2.mathworks.cn\/help\/matlab\/standard-file-formats.html\">\u8fd9\u4e2a\u6587\u6863<\/a>\u3002<\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-0e1d9f81-694a-4099-99c6-76f0ffb120c3\"><strong>3.\u5b9e\u73b0CNN\u56de\u5f52\u9884\u6d4b<\/strong><\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-b617207c-5f2f-4dae-b700-a149c9bdf602\">\u53c2\u7167\u811a\u672c\u6587\u4ef6\u4e2d\u7b2c\u4e09\u3001\u56db\u6b65\uff0c\u6839\u636e\u9700\u8981\u8c03\u6574\u76f8\u5173\u53c2\u6570\u3002<\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-193dd1d9-70c2-4c7c-b0c8-cfab03c3c3ff\">\u8fd0\u884c\u7a0b\u5e8f\u5373\u53ef\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-b71f6dd9-905a-435b-9dee-db0aafb5253c\">\u56db\u3001\u5173\u4e8e\u5b8c\u6574\u7248\u4e0e\u516c\u5f00\u7248\u4ee3\u7801<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u529f\u80fd<\/strong><\/td><td><strong>\u5b8c\u6574\u7248<\/strong><\/td><td><strong>\u516c\u5f00\u7248<\/strong><\/td><\/tr><tr><td>\u6570\u636e\u5bfc\u5165\u3001\u53c2\u6570\u8bbe\u7f6e\u3001\u5b9e\u73b0\u6ee4\u6ce2<\/td><td>\u221a<\/td><td>\u221a<\/td><\/tr><tr><td>\u8f6f\u4ef6\u5168\u90e8\u6e90\u7801\uff08\u51fd\u6570m\u6587\u4ef6\uff09<\/td><td>\u221a<\/td><td>\u00d7<\/td><\/tr><tr><td>\u753b\u56fe\u65e0\u6c34\u5370<\/td><td>\u221a<\/td><td>\u00d7<\/td><\/tr><tr><td>\u6700\u5927\u8fed\u4ee3\u6b21\u6570<\/td><td>\u4e0d\u9650\u5236<\/td><td>100<\/td><\/tr><tr><td>\u5bfc\u51fa\u9884\u6d4b\u7ed3\u679c\u3001\u8bad\u7ec3\u597d\u7684\u7f51\u7edc\u6a21\u578b\u3001\u795e\u7ecf\u7f51\u7edc\u8bad\u7ec3\u76f8\u5173\u53c2\u6570\uff08\u5982loss\u503c\u3001\u51c6\u786e\u5ea6\uff09\u7b49<\/td><td>\u53ef\u5bfc\u51fa<\/td><td>\u4e0d\u53ef\u5bfc\u51fa<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-30ec1c91-2cc7-4e0c-b2c1-8f5de91cddce\">\u4e94\u3001\u83b7\u53d6\u516c\u5f00\u7248\u7a0b\u5e8f\uff08\u9700\u4f7f\u7528\u7535\u8111\u6d4f\u89c8\u5668\u6253\u5f00\uff09<\/h4>\n\n\n\n<div class=\"wpfd-single-file\">\n\n    <div class=\"wpfd-single-file--details wpfd-file-content\">\n                <h3 class=\"wpfd-file-content--title\">CNN\u56de\u5f52\u9884\u6d4b\u4ee3\u7801\u516c\u5f00\u7248<\/h3>\n        <div class=\"wpfd-file-content--meta\">\n                    <div>\u6587\u4ef6\u5c3a\u5bf8: 44.17 KB<\/div>\n                    <div>\u66f4\u65b0: 20-10-2023<\/div>\n        <\/div>\n    <\/div>\n    <div class=\"wpfd-single-file--buttons\">\n                <a href=\"https:\/\/www.khsci.com\/docs\/index.php\/download\/6\/%e6%96%b0%e5%88%86%e7%b1%bb\/3004\/cnn%e5%9b%9e%e5%bd%92%e9%a2%84%e6%b5%8b%e4%bb%a3%e7%a0%81%e5%85%ac%e5%bc%80%e7%89%88.zip\"  data-id=\"3004\" title=\"CNN\u56de\u5f52\u9884\u6d4b\u4ee3\u7801\u516c\u5f00\u7248\" class=\"noLightbox wpfd_downloadlink wpfd-single-file-button wpfd-button-download\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"36\" height=\"36\" viewBox=\"0 0 400 400\"><g fill=\"#ffffff\"><path d=\"M200 400H26c-18 0-26-9-26-27v-73c0-16 9-25 24-25h105a14 14 0 018 4l28 28c21 21 48 21 69 0l28-29a13 13 0 018-3h106c14 0 24 9 24 23v79c0 14-10 23-25 23H200zm155-63c-9 0-17 8-17 16a15 15 0 0015 16c9 0 17-7 17-16a16 16 0 00-15-16zm-47 16c0-9-7-16-16-16a16 16 0 00-15 16c0 9 6 16 15 16s16-7 16-16zM245 127h55a56 56 0 017 0c7 0 11 4 13 10 3 6 1 11-3 16l-43 45-62 63c-8 9-17 9-25 1L83 154c-5-5-6-11-4-18 3-7 9-9 15-9h61v-9-99c0-14 5-19 17-19h55c13 0 18 5 18 19v99z\"\/><\/g><\/svg>\n                    <span>\u4e0b\u8f7d<\/span>\n                <\/a>\n    <\/div>\n<\/div>\n\n\n\n\n<p class=\"is-style-iw-2em has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-efd824daafcda3bb655ee46704e65423\" id=\"block-c03fc622-1986-4976-acfd-219cf79ad4aa\"><strong>\u6ce8\uff1a\u516c\u5f00\u7248\u4ee3\u7801\u9700\u4f7f\u7528MATLAB2022a\u53ca\u4ee5\u4e0a\u7248\u672c<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-be9fbd59-b6e4-422c-be8e-fde41423197b\">\u516d\u3001\u83b7\u53d6\u5b8c\u6574\u7248\u7a0b\u5e8f\uff08\u4f7f\u7528\u7535\u8111\u6d4f\u89c8\u5668\u6216\u8005\u624b\u673a\u6d4f\u89c8\u5668\u6253\u5f00\uff09<\/h4>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-07fc515f-ed21-4711-a82c-601c7201a761\"><strong>\u83b7\u53d6\u901a\u9053\u4e00\uff08\u6dd8\u5b9d\uff09\uff1a<\/strong><a href=\"https:\/\/item.taobao.com\/item.htm?id=744053609348\" target=\"_blank\" rel=\"noreferrer noopener\">\u70b9\u51fb\u6b64\u5904\u83b7\u53d6\u5b8c\u6574\u7248\u7a0b\u5e8f<\/a><\/p>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-4c022a67-4070-4311-b5bb-9def327cc120\"><strong>\u83b7\u53d6\u901a\u9053\u4e8c\uff08\u672c\u9875\u9762\uff09\uff1a<\/strong>\u70b9\u51fb\u4e0b\u9762\u201c\u7acb\u5373\u652f\u4ed8\u201d\u6309\u94ae\uff0c\u4ed8\u6b3e\u540e\u83b7\u53d6\u5b8c\u6574\u7248\u4ee3\u7801\u4e0b\u8f7d\u94fe\u63a5\u548c\u552e\u540e\u8054\u7cfb\u65b9\u5f0f~\u672c\u901a\u9053\u5904\u4e8e\u6d4b\u8bd5\u9636\u6bb5\uff0c\u4f7f\u7528\u8be5\u901a\u9053\u53ef\u4ee5\u989d\u5916\u4f18\u60e0\uff08\u4ec5\u970076\u5143\uff09\u3002<strong>\u4ed8\u6b3e\u5b8c\u6210\u540e\u5237\u65b0\u4e00\u4e0b\u672c\u9875\u9762\u5373\u53ef\u770b\u5230\u4e0b\u8f7d\u94fe\u63a5\u3002<\/strong><\/p>\n\n\n\n<p class=\"is-style-iw-2em has-vivid-red-color has-text-color has-link-color wp-elements-b379ef3e58b92627474e63bca19c09d7\" id=\"block-7665696e-8d92-471d-ba53-c804cb372e35\">\uff08\u6ce8\u610f\u652f\u4ed8\u8df3\u8f6c\u5931\u8d25\u7684\u8bdd\uff0c\u8bf7\u4f7f\u7528\u6d4f\u89c8\u5668\u6253\u5f00\u672c\u9875\u9762\uff09<\/p>\n\n\n<p><p><div class=\"erphp-wppay\">\n\t\t\t\t\u60a8\u9700\u8981\u5148\u652f\u4ed8 <b>76\u5143<\/b> \u624d\u80fd\u67e5\u770b\u6b64\u5904\u5185\u5bb9\uff01<a href=\"javascript:;\" class=\"erphp-wppay-loader\" data-post=\"2985\">\u7acb\u5373\u652f\u4ed8<\/a>\n\t\t\t<\/div><\/p><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-01473aa6-af8d-42d7-a315-6b745e3a6e34\">\u4e03\u3001\u5b8c\u6574\u7248\u4ee3\u7801\u91cd\u8981\u66f4\u65b0<\/h4>\n\n\n\n<p class=\"is-style-iw-2em\" id=\"block-0f078438-0419-47ee-a693-7a87cfd957ae\">20231019 \u5b8c\u6210\u521d\u7248\u4ee3\u7801<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"block-8c64eadd-fe11-4b84-87ef-da1e67e25219\">\u516b\u3001\u5e38\u89c1\u95ee\u9898<\/h4>\n\n\n\n<p class=\"is-style-iw-2em\">\u65e0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>-\u4f7f\u7528\u6ce2\u58eb\u987f\u623f\u4ef7\u9884\u6d4b\u4f5c\u4e3a\u6f14\u793a\u6848\u4f8b\u3002 -\u53ef\u4ee5\u81ea\u7531\u8bbe\u7f6e\u795e\u7ecf\u7f51\u7edc\u5377\u79ef\u5c42\u7ed3\u6784\u3001\u6c60\u5316\u5c42\u7ed3\u6784 -\u53ef\u4ee5\u5feb\u901f\u5212\u5206\u8bad\u7ec3\u96c6\u3001\u9a8c\u8bc1\u96c6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2986,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863<\/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.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863\" \/>\n<meta property=\"og:description\" content=\"-\u4f7f\u7528\u6ce2\u58eb\u987f\u623f\u4ef7\u9884\u6d4b\u4f5c\u4e3a\u6f14\u793a\u6848\u4f8b\u3002 -\u53ef\u4ee5\u81ea\u7531\u8bbe\u7f6e\u795e\u7ecf\u7f51\u7edc\u5377\u79ef\u5c42\u7ed3\u6784\u3001\u6c60\u5316\u5c42\u7ed3\u6784 -\u53ef\u4ee5\u5feb\u901f\u5212\u5206\u8bad\u7ec3\u96c6\u3001\u9a8c\u8bc1\u96c6 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\" \/>\n<meta property=\"og:site_name\" content=\"\u5de5\u5177\u7bb1\u6587\u6863\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-18T15:43:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-30T13:38:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2023\/10\/image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"157\" \/>\n\t<meta property=\"og:image:height\" content=\"77\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"kuohao\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"kuohao\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\"},\"author\":{\"name\":\"kuohao\",\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5\"},\"headline\":\"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801\",\"datePublished\":\"2023-10-18T15:43:50+00:00\",\"dateModified\":\"2024-05-30T13:38:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\"},\"wordCount\":59,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\",\"url\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\",\"name\":\"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863\",\"isPartOf\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/#website\"},\"datePublished\":\"2023-10-18T15:43:50+00:00\",\"dateModified\":\"2024-05-30T13:38:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.khsci.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.khsci.com\/docs\/#website\",\"url\":\"https:\/\/www.khsci.com\/docs\/\",\"name\":\"\u5de5\u5177\u7bb1\u6587\u6863\",\"description\":\"khToolbox\",\"publisher\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.khsci.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5\",\"name\":\"kuohao\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2022\/11\/logo-1.png\",\"contentUrl\":\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2022\/11\/logo-1.png\",\"width\":255,\"height\":97,\"caption\":\"kuohao\"},\"logo\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.khsci.com\/docs\/index.php\/author\/kuohao\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863","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.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863","og_description":"-\u4f7f\u7528\u6ce2\u58eb\u987f\u623f\u4ef7\u9884\u6d4b\u4f5c\u4e3a\u6f14\u793a\u6848\u4f8b\u3002 -\u53ef\u4ee5\u81ea\u7531\u8bbe\u7f6e\u795e\u7ecf\u7f51\u7edc\u5377\u79ef\u5c42\u7ed3\u6784\u3001\u6c60\u5316\u5c42\u7ed3\u6784 -\u53ef\u4ee5\u5feb\u901f\u5212\u5206\u8bad\u7ec3\u96c6\u3001\u9a8c\u8bc1\u96c6 [&hellip;]","og_url":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/","og_site_name":"\u5de5\u5177\u7bb1\u6587\u6863","article_published_time":"2023-10-18T15:43:50+00:00","article_modified_time":"2024-05-30T13:38:00+00:00","og_image":[{"width":157,"height":77,"url":"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2023\/10\/image.png","type":"image\/png"}],"author":"kuohao","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"kuohao","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#article","isPartOf":{"@id":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/"},"author":{"name":"kuohao","@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5"},"headline":"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801","datePublished":"2023-10-18T15:43:50+00:00","dateModified":"2024-05-30T13:38:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/"},"wordCount":59,"commentCount":0,"publisher":{"@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/","url":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/","name":"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863","isPartOf":{"@id":"https:\/\/www.khsci.com\/docs\/#website"},"datePublished":"2023-10-18T15:43:50+00:00","dateModified":"2024-05-30T13:38:00+00:00","breadcrumb":{"@id":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.khsci.com\/docs\/index.php\/2023\/10\/18\/cnn_reg\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.khsci.com\/docs\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528CNN\u8fdb\u884c\u56de\u5f52\u9884\u6d4b\u4ee3\u7801"}]},{"@type":"WebSite","@id":"https:\/\/www.khsci.com\/docs\/#website","url":"https:\/\/www.khsci.com\/docs\/","name":"\u5de5\u5177\u7bb1\u6587\u6863","description":"khToolbox","publisher":{"@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.khsci.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5","name":"kuohao","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2022\/11\/logo-1.png","contentUrl":"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2022\/11\/logo-1.png","width":255,"height":97,"caption":"kuohao"},"logo":{"@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/image\/"},"url":"https:\/\/www.khsci.com\/docs\/index.php\/author\/kuohao\/"}]}},"_links":{"self":[{"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/posts\/2985"}],"collection":[{"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/comments?post=2985"}],"version-history":[{"count":10,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/posts\/2985\/revisions"}],"predecessor-version":[{"id":3500,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/posts\/2985\/revisions\/3500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/media\/2986"}],"wp:attachment":[{"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/media?parent=2985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/categories?post=2985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/tags?post=2985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}