{"id":257,"date":"2020-05-03T19:12:37","date_gmt":"2020-05-03T11:12:37","guid":{"rendered":"http:\/\/hk.khscience.cn\/docs\/?p=257"},"modified":"2024-05-01T00:16:46","modified_gmt":"2024-04-30T16:16:46","slug":"network-2","status":"publish","type":"post","link":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/","title":{"rendered":"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\">\n<p>\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u5de5\u5177\u7bb1\u662f\u4e13\u4e3a\u4f7f\u7528\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u5206\u7c7b\u7684\u5de5\u5177\u7bb1\u3002<\/p>\n\n\n\n<p>\u5de5\u5177\u7bb1\u4e2d\u7684\u4ee3\u7801\u5728\u4e0d\u5b9a\u671f\u66f4\u65b0\u4e2d\uff0c\u4e0d\u65ad\u5b8c\u5584\u548c\u6dfb\u52a0\u65b0\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u81f4\u529b\u4e8e\u5b9e\u73b0\u4f18\u8d28\u3001\u6613\u7528\u7684\u7a0b\u5e8f\uff0c\u5e2e\u52a9\u7814\u7a76\u4eba\u5458\u5feb\u901f\u5b9e\u73b0\u76ee\u6807<\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 18pt;\"><strong>\u4e00\u3001\u4ee3\u7801\u8fd0\u884c\u73af\u5883\uff1a<\/strong><\/span><\/h4>\n\n\n\n<p>MATLAB2016\u53ca\u66f4\u65b0\u7248\u672c\u3002<\/p>\n\n\n\n<p><span style=\"font-size: 18pt;\"><strong>\u4e8c\u3001\u6587\u4ef6\u8bf4\u660e<\/strong><\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"357\" height=\"207\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-16.png\" alt=\"\" class=\"wp-image-3451\" srcset=\"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-16.png 357w, https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-16-300x174.png 300w\" sizes=\"(max-width: 357px) 100vw, 357px\" \/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\">\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><span style=\"color: #405eb8;\"><strong>1.&nbsp;<\/strong><b>demoBPclass.m<\/b><\/span><\/p>\n\n\n\n<p>\u4f7f\u7528BP\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u5206\u7c7b\u7684\u811a\u672c\u4ee3\u7801\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\uff0c\u4e3b\u8981\u7528\u4e8e\u6f14\u793abpPatternnet\u51fd\u6570\u7684\u7528\u6cd5\u3002\u8be5\u811a\u672c\u4e2d\u4f7f\u7528\u4e86\u9e22\u5c3e\u82b1\u6570\u636e\u96c6\u6765\u8fdb\u884c\u6f14\u793a\u3002\u7a0b\u5e8f\u8fd0\u884c\u5b8c\u6210\u540e\uff0c\u5c06\u4f1a\u5f97\u5230\u4ee5\u4e0b\u51e0\u5f20\u56fe\u7247\u548c\u8fd0\u884c\u7ed3\u679c\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"572\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-17.png\" alt=\"\" class=\"wp-image-3452\" srcset=\"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-17.png 550w, https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-17-288x300.png 288w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"519\" height=\"411\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-18.png\" alt=\"\" class=\"wp-image-3453\" srcset=\"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-18.png 519w, https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-18-300x238.png 300w\" sizes=\"(max-width: 519px) 100vw, 519px\" \/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"417\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-19.png\" alt=\"\" class=\"wp-image-3454\" srcset=\"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-19.png 535w, https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-19-300x234.png 300w\" sizes=\"(max-width: 535px) 100vw, 535px\" \/><\/figure><\/div>\n\n\n<p>\u53e6\u5916\uff0c\u5728\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u4f1a\u6253\u5370\u51fa\u6a21\u578b\u8bc6\u522b\u7684\u6b63\u786e\u7387\u3001\u53ec\u56de\u7387\u3001\u7cbe\u786e\u7387\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"380\" height=\"106\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-20.png\" alt=\"\" class=\"wp-image-3455\" srcset=\"https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-20.png 380w, https:\/\/www.khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-20-300x84.png 300w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/figure>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">2.bpPatternnet.m<\/mark><\/strong><\/p>\n\n\n\n<p>\u5feb\u901f\u6a21\u5f0f\u8bc6\u522b(\u5206\u7c7b)\u795e\u7ecf\u7f51\u7edc\u7684\u5c01\u88c5\u51fd\u6570\uff0c\u53ea\u9700\u8981\u5bfc\u5165\u8f93\u5165\u548c\u8f93\u51fa\u6570\u636e\uff0c\u4ee5\u53ca\u4e00\u4e9b\u5fc5\u8981\u7684\u53c2\u6570\uff0c\u5c31\u53ef\u4ee5\u81ea\u52a8\u5b9e\u73b0\u8bad\u7ec3\u548c\u753b\u56fe\uff0c\u5e76\u5f97\u5230\u6d4b\u8bd5\u96c6\u5206\u7c7b\u6b63\u786e\u7387\u3002\u8be5\u51fd\u6570\u4e0d\u80fd\u76f4\u63a5\u8fd0\u884c\uff0c\u800c\u662f\u9700\u8981\u8c03\u7528\u3002\u8c03\u7528\u65b9\u6cd5\u5728<span style=\"color: #405eb8;\"><b>demoBPclass.m<\/b><\/span>\u6587\u4ef6\u4e2d\u6f14\u793a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-matlab\">function [net,acc,recall, precision] = bpPatternnet(dataX,dataY,trainRatio,hiddenSizes,auto,set,figflag)\n% \u5feb\u901f\u6a21\u5f0f\u8bc6\u522b(\u5206\u7c7b)\u795e\u7ecf\u7f51\u7edc,\u53ef\u4ee5\u81ea\u4e3b\u8bbe\u5b9a\u8bad\u7ec3\u96c6\u6bd4\u4f8b,\u5e76\u5f97\u5230\u6d4b\u8bd5\u96c6\u5206\u7c7b\u6b63\u786e\u7387\n% \u8f93\u5165:\n% dataX:\u8f93\u5165\u7684\u8bad\u7ec3\u96c6,R*Q\u7684\u77e9\u9635,R\u4e3a\u7279\u5f81\u7ef4\u5ea6,Q\u4e3a\u6279\u6b21\u6570,\u8f93\u5165\u8be5\u53d8\u91cf\u65f6\u4e00\u5b9a\u8981\u6ce8\u610f\u884c\u5217\u65b9\u5411\u662f\u5426\u6b63\u786e  \n% dataY:\u8bad\u7ec3\u96c6\u7684\u6807\u7b7e\u503c,U*Q\u7684\u77e9\u9635\u62161*Q\u7684cell\u5411\u91cf,U\u4e3a\u6807\u7b7e\u79cd\u7c7b\u6570,Q\u4e3a\u6279\u6b21\u6570,\u8f93\u5165\u8be5\u53d8\u91cf\u65f6\u4e00\u5b9a\u8981\u6ce8\u610f\u884c\u5217\u65b9\u5411\u662f\u5426\u6b63\u786e\n% trainRatio:\u8bad\u7ec3\u96c6\u5360\u603b\u6570\u636e\u7684\u6bd4\u4f8b,\u5c0f\u4e8e1\u7684\u6570\u503c,\u4f8b\u5982trainRatio=0.8\u65f6,80%\u6570\u636e\u7528\u4e8e\u8bad\u7ec3\n% hiddenSizes:\u795e\u7ecf\u7f51\u7edc\u9690\u85cf\u5c42\u6570\n% auto:\u662f\u5426\u8fdb\u884c\u81ea\u52a8\u7ea0\u9519,&#039;on&#039;\u4e3a\u662f,\u5426\u5219\u4e3a\u5426\u3002\u5f00\u542f\u81ea\u52a8\u7ea0\u9519\u540e\u4f1a\u667a\u80fd\u8c03\u6574\u8bad\u7ec3\u3001\u6d4b\u8bd5\u96c6\u7684\u884c\u5217\u65b9\u5411\u3002\n% set:\u7f51\u7edc\u7684\u989d\u5916\u8bbe\u7f6e,\u5177\u4f53\u8bbe\u7f6e\u5305\u62ec:\n%     - trainFcn:\u8bad\u7ec3\u51fd\u6570,\u9ed8\u8ba4\u4e3a&#039;trainscg&#039;,\u53ef\u9009\u7684\u8bad\u7ec3\u51fd\u6570\u6709:\n%         - &#039;trainscg&#039;:\u6bd4\u4f8b\u5171\u8f6d\u68af\u5ea6\u65b9\u5411\u4f20\u64ad\n%         - &#039;trainbfg&#039;:BFGS\u51c6\u725b\u987f\u53cd\u5411\u4f20\u64ad\n%         - &#039;traincgb&#039;:\u5177\u6709Powell-Beale\u91cd\u542f\u7684\u5171\u8f6d\u68af\u5ea6\u65b9\u5411\u4f20\u64ad\n%         - &#039;traincgf&#039;:\u5177\u6709Fletcher-Reeves\u66f4\u65b0\u7684\u5171\u8f6d\u68af\u5ea6\u53cd\u5411\u4f20\u64ad\n%         - &#039;traincgp&#039;:\u5177\u6709Polak-Ribi\u00e9re\u66f4\u65b0\u7684\u5171\u8f6d\u68af\u5ea6\u53cd\u5411\u4f20\u64ad\n%         - &#039;traingda&#039;:\u81ea\u9002\u5e94\u5b66\u4e60\u901f\u7387\u65b9\u5411\u4f20\u64ad\u7684\u68af\u5ea6\u4e0b\u964d\n%         - &#039;traingdm&#039;:\u52a8\u91cf\u65b9\u5411\u4f20\u64ad\u7684\u68af\u5ea6\u4e0b\u964d\n%         - &#039;traingdx&#039;:\u52a8\u91cf\u68af\u5ea6\u4e0b\u964d\u548c\u81ea\u9002\u5e94\u5b66\u4e60\u901f\u7387\u53cd\u5411\u4f20\u64ad\n%         - &#039;trainlm&#039;:Levenberg-Marquardt\u53cd\u5411\u4f20\u64ad\n%         - &#039;trainoss&#039;:\u4e00\u6b65\u5272\u7ebf\u53cd\u5411\u4f20\u64ad\n%         - &#039;trainrp&#039;:\u5f39\u6027\u53cd\u5411\u4f20\u64ad\n%     - transferFcn:\u4f20\u9012\u51fd\u6570,\u9ed8\u8ba4\u4e3a&#039;tansig&#039;,\u53ef\u9009\u7684\u4f20\u9012\u51fd\u6570\u6709:\n%         - &#039;tansig&#039;:\u53cc\u66f2\u6b63\u5207sigmoid\u51fd\u6570\n%         - &#039;logsig&#039;:\u5bf9\u6570sigmoid\u51fd\u6570\n%         - &#039;purelin&#039;:\u7ebf\u6027\u4f20\u9012\u51fd\u6570\n%     - epochs:\u6700\u5927\u8fed\u4ee3\u6b21\u6570,\u9ed8\u8ba4\u4e3a1000,\u7528\u4e8e\u63a7\u5236\u795e\u7ecf\u7f51\u7edc\u7684\u8bad\u7ec3\u8fed\u4ee3\u6b21\u6570\u4e0a\u9650\n% figflag:\u662f\u5426\u753b\u56fe,\u8bbe\u7f6e\u4e3a1\u65f6\u753b\u6df7\u6dc6\u77e9\u9635\u56fe\u3001\u771f\u5b9e\u7c7b\u522b\u4e0e\u9884\u6d4b\u7c7b\u522b\u5bf9\u6bd4\u56fe\n% \u8f93\u51fa:\n% net:\u8bad\u7ec3\u5b8c\u6210\u7684\u795e\u7ecf\u7f51\u7edc\n% acc:\u4f7f\u7528\u6d4b\u8bd5\u96c6\u5f97\u5230\u7684\u6a21\u5f0f\u8bc6\u522b\u6b63\u786e\u7387,1\u5bf9\u5e94100%\u6b63\u786e\n% recall\uff1a\u53ec\u56de\u7387\n% precision\uff1a\u7cbe\u786e\u7387<\/code><\/pre>\n\n\n\n<p><span style=\"color: #405eb8;\"><strong>3.&nbsp;<\/strong><b>class2label.m<\/b><\/span><\/p>\n\n\n\n<p>\u5c06class\u8f6c\u4e3alabel \u4f8b\u5982\u5c06[3,2,1,1]\u8f6c\u6362\u4e3a[0,0,1;0,1,0;1,0,0;1,0,0] p\u6587\u4ef6\uff0c\u53ef\u4ee5\u8c03\u7528<\/p>\n\n\n\n<p><span style=\"color: #405eb8;\"><strong>4.&nbsp;<\/strong><b>class2label.m<\/b><\/span><\/p>\n\n\n\n<p>\u5c06label\u8f6c\u4e3aclass \u4f8b\u5982\u5c06[0,0,1;0,1,0;1,0,0;1,0,0]\u8f6c\u6362\u4e3a[3,2,1,1] p\u6587\u4ef6\uff0c\u53ef\u4ee5\u8c03\u7528<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>5.EvaluteClassResultsV2.m<\/strong><\/mark><\/p>\n\n\n\n<p>\u7528\u4e8e\u8bc4\u4f30\u5206\u7c7b\u7ed3\u679c\u7684\u51fd\u6570\u3002\u8c03\u7528\u8be5\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u7ed8\u5236\u6df7\u6dc6\u77e9\u9635\uff08\u4e24\u79cd\uff09\uff0c\u53ef\u89c6\u5316\u6d4b\u8bd5\u96c6\u771f\u5b9e\u7c7b\u522b\u548c\u9884\u6d4b\u7c7b\u522b\uff0c\u4ee5\u53ca\u8ba1\u7b97\u53ec\u56de\u7387\u548c\u51c6\u786e\u7387\u3002<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-matlab\">function [recall, precision] = EvaluteClassResultsV2(outputs,targets,figflag)\n% \u5bf9\u5206\u7c7b\u7ed3\u679c\u8fdb\u884c\u8bc4\u4ef7\uff0c\u5305\u62ec\uff1a\n% \u4e24\u79cd\u6df7\u6dc6\u77e9\u9635\u56fe\u3001\u53ef\u89c6\u5316\u6d4b\u8bd5\u96c6\u771f\u5b9e\u7c7b\u522b\u548c\u9884\u6d4b\u7c7b\u522b\n% \u8ba1\u7b97 weigthed-Precision, weigthed-Recall\u548cF1-score  \u53c2\u8003 https:\/\/zhuanlan.zhihu.com\/p\/147663370?from_voters_page=true\n% \u8f93\u5165\uff1a\n% outputs\uff1a\u7ecf\u8fc7\u5206\u7c7b\u7b97\u6cd5\u5f97\u5230\u7684\u5206\u7c7b\u7ed3\u679c\uff0c\u4e00\u7ef4\u6b63\u6574\u6570\n% targets\uff1a\u76ee\u6807\u5206\u7c7b\u7ed3\u679c\uff0c\u4e00\u7ef4\u6b63\u6574\u6570\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% recall\uff1a \u53ec\u56de\u7387\n% precision\uff1a \u7cbe\u786e\u7387<\/code><\/pre>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">6.fisheriris.mat<\/mark><\/strong><\/p>\n\n\n\n<p>\u9e22\u5c3e\u82b1\u6570\u636e\u96c6\uff0c\u5176\u4e2d\u5305\u542bmeas\u53d8\u91cf\uff0c\u662f\u9e22\u5c3e\u82b1\u6570\u636e\u96c6\u7684\u7279\u5f81\uff0c\u7528\u4e8e\u6a21\u578b\u7684\u8f93\u5165\u3002species\u662f\u7c7b\u522b\u6570\u636e\uff0c\u7528\u4e8e\u6a21\u578b\u7684\u8f93\u51fa\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"\u56db\u3001\u5feb\u901f\u5f00\u59cb\">\u4e09\u3001\u5feb\u901f\u5f00\u59cb<\/h4>\n\n\n\n<p><strong>1.\u8fd0\u884c\u6d4b\u8bd5\u811a\u672c<\/strong><\/p>\n\n\n\n<p>\u5148\u5728MATLAB\u91cc\u6253\u5f00\u4e0b\u8f7d\u597d\u7684\u6587\u4ef6\u5939\uff0c\u7136\u540e\u8fd0\u884c<span style=\"color: #405eb8;\"><b>demoBPclass.m<\/b><\/span>\u7a0b\u5e8f\uff0c\u7a0b\u5e8f\u8fd0\u884c\u5b8c\u6bd5\u540e\u5982\u679c\u6ca1\u62a5\u9519\uff0c\u4e14\u6b63\u5e38\u753b\u51fa\u6df7\u6dc6\u77e9\u9635\u7b49\u56fe\u50cf\uff0c\u5219\u8bf4\u660e\u8fd0\u884c\u73af\u5883\u6b63\u5e38\uff0c\u7a0b\u5e8f\u6b63\u786e\u3002<\/p>\n\n\n\n<p><strong>2.\u4fee\u6539\u4eff\u771f\u6570\u636e\/\u5bfc\u5165\u6570\u636e<\/strong><\/p>\n\n\n\n<p>\u590d\u5236\u4e00\u4e2a<span style=\"color: #405eb8;\"><b>demoBPclass.m<\/b><\/span>\u7684\u6587\u4ef6\u526f\u672c\uff0c\u5728\u8fd9\u4e2a\u526f\u672c\u91cc\u505a\u5982\u4e0b\u4fee\u6539\uff1a<\/p>\n\n\n\n<p 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>\u9700\u8981\u6ce8\u610f\uff0c\u5bfc\u5165\u7684\u6570\u636e\u9700\u8981\u6ee1\u8db3\u6570\u636e\u683c\u5f0f\u8981\u6c42\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><div><code class=\"hljs\">% dataX:\u8f93\u5165\u7684\u8bad\u7ec3\u96c6,R*Q\u7684\u77e9\u9635,R\u4e3a\u7279\u5f81\u7ef4\u5ea6,Q\u4e3a\u6279\u6b21\u6570,\u8f93\u5165\u8be5\u53d8\u91cf\u65f6\u4e00\u5b9a\u8981\u6ce8\u610f\u884c\u5217\u65b9\u5411\u662f\u5426\u6b63\u786e  \n% dataY:\u8bad\u7ec3\u96c6\u7684\u6807\u7b7e\u503c,U*Q\u7684\u77e9\u9635\u62161*Q\u7684cell\u5411\u91cf,U\u4e3a\u6807\u7b7e\u79cd\u7c7b\u6570,Q\u4e3a\u6279\u6b21\u6570,\u8f93\u5165\u8be5\u53d8\u91cf\u65f6\u4e00\u5b9a\u8981\u6ce8\u610f\u884c\u5217\u65b9\u5411\u662f\u5426\u6b63\u786e<\/code><\/div><\/pre>\n\n\n<p id=\"block-0e1d9f81-694a-4099-99c6-76f0ffb120c3\"><strong>3.\u5b9e\u73b0BP\u5206\u7c7b<\/strong><\/p>\n\n\n\n<p>\u5206\u7c7b\u7684\u4e00\u822c\u5b9e\u73b0\u65b9\u6cd5\u5728\u6587\u4ef6\u5939\u4e2d\u7684demoBPclass\u6587\u4ef6\u4e2d\u6709\u6240\u5c55\u793a\uff0c\u4ee3\u7801\u5206\u4e3a\u5bfc\u5165\u6570\u636e\u548c\u8c03\u7528\u51fd\u6570\u4e24\u6b65\u3002\u7528\u6237\u53ea\u9700\u8981\u5c06\u5bfc\u5165\u6570\u636e\u90e8\u5206\u6362\u6210\u81ea\u5df1\u7684\u5bfc\u5165\u7a0b\u5e8f\uff0c\u518d\u8bbe\u7f6e\u597d\u8c03\u7528\u51fd\u6570\u7684\u5165\u53e3\u53c2\u6570\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u5176\u4e2d\u5927\u90e8\u5206\u53c2\u6570\u8bbe\u7f6e\u65b9\u6cd5\u5728\u6ce8\u91ca\u4e2d\u90fd\u6709\u6240\u4ecb\u7ecd\uff0c\u4e0d\u8fc7\u5176\u4e2d\u7684set\u9700\u8981\u989d\u5916\u8bf4\u660e\u4e00\u4e0b\uff1a<\/p>\n\n\n\n<p>set\u4e2d\u76ee\u524d\u53ef\u4ee5\u8bbe\u7f6e\u7684\u5c5e\u6027\u5305\u62ectrainFcn\u548ctransferFcn\u3001epochs\u4e09\u79cd\uff0c\u5206\u522b\u4ee3\u8868\u795e\u7ecf\u7f51\u7edc\u7684\u8bad\u7ec3\u51fd\u6570\u548c\u6fc0\u6d3b\u51fd\u6570\u3001\u6700\u5927\u8fed\u4ee3\u6b21\u6570\u3002trainFcn\u548ctransferFcn\u53ef\u9009\u7684\u5c5e\u6027\u4ee5\u53ca\u76f8\u5e94\u7684\u63cf\u8ff0\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><strong>trainFcn<\/strong><\/p>\n\n\n\n<p>trainscg\uff08\u9ed8\u8ba4\uff09:<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/trainscg.html\">\u6bd4\u4f8b\u5171\u8f6d\u68af\u5ea6\u65b9\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>trainbfg\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/trainbfg.html\">BFGS\u51c6\u725b\u987f\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>traincgb\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/traincgb.html\">\u5177\u6709Powell-Beale\u91cd\u542f\u7684\u5171\u8f6d\u68af\u5ea6\u65b9\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>traincgf\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/traincgf.html\">\u5177\u6709Fletcher-Reeves\u66f4\u65b0\u7684\u5171\u8f6d\u68af\u5ea6\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>traincgp\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/traincgp.html\">\u5177\u6709Polak-Ribi\u00e9re\u66f4\u65b0\u7684\u5171\u8f6d\u68af\u5ea6\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>traingda\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/traingda.html\">\u81ea\u9002\u5e94\u5b66\u4e60\u901f\u7387\u65b9\u5411\u4f20\u64ad\u7684\u68af\u5ea6\u4e0b\u964d<\/a><\/p>\n\n\n\n<p>traingdm\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/traingdm.html\">\u52a8\u91cf\u65b9\u5411\u4f20\u64ad\u7684\u68af\u5ea6\u4e0b\u964d<\/a><\/p>\n\n\n\n<p>traingdx\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/traingdx.html\">\u52a8\u91cf\u68af\u5ea6\u4e0b\u964d\u548c\u81ea\u9002\u5e94\u5b66\u4e60\u901f\u7387\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>trainlm\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/trainlm.html\">Levenberg-Marquardt\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>trainoss\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/trainoss.html\">\u4e00\u6b65\u5272\u7ebf\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p>trainrp\uff1a<a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ref\/trainrp.html\">\u5f39\u6027\u53cd\u5411\u4f20\u64ad<\/a><\/p>\n\n\n\n<p><strong>transferFcn<\/strong><\/p>\n\n\n\n<p><mark>logsig<\/mark><\/p>\n\n\n\n<p>Log-sigmoid\u8f6c\u79fb\u51fd\u6570\uff0c\u8868\u8fbe\u5f0f\uff1a<\/p>\n\n\n\n<p>logsig(n) = 1 \/ (1 + exp(-n))<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2020\/05\/ad95dedd95df12a564f11975f7b15b4a.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><mark>tansig<\/mark><\/p>\n\n\n\n<p>\u8868\u8fbe\u5f0f\uff1a<\/p>\n\n\n\n<p>a = tansig(n) = 2\/(1+exp(-2*n))-1<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2020\/05\/37dbaba9debb94fe2c9f59ef82b0eef7.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><mark>poslin\uff08\u5c31\u662fReLU\uff09<\/mark><\/p>\n\n\n\n<p>\u8868\u8fbe\u5f0f\uff1aposlin(n) = n, if n &gt;= 0 = 0, if n &lt;= 0 <img decoding=\"async\" src=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2020\/05\/decf0cc34b2edb01e253113bd7c3fbb7.png\"><\/p>\n\n\n\n<p id=\"block-193dd1d9-70c2-4c7c-b0c8-cfab03c3c3ff\">\u8fd0\u884c\u7a0b\u5e8f\u5373\u53ef\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\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>\u529f\u80fd<\/td><td>\u516c\u5f00\u7248<\/td><td>\u5b8c\u6574\u7248<\/td><\/tr><tr><td>\u6570\u636e\u5bfc\u5165\u3001\u53c2\u6570\u8bbe\u7f6e\u3001\u5b9e\u73b0\u5206\u7c7b<\/td><td>\u221a<\/td><td>\u221a<\/td><\/tr><tr><td>\u8f6f\u4ef6\u5168\u90e8\u6e90\u7801\uff08\u51fd\u6570m\u6587\u4ef6\uff09<\/td><td>p*<\/td><td>m*<\/td><\/tr><tr><td>\u7ed8\u56fe\u65e0\u6c34\u5370<\/td><td>\u00d7<\/td><td>\u221a<\/td><\/tr><tr><td>\u6700\u5927\u8fed\u4ee3\u6b21\u6570<\/td><td>5<\/td><td>\u65e0\u9650\u5236<\/td><\/tr><tr><td>\u53ef\u5bfc\u51fa\u8bad\u7ec3\u597d\u7684\u7f51\u7edcnet<\/td><td>\u00d7<\/td><td>\u221a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>*p\u6587\u4ef6\u53ef\u4ee5\u88ab\u8c03\u7528\uff0c\u4f46\u65e0\u6cd5\u67e5\u770b\u4ee3\u7801\uff0cm\u6587\u4ef6\u53ef\u4ee5\u67e5\u770b\u6e90\u7801\u5e76\u81ea\u7531\u4fee\u6539<\/p>\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\">Bp\u7f51\u7edc\u5b9e\u73b0\u5206\u7c7b\u516c\u5f00\u7248\u4ee3\u7801<\/h3>\n        <div class=\"wpfd-file-content--meta\">\n                    <div>\u6587\u4ef6\u5c3a\u5bf8: 161.23 KB<\/div>\n                    <div>\u66f4\u65b0: 30-04-2024<\/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\/3464\/bp%e7%bd%91%e7%bb%9c%e5%ae%9e%e7%8e%b0%e5%88%86%e7%b1%bb%e5%85%ac%e5%bc%80%e7%89%88%e4%bb%a3%e7%a0%81.zip\"  data-id=\"3464\" title=\"Bp\u7f51\u7edc\u5b9e\u73b0\u5206\u7c7b\u516c\u5f00\u7248\u4ee3\u7801\" 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><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 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?ft=t&amp;id=641793996494\" target=\"_blank\" rel=\"noreferrer noopener\">\u70b9\u51fb\u6b64\u5904\u83b7\u53d6\u5b8c\u6574\u7248\u7a0b\u5e8f<\/a><\/p>\n\n\n\n<p 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\u970039\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>39\u5143<\/b> \u624d\u80fd\u67e5\u770b\u6b64\u5904\u5185\u5bb9\uff01<a href=\"javascript:;\" class=\"erphp-wppay-loader\" data-post=\"257\">\u7acb\u5373\u652f\u4ed8<\/a>\n\t\t\t<\/div><\/p><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e03\u3001\u91cd\u8981\u66f4\u65b0<\/h4>\n\n\n\n<p>20240429 \u91cd\u8981\u66f4\u65b0\uff0c\u8fdb\u4e00\u6b65\u5b8c\u5584\u4ee3\u7801\uff0c\u4e30\u5bcc\u4e86\u6ce8\u91ca\uff0c\u5e76\u5c06\u516c\u5f00\u7248\u4ee3\u7801\u4e5f\u540c\u6b65\u66f4\u65b0\u5230\u65b0\u67b6\u6784\u3002<\/p>\n\n\n\n<p>20240323 \u91cd\u8981\u66f4\u65b0\uff0c\u91cd\u6784\u4e86\u4ee3\u7801\uff0c\u73b0\u5728\u4ee3\u7801\u53ef\u4ee5\u4ee5cell\u7c7b\u578b\u7684\u5b57\u7b26\u4e32\u4e3a\u6807\u7b7e\u3002\u53e6\u5916\u589e\u52a0\u4e86\u6df7\u6dc6\u77e9\u9635\u7ed8\u56fe\u4ee5\u53ca\u6d4b\u8bd5\u96c6\u771f\u662f\u7c7b\u522b\u4e0e\u9884\u6d4b\u7c7b\u522b\u5bf9\u6bd4\u56fe\u3002<\/p>\n\n\n\n<p>20200504 \u5b8c\u6210\u521d\u7248\u4ee3\u7801<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u5de5\u5177\u7bb1\u662f\u4e13\u4e3a\u4f7f\u7528\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u5206\u7c7b\u7684\u5de5\u5177\u7bb1\u3002 \u5de5\u5177\u7bb1\u4e2d\u7684\u4ee3\u7801\u5728\u4e0d\u5b9a\u671f\u66f4\u65b0\u4e2d\uff0c\u4e0d\u65ad\u5b8c\u5584\u548c\u6dfb\u52a0\u65b0\u7684\u529f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"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>BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\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\/2020\/05\/03\/network-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863\" \/>\n<meta property=\"og:description\" content=\"\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u5de5\u5177\u7bb1\u662f\u4e13\u4e3a\u4f7f\u7528\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u5206\u7c7b\u7684\u5de5\u5177\u7bb1\u3002 \u5de5\u5177\u7bb1\u4e2d\u7684\u4ee3\u7801\u5728\u4e0d\u5b9a\u671f\u66f4\u65b0\u4e2d\uff0c\u4e0d\u65ad\u5b8c\u5584\u548c\u6dfb\u52a0\u65b0\u7684\u529f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u5de5\u5177\u7bb1\u6587\u6863\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-03T11:12:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T16:16:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-16.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\/2020\/05\/03\/network-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/\"},\"author\":{\"name\":\"kuohao\",\"@id\":\"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5\"},\"headline\":\"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801\",\"datePublished\":\"2020-05-03T11:12:37+00:00\",\"dateModified\":\"2024-04-30T16:16:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/\"},\"wordCount\":113,\"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\/2020\/05\/03\/network-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/\",\"url\":\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/\",\"name\":\"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863\",\"isPartOf\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/#website\"},\"datePublished\":\"2020-05-03T11:12:37+00:00\",\"dateModified\":\"2024-04-30T16:16:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.khsci.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\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":"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\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\/2020\/05\/03\/network-2\/","og_locale":"zh_CN","og_type":"article","og_title":"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863","og_description":"\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u5de5\u5177\u7bb1\u662f\u4e13\u4e3a\u4f7f\u7528\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u5206\u7c7b\u7684\u5de5\u5177\u7bb1\u3002 \u5de5\u5177\u7bb1\u4e2d\u7684\u4ee3\u7801\u5728\u4e0d\u5b9a\u671f\u66f4\u65b0\u4e2d\uff0c\u4e0d\u65ad\u5b8c\u5584\u548c\u6dfb\u52a0\u65b0\u7684\u529f [&hellip;]","og_url":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/","og_site_name":"\u5de5\u5177\u7bb1\u6587\u6863","article_published_time":"2020-05-03T11:12:37+00:00","article_modified_time":"2024-04-30T16:16:46+00:00","og_image":[{"url":"https:\/\/khsci.com\/docs\/wp-content\/uploads\/2024\/04\/image-16.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\/2020\/05\/03\/network-2\/#article","isPartOf":{"@id":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/"},"author":{"name":"kuohao","@id":"https:\/\/www.khsci.com\/docs\/#\/schema\/person\/44b1dc94a273203f641349de36ebc0a5"},"headline":"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801","datePublished":"2020-05-03T11:12:37+00:00","dateModified":"2024-04-30T16:16:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/"},"wordCount":113,"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\/2020\/05\/03\/network-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/","url":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/","name":"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\u4ee3\u7801 - \u5de5\u5177\u7bb1\u6587\u6863","isPartOf":{"@id":"https:\/\/www.khsci.com\/docs\/#website"},"datePublished":"2020-05-03T11:12:37+00:00","dateModified":"2024-04-30T16:16:46+00:00","breadcrumb":{"@id":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.khsci.com\/docs\/index.php\/2020\/05\/03\/network-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.khsci.com\/docs\/"},{"@type":"ListItem","position":2,"name":"BP\u795e\u7ecf\u7f51\u7edc\u201c\u5206\u7c7b\u201d\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\/257"}],"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=257"}],"version-history":[{"count":9,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"predecessor-version":[{"id":3477,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions\/3477"}],"wp:attachment":[{"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.khsci.com\/docs\/index.php\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}