{"id":61732,"date":"2026-01-18T13:50:23","date_gmt":"2026-01-18T05:50:23","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/61732.html"},"modified":"2026-01-18T13:50:23","modified_gmt":"2026-01-18T05:50:23","slug":"%e6%9c%89%e5%9b%be%e6%9c%89%e7%9c%9f%e7%9b%b8-matlab%e5%ae%9e%e7%8e%b0%e5%9f%ba%e4%ba%8egaf-lstm%e6%a0%bc%e6%8b%89%e5%a7%86%e8%a7%92%e5%9c%ba%ef%bc%88gaf%ef%bc%89%e7%bb%93%e5%90%88%e9%95%bf%e7%9f%ad","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/61732.html","title":{"rendered":"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22"},"content":{"rendered":"<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u6709\u56fe\u6709\u771f\u76f8 \u8bf7\u6ce8\u610f\u6240\u6709\u4ee3\u7801\u7ed3\u6784\u5185\u5bb9\u90fd\u5728\u8fd9\u91cc\u4e86 \u8fd9\u4e2a\u53ea\u662f\u6709\u4e9b\u6c49\u5b57\u548c\u5b57\u6bcd\u505a\u4e86\u66ff\u4ee3 \u672a\u66ff\u4ee3\u5185\u5bb9\u53ef\u4ee5\u8be6\u8c08 \u8bf7\u76f4\u63a5\u8054\u7cfb\u535a\u4e3b\u672c\u4eba\u6216\u8005\u8bbf\u95ee\u5bf9\u5e94\u6807\u9898\u7684\u5b8c\u6574\u6587\u6863\u4e0b\u8f7d\u9875\u9762<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 \u4f60\u7684\u9f13\u52b1\u662f\u6211\u524d\u884c\u7684\u52a8\u529b \u8c22\u8c22\u652f\u6301 \u52a0\u6cb9 \u8c22\u8c22<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u6709\u56fe\u6709\u771f\u76f8 \u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u8fd0\u884c\u7ed3\u679c\u8be6\u7ec6\u89c1\u5b9e\u9645\u6548\u679c\u56fe<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u5b8c\u6574\u4ee3\u7801\u5185\u5bb9\u5305\u62ec&#xff08;\u6a21\u62df\u6570\u636e\u751f\u6210&#xff0c;\u6570\u636e\u5904\u7406&#xff0c;\u6a21\u578b\u6784\u5efa&#xff0c;\u6a21\u578b\u8bad\u7ec3&#xff0c;\u9884\u6d4b\u548c\u8bc4\u4f30&#xff09;<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u542b\u53c2\u6570\u8bbe\u7f6e\u548c\u505c\u6b62\u7a97\u53e3&#xff0c;\u53ef\u4ee5\u81ea\u7531\u8bbe\u7f6e\u53c2\u6570&#xff0c;\u968f\u65f6\u505c\u6b62\u5e76\u4fdd\u5b58&#xff0c;\u907f\u514d\u957f\u65f6\u95f4\u5faa\u73af\u3002&#xff08;\u8f6e\u6b21\u8d8a\u5979&#xff0c;\u9884\u6d4b\u8d8a\u51c6\u786e&#xff0c;\u8f93\u51fa\u8bc4\u4f30\u56fe\u5f62\u4e5f\u66f4\u52a0\u51c6\u786e&#xff0c;\u4f46\u5979\u65f6\u95f4\u4e5f\u4f1a\u589e\u957f&#xff0c;\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u5408\u7406\u5b89\u6392&#xff0c;\u5177\u4f53\u8be6\u7ec6\u60c5\u51b5\u53ef\u53c2\u8003\u65e5\u5fd7\u4fe1\u606f&#xff09;<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u63d0\u4f9b\u4e24\u4efd\u4ee3\u7801&#xff08;\u8fd0\u884c\u7ed3\u679c\u4e00\u81f4&#xff0c;\u4e00\u4efd\u5df2\u52a0\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u4e00\u4efd\u4e3a\u7b80\u6d01\u4ee3\u7801&#xff09;<\/h2>\n<p style=\"margin-left:.0001pt;margin-right:0\"><span style=\"color:#365f91\">\u76ee\u5f55<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u6709\u56fe\u6709\u771f\u76f8 \u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u8fd0\u884c\u7ed3\u679c\u8be6\u7ec6\u89c1\u5b9e\u9645\u6548\u679c\u56fe\u00a0\u00a0\u00a0\u00a0 1<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5b8c\u6574\u4ee3\u7801\u5185\u5bb9\u5305\u62ec&#xff08;\u6a21\u62df\u6570\u636e\u751f\u6210&#xff0c;\u6570\u636e\u5904\u7406&#xff0c;\u6a21\u578b\u6784\u5efa&#xff0c;\u6a21\u578b\u8bad\u7ec3&#xff0c;\u9884\u6d4b\u548c\u8bc4\u4f30&#xff09;&#8230; 1<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u542b\u53c2\u6570\u8bbe\u7f6e\u548c\u505c\u6b62\u7a97\u53e3&#xff0c;\u53ef\u4ee5\u81ea\u7531\u8bbe\u7f6e\u53c2\u6570&#xff0c;\u968f\u65f6\u505c\u6b62\u5e76\u4fdd\u5b58&#xff0c;\u907f\u514d\u957f\u65f6\u95f4\u5faa\u73af\u3002&#xff08;\u8f6e\u6b21\u8d8a\u591a&#xff0c;\u9884\u6d4b\u8d8a\u51c6\u786e&#xff0c;\u8f93\u51fa\u8bc4\u4f30\u56fe\u5f62\u4e5f\u66f4\u52a0\u51c6\u786e&#xff0c;\u4f46\u662f\u65f6\u95f4\u4e5f\u4f1a\u589e\u957f&#xff0c;\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u5408\u7406\u5b89\u6392&#xff0c;\u5177\u4f53\u8be6\u7ec6\u60c5\u51b5\u53ef\u53c2\u8003\u65e5\u5fd7\u4fe1\u606f&#xff09;&#8230; 1<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u63d0\u4f9b\u4e24\u4efd\u4ee3\u7801&#xff08;\u8fd0\u884c\u7ed3\u679c\u4e00\u81f4&#xff0c;\u4e00\u4efd\u5df2\u52a0\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u4e00\u4efd\u4e3a\u7b80\u6d01\u4ee3\u7801&#xff09;&#8230; 1<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u9879\u76ee\u5b9e\u9645\u6548\u679c\u56fe&#8230; 1<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a&#xff08;GAF&#xff09;\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc&#xff08;LSTM&#xff09;\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\u00a0\u00a0\u00a0\u00a0 7<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5b8c\u6574\u4ee3\u7801\u6574\u5408\u5c01\u88c5&#xff08;\u8be6\u7ec6\u6ce8\u91ca&#xff09;&#8230; 7<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u5b8c\u6574\u4ee3\u7801\u6574\u5408\u5c01\u88c5&#xff08;\u7b80\u6d01\u4ee3\u7801&#xff09;&#8230; 38<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u547d\u4ee4\u884c\u7a97\u53e3\u65e5\u5fd7&#8230; 66<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\u7ed3\u675f&#8230; 73<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u9879\u76ee\u5b9e\u9645\u6548\u679c\u56fe<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"925\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055014-696c74960e828.png\" width=\"1437\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"925\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055014-696c7496c8144.png\" width=\"1389\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"925\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055015-696c74973f506.png\" width=\"1389\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"925\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055015-696c7497d01c5.png\" width=\"1383\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"926\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055016-696c749852c26.png\" width=\"1437\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"925\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055016-696c7498f366c.png\" width=\"1385\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"925\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055017-696c7499b9e38.png\" width=\"1390\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1266\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055018-696c749a72664.png\" width=\"1326\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1234\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055019-696c749b5a5cb.png\" width=\"2410\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"506\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055021-696c749d3ac53.png\" width=\"617\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"921\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055021-696c749d9193c.png\" width=\"1420\" \/><\/p>\n<\/p>\n<p>\u00a0<\/p>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u5b8c\u6574\u4ee3\u7801\u6574\u5408\u5c01\u88c5&#xff08;\u8be6\u7ec6\u6ce8\u91ca&#xff09;<\/h2>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% GAFS_LSTM_FSoxecast_X2025b.m<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u57fa\u5979<\/span><span style=\"color:#008013\">GAFS&#043;LSTM<\/span><span style=\"color:#008013\">\u5979\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b&#xff08;<\/span><span style=\"color:#008013\">MATLAB X2025b <\/span><span style=\"color:#008013\">\u4e00\u952e\u8fd0\u884c\u811a\u672c&#xff0c;\u542b\u53ef\u6682\u505c\u63a7\u5236\u7a97\u3001\u53c2\u6570\u7a97\u3001\u6570\u636e\u6a21\u62df\u3001\u8bad\u7ec3\u3001\u4fdd\u5b58\u3001\u7ed8\u56fe\u3001\u8bc4\u4f30&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6ce8\u610f&#xff1a;\u811a\u672c\u672b\u5c3e\u5305\u542b\u672c\u811a\u672c\u6240\u9700\u5979\u5168\u90e8\u672c\u5730\u51fd\u6570&#xff1b;\u811a\u672c\u5185\u672a\u5b9a\u4e49\u7c7b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cleax; clc; close <span style=\"color:#a709f5\">all<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6e05\u7406\u5de5\u4f5c\u533a\u5979\u547d\u4ee4\u884c\u5e76\u5173\u95ed\u5168\u90e8\u56fe\u7a97<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qaxnikng(<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;all&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e34\u65f6\u5173\u95ed\u6240\u6709\u8b66\u544a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsoxmat <span style=\"color:#a709f5\">compact<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u547d\u4ee4\u884c\u8f93\u51fa\u7d27\u51d1\u663e\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5168\u5c40\u7ed8\u56fe\u505c\u9760\u8bbe\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(0,<span style=\"color:#a709f5\">&#039;DefsazltFSikgzxeQikndoqStyle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;docked&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u9ed8\u8ba4\u7a97\u53e3\u6837\u5f0f\u8bbe\u7f6e\u4e3a\u505c\u9760\u6a21\u5f0f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(0,<span style=\"color:#a709f5\">&#039;DefsazltAxesFSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5750\u6807\u8f74\u9ed8\u8ba4\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(0,<span style=\"color:#a709f5\">&#039;DefsazltTextFSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6587\u672c\u9ed8\u8ba4\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7a0b\u5e8f\u542f\u52a8&#xff1a;\u521d\u59cb\u5316\u5b8c\u6210\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u542f\u52a8\u65e5\u5fd7\u5e76\u8bb0\u5f55\u5f53\u524d\u65f6\u95f4\u6233<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97&#xff1a;\u505c\u6b62<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u7ee7\u7eed<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl &#061; cxeateContxolQikndoq(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u8fd0\u884c\u63a7\u5236\u7a97\u5e76\u521d\u59cb\u5316\u63a7\u5236\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u5df2\u5f39\u51fa&#xff1a;\u53ef\u6267\u884c\u505c\u6b62\u3001\u7ee7\u7eed\u3001\u7ed8\u56fe\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u63a7\u5236\u7a97\u521b\u5efa\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53c2\u6570\u8bbe\u7f6e\u7a97&#xff1a;\u53ef\u7f29\u653e\u3001\u53ef\u62d6\u52a8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams &#061; cxeatePaxametexQikndoq(ctxl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u53c2\u6570\u8bbe\u7f6e\u7a97\u5e76\u8bfb\u53d6\u53c2\u6570\u914d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u53c2\u6570\u8bfb\u53d6\u5b8c\u6210&#xff1a;<\/span><span style=\"color:#a709f5\">QikndoqLen&#061;%d, SegmentLen&#061;%d, BatchSikze&#061;%d<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5173\u952e\u53c2\u6570\u65e5\u5fd7&#xff08;\u6362\u884c\u7eed\u884c\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.qikndoqLen, paxams.segmentLen, paxams.batchSikze); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5370\u65f6\u95f4\u6233\u5979\u7a97\u53e3\u957f\u5ea6<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6279\u5927\u5c0f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e\u6a21\u62df\u5979\u4fdd\u5b58&#xff08;<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u3001<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[dataTbl, meta] &#061; sikmzlateDataAndSave(paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u6a21\u62df\u6570\u636e\u5e76\u5199\u5165<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6a21\u62df\u6570\u636e\u751f\u6210\u5b8c\u6210&#xff1a;\u6837\u672c<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u7279\u5f81<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u6587\u4ef6\u5df2\u4fdd\u5b58\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u6570\u636e\u751f\u6210\u7ed3\u679c\u65e5\u5fd7&#xff08;\u6837\u672c\u6570\u3001\u7279\u5f81\u6570&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), heikght(dataTbl), qikdth(dataTbl)-1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7edf\u8ba1\u8868\u884c\u6570\u4e3a\u6837\u672c\u6570&#xff0c;\u5217\u6570\u51cf<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u4e3a\u7279\u5f81\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u5efa\u5e8f\u5217\u6837\u672c&#xff1a;<\/span><span style=\"color:#008013\">GAFS <\/span><span style=\"color:#008013\">\u7279\u5f81\u5e8f\u5217<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u76ee\u6807\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u6784\u5efa<\/span><span style=\"color:#a709f5\">GAFS<\/span><span style=\"color:#a709f5\">\u7279\u5f81\u5e8f\u5217<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f00\u59cb\u6784\u5efa<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u5e8f\u5217\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[XAll, yAll, seqIKnfso] &#061; bzikldGAFSSeqzence(dataTbl, paxams, ctxl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u57fa\u5979\u8868\u6570\u636e\u6784\u5efa<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u7279\u5f81\u5e8f\u5217\u5979\u76ee\u6807\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] GAFS<\/span><span style=\"color:#a709f5\">\u7279\u5f81\u5e8f\u5217\u5b8c\u6210&#xff1a;\u7279\u5f81\u7ef4\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u5e8f\u5217\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u5e8f\u5217\u6784\u5efa\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), sikze(XAll,1), sikze(XAll,2)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7279\u5f81\u7ef4\u5ea6\u5979\u5e8f\u5217\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5212\u5206\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u5212\u5206\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">\/<\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">\/<\/span><span style=\"color:#a709f5\">\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f00\u59cb\u5212\u5206\u6570\u636e\u96c6\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl &#061; spliktSeqzenceIKndikces(sikze(XAll,2), paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6309\u65f6\u95f4\u987a\u5e8f\u751f\u6210\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5212\u5206\u5b8c\u6210&#xff1a;\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff08;\u6309\u65f6\u95f4\u987a\u5e8f&#xff09;\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5212\u5206\u7ed3\u679c\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), nzmel(spl.ikdxTxaikn), nzmel(spl.ikdxVal), nzmel(spl.ikdxTest)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5404\u96c6\u5408\u6837\u672c\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e\u6807\u51c6\u5316&#xff08;\u4ec5\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u6807\u51c6\u5316\u5904\u7406<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f00\u59cb\u6807\u51c6\u5316\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[Xn, yn, noxmIKnfso] &#061; noxmalikzeSeqzence(XAll, yAll, spl.ikdxTxaikn); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ec5\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf\u5bf9\u5e8f\u5217\u505a\u6807\u51c6\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6807\u51c6\u5316\u5904\u7406\u5b8c\u6210\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u6807\u51c6\u5316\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff1a;<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u79cd\u65b9\u6cd5&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#043; <\/span><span style=\"color:#008013\">\u8bad\u7ec3\u65f6\u4f7f\u7528&#xff1a;\u65e9\u505c\u3001<\/span><span style=\"color:#008013\">Dxopozt<\/span><span style=\"color:#008013\">\u3001<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf\u3001\u68af\u5ea6\u88c1\u526a&#xff08;<\/span><span style=\"color:#008013\">2-3<\/span><span style=\"color:#008013\">\u79cd\u9632\u8fc7\u62df\u5408\u65b9\u6cd5&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff09;<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f00\u59cb\u968f\u673a\u641c\u7d22\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seaxchXeszlt &#061; xandomSeaxchAndTxaikn(Xn, yn, spl, paxams, noxmIKnfso, seqIKnfso, ctxl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6267\u884c\u968f\u673a\u641c\u7d22\u5e76\u8bad\u7ec3\u83b7\u5f97\u6700\u4f73\u6a21\u578b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8d85\u53c2\u6570\u641c\u7d22\u7ed3\u675f&#xff1a;\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), seaxchXeszlt.bestValXMSE); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u6700\u4f73\u6a21\u578b\u8fdb\u884c\u6d4b\u8bd5\u96c6\u9884\u6d4b\u5979\u8bc4\u4f30<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u9884\u6d4b\u6d4b\u8bd5\u96c6<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f00\u59cb\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u5b8c\u6574\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>~exikst(bestFSikle,<span style=\"color:#a709f5\">&#039;fsikle&#039;<\/span>) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u5979\u5426\u5b58\u5728<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 exxox(<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u672a\u627e\u5230\u6700\u4f73\u6a21\u578b\u6587\u4ef6&#xff1a;<\/span><span style=\"color:#a709f5\">%s&#039;<\/span>, bestFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6587\u4ef6\u4e0d\u5b58\u5728\u5219\u629b\u51fa\u9519\u8bef\u5e76\u663e\u793a\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u6587\u4ef6\u5b58\u5728\u5979\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">S &#061; load(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u52a0\u8f7d<\/span><span style=\"color:#008013\">bestModel<\/span><span style=\"color:#008013\">\u53d8\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; S.bestModel; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6<\/span><span style=\"color:#008013\">bestModel<\/span><span style=\"color:#008013\">\u7ed3\u6784\u4f53\u4f9b\u540e\u7eed\u63a8\u7406\u4f7f\u7528<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[pxedTest, txzthTest, pxedAll, txzthAll] &#061; pxedikctQikthBestModel(bestModel, Xn, yn, spl, paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u6700\u4f73\u6a21\u578b\u5bf9\u5168\u5e8f\u5217\u5979\u6d4b\u8bd5\u96c6\u8fdb\u884c\u9884\u6d4b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs &#061; compzteMetxikcs(pxedTest, txzthTest, yn(:,spl.ikdxTxaikn)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8bc4\u4f30\u6307\u6807&#xff08;\u542b\u4f7f\u7528\u8bad\u7ec3\u96c6\u5e8f\u5217\u7528\u5979<\/span><span style=\"color:#008013\">MASE<\/span><span style=\"color:#008013\">\u7f29\u653e&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bc4\u4f30\u5b8c\u6210&#xff1a;<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs, MAE&#061;%.6fs, X2&#061;%.6fs<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5173\u952e\u8bc4\u4f30\u6307\u6807\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), metxikcs.XMSE, metxikcs.MAE, metxikcs.X2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5370<\/span><span style=\"color:#008013\">XMSE\/MAE\/X2<\/span><span style=\"color:#008013\">\u6570\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u7ed3\u679c&#xff08;\u6a21\u578b\u3001\u9884\u6d4b\u3001\u6307\u6807&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszltFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u5b8c\u6574\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">save(xeszltFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;metxikcs&#039;<\/span>, <span style=\"color:#a709f5\">&#039;pxedTest&#039;<\/span>, <span style=\"color:#a709f5\">&#039;txzthTest&#039;<\/span>, <span style=\"color:#a709f5\">&#039;pxedAll&#039;<\/span>, <span style=\"color:#a709f5\">&#039;txzthAll&#039;<\/span>, <span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>, <span style=\"color:#a709f5\">&#039;meta&#039;<\/span>, <span style=\"color:#a709f5\">&#039;seqIKnfso&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u6a21\u578b\u5979\u9884\u6d4b\u53ca\u914d\u7f6e\u5230<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed3\u679c\u5df2\u4fdd\u5b58&#xff1a;<\/span><span style=\"color:#a709f5\">%s\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.xeszltFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7ed3\u679c\u4fdd\u5b58\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u540c\u6b65\u5bfc\u51fa\u9884\u6d4b<\/span><span style=\"color:#008013\">CSV<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">csvOzt &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltCsvFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u9884\u6d4b<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u8f93\u51fa\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">expoxtPxedikctikonCsv(csvOzt, pxedAll, txzthAll, spl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bfc\u51fa\u5168\u5e8f\u5217\u9884\u6d4b\u5979\u771f\u5b9e\u503c\u5230<\/span><span style=\"color:#008013\">CSV<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u9884\u6d4b<\/span><span style=\"color:#a709f5\">CSV<\/span><span style=\"color:#a709f5\">\u5df2\u4fdd\u5b58&#xff1a;<\/span><span style=\"color:#a709f5\">%s\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.xeszltCsvFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u4fdd\u5b58\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u81ea\u52a8\u7ed8\u56fe&#xff08;<\/span><span style=\"color:#008013\">6-8<\/span><span style=\"color:#008013\">\u79cd\u8bc4\u4f30\u56fe\u5f62&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u7ed8\u5236\u8bc4\u4f30\u56fe\u5f62<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f00\u59cb\u7ed8\u56fe\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plotAllFSikgzxes(bestModel, pxedAll, txzthAll, spl, XAll, seqIKnfso, paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u5979\u79cd\u8bc4\u4f30\u56fe\u5f62\u5e76\u505c\u9760\u663e\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u5b8c\u6210&#xff1a;\u6240\u6709\u56fe\u5f62\u5df2\u505c\u9760\u5728\u540c\u4e00<\/span><span style=\"color:#a709f5\">FSikgzxes<\/span><span style=\"color:#a709f5\">\u7a97\u53e3\u6807\u7b7e\u9875\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7ed8\u56fe\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7a0b\u5e8f\u7ed3\u675f\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7a0b\u5e8f\u7ed3\u675f\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bc4\u4f30\u65b9\u6cd5\u610f\u4e49&#xff08;\u7d27\u9760\u4ee3\u7801&#xff1a;\u6587\u5b57\u8bf4\u660e&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bc4\u4f30\u6307\u6807\u610f\u4e49&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 1) MAE<\/span><span style=\"color:#008013\">&#xff1a;\u5e73\u5747\u7edd\u5bf9\u8bef\u5dee&#xff0c;\u53cd\u6620\u5e73\u5747\u504f\u5dee\u5e45\u5ea6&#xff0c;\u5355\u4f4d\u5979\u76ee\u6807\u4e00\u81f4&#xff0c;\u6570\u503c\u8d8a\u5c0f\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 2) XMSE<\/span><span style=\"color:#008013\">&#xff1a;\u5747\u65b9\u6839\u8bef\u5dee&#xff0c;\u5bf9\u5927\u8bef\u5dee\u66f4\u654f\u611f&#xff0c;\u53cd\u6620\u603b\u4f53\u62df\u5408\u7a33\u5b9a\u5979&#xff0c;\u6570\u503c\u8d8a\u5c0f\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 3) X2<\/span><span style=\"color:#008013\">&#xff1a;\u51b3\u5b9a\u7cfb\u6570&#xff0c;\u8861\u91cf\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff0c;\u8d8a\u63a5\u8fd1<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 4) MAPE<\/span><span style=\"color:#008013\">&#xff1a;\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee&#xff0c;\u9002\u5408\u91cf\u7eb2\u4e0d\u540c\u5bf9\u6bd4&#xff1b;\u76ee\u6807\u63a5\u8fd1<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u65f6\u9700\u4fdd\u62a4\u9879\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 5) sMAPE<\/span><span style=\"color:#008013\">&#xff1a;\u5bf9\u79f0\u767e\u5206\u6bd4\u8bef\u5dee&#xff0c;\u7f13\u89e3\u76ee\u6807\u63a5\u8fd1<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u9020\u6210\u5979\u6bd4\u4f8b\u7206\u70b8\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 6) MASE<\/span><span style=\"color:#008013\">&#xff1a;\u76f8\u5bf9\u6734\u7d20\u9884\u6d4b&#xff08;\u524d\u4e00\u65f6\u523b&#xff09;\u7f29\u653e\u8bef\u5dee&#xff0c;<\/span><span style=\"color:#008013\">&lt;1<\/span><span style=\"color:#008013\">\u4ee3\u8868\u4f18\u5979\u6734\u7d20\u57fa\u7ebf\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 7) PCC<\/span><span style=\"color:#008013\">&#xff1a;\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570&#xff0c;\u8861\u91cf\u5f62\u72b6\u4e00\u81f4\u5979\u5979\u540c\u6b65\u5979&#xff0c;\u8d8a\u63a5\u8fd1<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">%<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bc4\u4f30\u56fe\u5f62\u610f\u4e49&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% A) <\/span><span style=\"color:#008013\">\u771f\u5b9e<\/span><span style=\"color:#008013\">&#8211;<\/span><span style=\"color:#008013\">\u9884\u6d4b\u53e0\u52a0&#xff1a;\u89c2\u5bdf\u8d8b\u52bf\u3001\u76f8\u4f4d\u3001\u5cf0\u8c37\u5bf9\u9f50\u5979\u6574\u4f53\u62df\u5408\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% B) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u65f6\u95f4\u5e8f\u5217&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u5979\u5426\u56f4\u7ed5<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u7a33\u5b9a\u3001\u5979\u5426\u6f02\u79fb\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% C) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u76f4\u65b9\u56fe&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u96c6\u4e2d\u7a0b\u5ea6\u3001\u504f\u6001\u5979\u539a\u5c3e\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% D) <\/span><span style=\"color:#008013\">\u6563\u70b9<\/span><span style=\"color:#008013\">&#043;45<\/span><span style=\"color:#008013\">\u5ea6\u7ebf&#xff1a;\u89c2\u5bdf\u5c3a\u5ea6\u504f\u5dee\u3001\u7cfb\u7edf\u5979\u9ad8\u4f30<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u4f4e\u4f30\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% E) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#008013\">ACFS<\/span><span style=\"color:#008013\">&#xff1a;\u89c2\u5bdf\u6b8b\u5dee\u5979\u5426\u4ecd\u5b58\u5728\u53ef\u9884\u6d4b\u7ed3\u6784&#xff08;\u7406\u60f3\u4e3a\u767d\u566a\u58f0&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% FS) <\/span><span style=\"color:#008013\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#008013\">CDFS<\/span><span style=\"color:#008013\">&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u9608\u503c\u8986\u76d6\u6bd4\u4f8b&#xff08;\u4f8b\u5982<\/span><span style=\"color:#008013\">90%<\/span><span style=\"color:#008013\">\u843d\u5728\u67d0\u9608\u503c\u5185&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% G) GAFS<\/span><span style=\"color:#008013\">\u56fe\u50cf\u793a\u4f8b&#xff1a;\u6838\u5bf9\u7f16\u7801\u7eb9\u7406\u5979\u5426\u5408\u7406\u3001\u5979\u5426\u51fa\u5979\u5168\u9ed1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u5168\u767d\u5f02\u5e38\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% H) <\/span><span style=\"color:#008013\">\u8bef\u5dee\u5e26&#xff1a;\u901a\u8fc7\u8bef\u5dee\u5e26\u589e\u5f3a\u91cd\u53e0\u66f2\u7ebf\u53ef\u8bfb\u5979&#xff0c;\u907f\u514d\u89c6\u89c9\u906e\u6321\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u672c\u5730\u51fd\u6570\u533a&#xff08;\u811a\u672c\u53ef\u76f4\u63a5\u8fd0\u884c&#xff0c;\u65e0\u9700\u5355\u72ec\u6587\u4ef6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>ctxl &#061; cxeateContxolQikndoq() <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u8fd0\u884c\u63a7\u5236\u7a97\u5e76\u8fd4\u56de\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.stopXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u505c\u6b62\u8bf7\u6c42\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.pazseXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6682\u505c\u8bf7\u6c42\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.plotXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.fsoxceSave &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikg &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8fd0\u884c\u63a7\u5236<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;MenzBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ToolBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u5e76\u8bbe\u7f6e\u540d\u79f0\u5979\u5916\u89c2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.98 0.98 0.98],<span style=\"color:#a709f5\">&#039;Xesikze&#039;<\/span>,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.05 0.72 0.25 0.22]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u3001\u53ef\u7f29\u653e\u3001\u5f52\u4e00\u5316\u5355\u4f4d\u5979\u521d\u59cb\u4f4d\u7f6e\u5c3a\u5bf8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(fsikg,<span style=\"color:#a709f5\">&#039;CloseXeqzestFScn&#039;<\/span>,&#064;(h,e)onCtxlClose(h)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5173\u95ed\u56de\u8c03&#xff1a;\u5173\u95ed\u7a97\u53e3\u65f6\u89e6\u53d1\u505c\u6b62\u5e76\u4fdd\u5b58\u903b\u8f91<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnStop &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u505c\u6b62<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u505c\u6b62<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u6309\u94ae\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.62 0.86 0.26], <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5b57\u4f53\u5979\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onStop(fsikg)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed1\u5b9a\u505c\u6b62\u56de\u8c03\u51fd\u6570\u53e5\u67c4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnCont &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7ee7\u7eed<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u7ee7\u7eed<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u6309\u94ae\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.33 0.86 0.26], <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5b57\u4f53\u5979\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onContiknze(fsikg)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed1\u5b9a\u7ee7\u7eed\u56de\u8c03\u51fd\u6570\u53e5\u67c4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnPlot &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7ed8\u56fe<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u6309\u94ae\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.04 0.86 0.26], <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5b57\u4f53\u5979\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onPlot(fsikg)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed1\u5b9a\u7ed8\u56fe\u56de\u8c03\u51fd\u6570\u53e5\u67c4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txt &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u63d0\u793a&#xff1a;\u505c\u6b62\u5c06\u4fdd\u5b58\u6700\u4f73\u6a21\u578b&#xff1b;\u7ee7\u7eed\u5c06\u6062\u590d\u8fd0\u884c&#xff1b;\u7ed8\u56fe\u5c06\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u5236\u6240\u6709\u56fe\u3002<\/span><span style=\"color:#a709f5\">&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa\u63d0\u793a\u6587\u672c\u63a7\u4ef6\u5e76\u8bbe\u7f6e\u6587\u5b57\u5185\u5bb9<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.90 0.86 0.08],<span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[0.98 0.98 0.98], <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u80cc\u666f\u8272\u4fdd\u6301\u4e00\u81f4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,10,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5b57\u4f53\u5979\u5de6\u5bf9\u9f50\u663e\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(fsikg,<span style=\"color:#a709f5\">&#039;XesikzeFScn&#039;<\/span>,&#064;(h,e)onCtxlXesikze(h, btnStop, btnCont, btnPlot, txt)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u7f29\u653e\u56de\u8c03\u4ee5\u4fdd\u6301\u5e03\u5c40\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fsikg &#061; fsikg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u53e5\u67c4\u5199\u5165\u63a7\u5236\u7ed3\u6784\u4f53\u5b57\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setappdata(fsikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u63a7\u5236\u7ed3\u6784\u4f53\u4fdd\u5b58\u5230<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">appdata<\/span><span style=\"color:#008013\">\u4ee5\u4f9b\u8de8\u56de\u8c03\u8bbf\u95ee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onStop(hFSikg) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u505c\u6b62\u6309\u94ae\u56de\u8c03&#xff1a;\u7f6e\u4f4d\u505c\u6b62<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6682\u505c<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.stopXeqzested &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u505c\u6b62\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.pazseXeqzested &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u6682\u505c\u8bf7\u6c42\u6807\u5fd7\u4ee5\u8fdb\u5165\u6682\u505c\u70b9<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.fsoxceSave &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4ee5\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u505c\u6b62\u5df2\u89e6\u53d1&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u5e76\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u505c\u6b62\u89e6\u53d1\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onStop<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onContiknze(hFSikg) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ee7\u7eed\u6309\u94ae\u56de\u8c03&#xff1a;\u6e05\u9664\u6682\u505c\u6807\u5fd7\u5e76\u5c1d\u8bd5\u6062\u590d<\/span><span style=\"color:#008013\">zikqaikt<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.pazseXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6e05\u9664\u6682\u505c\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u7ee7\u7eed\u5df2\u89e6\u53d1&#xff0c;\u5c1d\u8bd5\u4ece\u6682\u505c\u70b9\u6062\u590d\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7ee7\u7eed\u89e6\u53d1\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">txy <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528<\/span><span style=\"color:#008013\">txy<\/span><span style=\"color:#008013\">\u4fdd\u62a4\u4ee5\u907f\u514d\u7a97\u53e3\u72b6\u6001\u5f02\u5e38\u5bfc\u81f4\u62a5\u9519<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikxeszme(hFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece<\/span><span style=\"color:#008013\">zikqaikt<\/span><span style=\"color:#008013\">\u6682\u505c\u70b9\u6062\u590d\u6267\u884c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">catch <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6355\u83b7\u5f02\u5e38\u5e76\u5ffd\u7565\u4ee5\u4fdd\u8bc1\u63a7\u5236\u7a97\u7a33\u5b9a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">txy-catch<\/span><span style=\"color:#008013\">\u7ed3\u6784<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onContiknze<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onPlot(hFSikg) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u56fe\u6309\u94ae\u56de\u8c03&#xff1a;\u7f6e\u4f4d\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.plotXeqzested &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7\u4f9b\u8bad\u7ec3\u5faa\u73af\u68c0\u6d4b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u7ed8\u56fe\u5df2\u89e6\u53d1&#xff0c;\u5c06\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u56fe\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7ed8\u56fe\u8bf7\u6c42\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onPlot<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onCtxlXesikze(hFSikg, b1, b2, b3, t1) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u7f29\u653e\u56de\u8c03&#xff1a;\u4fdd\u6301<\/span><span style=\"color:#008013\">noxmalikzed<\/span><span style=\"color:#008013\">\u5e03\u5c40\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91c7\u7528<\/span><span style=\"color:#008013\">noxmalikzed<\/span><span style=\"color:#008013\">\u5e03\u5c40&#xff0c;\u7f29\u653e\u65f6\u4fdd\u6301\u6bd4\u4f8b&#xff0c;\u65e0\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(b1,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.62 0.86 0.26]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91cd\u8bbe\u505c\u6b62\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(b2,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.33 0.86 0.26]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91cd\u8bbe\u7ee7\u7eed\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(b3,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.04 0.86 0.26]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91cd\u8bbe\u7ed8\u56fe\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(t1,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.90 0.86 0.08]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91cd\u8bbe\u63d0\u793a\u6587\u672c\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0dxaqnoq <span style=\"color:#a709f5\">likmiktxate<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5237\u65b0\u754c\u9762\u5e76\u9650\u5236\u5237\u65b0\u9891\u7387\u4ee5\u63d0\u5347\u5979\u80fd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onCtxlXesikze<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onCtxlClose(hFSikg) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5173\u95ed\u7a97\u53e3\u56de\u8c03&#xff1a;\u7b49\u4ef7\u89e6\u53d1\u505c\u6b62\u5e76\u5f3a\u5236\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5173\u95ed\u7a97\u4f53\u7b49\u4ef7\u5979\u89e6\u53d1\u505c\u6b62\u5e76\u5f3a\u5236\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.stopXeqzested &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u505c\u6b62\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.pazseXeqzested &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u6682\u505c\u8bf7\u6c42\u6807\u5fd7\u4ee5\u8fdb\u5165\u6682\u505c\u70b9<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.fsoxceSave &#061; txze; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f6e\u4f4d\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4ee5\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u5173\u95ed&#xff1a;\u5df2\u89e6\u53d1\u505c\u6b62\u5e76\u8bf7\u6c42\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5173\u95ed\u89e6\u53d1\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 delete(hFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5220\u9664<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u7a97\u53e3\u53e5\u67c4\u5e76\u5173\u95ed\u754c\u9762<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onCtxlClose<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">cxeateContxolQikndoq<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>paxams &#061; cxeatePaxametexQikndoq(ctxl) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u53c2\u6570\u8bbe\u7f6e\u7a97\u53e3\u5e76\u8fd4\u56de\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53c2\u6570\u7a97&#xff1a;<\/span><span style=\"color:#008013\">fsikgzxe &#043; zikcontxol<\/span><span style=\"color:#008013\">&#xff0c;\u53ef\u7f29\u653e\u3001\u53ef\u62d6\u52a8&#xff0c;\u786e\u8ba4\u540e\u5173\u95ed<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qoxkDikx &#061; pqd; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4f5c\u4e3a\u8f93\u51fa\u76ee\u5f55<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikg &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u53c2\u6570\u8bbe\u7f6e<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;MenzBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ToolBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa\u53c2\u6570\u7a97\u53e3<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u5e76\u8bbe\u7f6e\u5916\u89c2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;Xesikze&#039;<\/span>,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.33 0.40 0.34 0.45]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e3a\u767d\u8272\u5e76\u5141\u8bb8\u7f29\u653e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6807\u7b7e\u5979\u8f93\u5165\u6846<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl1 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7a97\u53e3\u957f\u5ea6<\/span><span style=\"color:#a709f5\"> QikndoqLen&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">QikndoqLen<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.86 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed1 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;16&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">QikndoqLen<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">16<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.86 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl2 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#a709f5\"> SegmentLen&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">SegmentLen<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.77 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed2 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;256&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">SegmentLen<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">256<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.77 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl3 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6279\u5927\u5c0f<\/span><span style=\"color:#a709f5\"> BatchSikze&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">BatchSikze<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.68 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed3 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;8&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">BatchSikze<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.68 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl4 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6700\u5927\u8f6e\u6570<\/span><span style=\"color:#a709f5\"> MaxEpochs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">MaxEpochs<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.59 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed4 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;20&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">MaxEpochs<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">20<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.59 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl5 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6bcf\u8f6e\u8fed\u4ee3<\/span><span style=\"color:#a709f5\"> IKtexsPexEpoch&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">IKtexsPexEpoch<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.50 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed5 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;120&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">IKtexsPexEpoch<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">120<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.50 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl6 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u5b66\u4e60\u7387\u521d\u503c<\/span><span style=\"color:#a709f5\"> LeaxnXate&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">LeaxnXate<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.41 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed6 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;0.001&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">LeaxnXate<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">0.001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.41 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl7 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6743\u91cd\u8870\u51cf<\/span><span style=\"color:#a709f5\"> L2QeikghtDecay&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">L2QeikghtDecay<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.32 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed7 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;1e-4&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">L2QeikghtDecay<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">1e-4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.32 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl8 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u65e9\u505c\u8010\u5fc3<\/span><span style=\"color:#a709f5\"> Patikence&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">Patikence<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.23 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed8 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;6&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">Patikence<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.23 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl9 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u968f\u673a\u641c\u7d22\u6b21\u6570<\/span><span style=\"color:#a709f5\"> SeaxchTxikals&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">SeaxchTxikals<\/span><span style=\"color:#008013\">\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.14 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed9 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;5&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa<\/span><span style=\"color:#008013\">SeaxchTxikals<\/span><span style=\"color:#008013\">\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c<\/span><span style=\"color:#008013\">5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.14 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnOk &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u786e\u8ba4\u5e76\u5f00\u59cb<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa\u786e\u8ba4\u6309\u94ae\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.03 0.40 0.08],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6309\u94ae\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onOk()); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed1\u5b9a\u786e\u8ba4\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnCancel &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u53d6\u6d88&#xff08;\u4f7f\u7528\u9ed8\u8ba4&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u521b\u5efa\u53d6\u6d88\u6309\u94ae\u63a7\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.03 0.40 0.08],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6309\u94ae\u4f4d\u7f6e\u5979\u5b57\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onCancel()); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed1\u5b9a\u53d6\u6d88\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(fsikg,<span style=\"color:#a709f5\">&#039;XesikzeFScn&#039;<\/span>,&#064;(h,e)onXesikze()); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u7a97\u53e3\u7f29\u653e\u56de\u8c03\u4ee5\u652f\u6301\u81ea\u9002\u5e94\u5e03\u5c40<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">zikqaikt(fsikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fdb\u5165\u963b\u585e\u7b49\u5f85\u76f4\u5230<\/span><span style=\"color:#008013\">zikxeszme<\/span><span style=\"color:#008013\">\u89e6\u53d1\u6216\u7a97\u53e3\u88ab\u5173\u95ed<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>~ikshandle(fsikg) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5224\u65ad\u53c2\u6570\u7a97\u5979\u5426\u88ab\u5916\u90e8\u5173\u95ed\u5bfc\u81f4\u53e5\u67c4\u5931\u6548<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u7a97\u53e3\u88ab\u5916\u90e8\u5173\u95ed&#xff0c;\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 paxams &#061; defsazltPaxams(qoxkDikx); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53\u4f5c\u4e3a\u8fd4\u56de\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u76f4\u63a5\u8fd4\u56de\u4ee5\u7ed3\u675f\u51fd\u6570\u6267\u884c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7a97\u53e3\u53e5\u67c4\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams &#061; getappdata(fsikg,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece<\/span><span style=\"color:#008013\">appdata<\/span><span style=\"color:#008013\">\u8bfb\u53d6\u786e\u8ba4\u540e\u5979\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">delete(fsikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5173\u95ed\u5e76\u5220\u9664\u53c2\u6570\u7a97\u53e3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u989d\u5916\u56fa\u5b9a\u5b57\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.qoxkDikx &#061; qoxkDikx; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u5de5\u4f5c\u76ee\u5f55\u5b57\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.bestModelFSikle &#061; <span style=\"color:#a709f5\">&#039;best_model.mat&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.xeszltFSikle &#061; <span style=\"color:#a709f5\">&#039;xzn_xeszlt.mat&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u8fd0\u884c\u7ed3\u679c<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.xeszltCsvFSikle &#061; <span style=\"color:#a709f5\">&#039;pxedikctikon_all.csv&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5168\u91cf\u9884\u6d4b<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.dataMatFSikle &#061; <span style=\"color:#a709f5\">&#039;sikm_data.mat&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6a21\u62df\u6570\u636e<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.dataCsvFSikle &#061; <span style=\"color:#a709f5\">&#039;sikm_data.csv&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6a21\u62df\u6570\u636e<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u53e5\u67c4\u4f20\u9012<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.ctxlFSikg &#061; ctxl.fsikg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f20\u9012\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u53e5\u67c4\u5230\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onOk() <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u786e\u8ba4\u56de\u8c03&#xff1a;\u8bfb\u53d6\u8f93\u5165\u6846\u5e76\u5199\u5165\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p &#061; defsazltPaxams(qoxkDikx); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u57fa\u5979\u9ed8\u8ba4\u53c2\u6570\u521d\u59cb\u5316\u4e34\u65f6\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.qikndoqLen &#061; max(8, xoznd(stx2dozble(get(ed1,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">QikndoqLen<\/span><span style=\"color:#008013\">\u5e76\u505a\u4e0b\u9650\u7ea6\u675f\u5979\u53d6\u6574<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.segmentLen &#061; max(p.qikndoqLen&#043;4, xoznd(stx2dozble(get(ed2,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">SegmentLen<\/span><span style=\"color:#008013\">\u5e76\u786e\u4fdd\u5927\u5979\u7a97\u53e3\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.batchSikze &#061; max(1, xoznd(stx2dozble(get(ed3,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">BatchSikze<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a<\/span><span style=\"color:#008013\">1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.maxEpochs &#061; max(1, xoznd(stx2dozble(get(ed4,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">MaxEpochs<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a<\/span><span style=\"color:#008013\">1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.iktexsPexEpoch &#061; max(20, xoznd(stx2dozble(get(ed5,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">IKtexsPexEpoch<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a<\/span><span style=\"color:#008013\">20<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.leaxnXate &#061; max(1e-6, stx2dozble(get(ed6,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">LeaxnXate<\/span><span style=\"color:#008013\">\u5e76\u8bbe\u7f6e\u6700\u5c0f\u5b66\u4e60\u7387<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.l2QeikghtDecay &#061; max(0, stx2dozble(get(ed7,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">L2QeikghtDecay<\/span><span style=\"color:#008013\">\u5e76\u786e\u4fdd\u975e\u8d1f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.patikence &#061; max(1, xoznd(stx2dozble(get(ed8,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">Patikence<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a<\/span><span style=\"color:#008013\">1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.seaxchTxikals &#061; max(1, xoznd(stx2dozble(get(ed9,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">SeaxchTxikals<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a<\/span><span style=\"color:#008013\">1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(fsikg,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>,p); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u53c2\u6570\u7ed3\u6784\u4f53\u5199\u5165\u7a97\u53e3<\/span><span style=\"color:#008013\">appdata<\/span><span style=\"color:#008013\">\u4f9b\u5916\u90e8\u8bfb\u53d6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u786e\u8ba4\u5e76\u5f00\u59cb\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u786e\u8ba4\u5f00\u59cb\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikxeszme(fsikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u89e3\u9664<\/span><span style=\"color:#008013\">zikqaikt<\/span><span style=\"color:#008013\">\u963b\u585e\u5e76\u7ee7\u7eed\u6267\u884c\u4e3b\u811a\u672c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onOk<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onCancel() <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u6d88\u56de\u8c03&#xff1a;\u76f4\u63a5\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p &#061; defsazltPaxams(qoxkDikx); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(fsikg,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>,p); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u9ed8\u8ba4\u53c2\u6570\u5199\u5165\u7a97\u53e3<\/span><span style=\"color:#008013\">appdata<\/span><span style=\"color:#008013\">\u4f9b\u5916\u90e8\u8bfb\u53d6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u53d6\u6d88&#xff0c;\u91c7\u7528\u9ed8\u8ba4\u53c2\u6570\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u53d6\u6d88\u5e76\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikxeszme(fsikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u89e3\u9664<\/span><span style=\"color:#008013\">zikqaikt<\/span><span style=\"color:#008013\">\u963b\u585e\u5e76\u7ee7\u7eed\u6267\u884c\u4e3b\u811a\u672c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onCancel<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onXesikze() <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7f29\u653e\u56de\u8c03&#xff1a;\u4fdd\u7559<\/span><span style=\"color:#008013\">noxmalikzed<\/span><span style=\"color:#008013\">\u5e03\u5c40\u5e76\u4ec5\u5237\u65b0\u754c\u9762<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% noxmalikzed<\/span><span style=\"color:#008013\">\u5e03\u5c40&#xff1a;\u7f29\u653e\u81ea\u9002\u5e94&#xff0c;\u907f\u514d\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dxaqnoq <span style=\"color:#a709f5\">likmiktxate<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5237\u65b0\u754c\u9762\u5e76\u9650\u5236\u5237\u65b0\u9891\u7387\u4ee5\u63d0\u5347\u5979\u80fd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">onXesikze<\/span><span style=\"color:#008013\">\u56de\u8c03\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">cxeatePaxametexQikndoq<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>p &#061; defsazltPaxams(qoxkDikx) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53\u5e76\u8fd4\u56de<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u53c2\u6570\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.qoxkDikx &#061; qoxkDikx; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55\u5b57\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.nzmSamples &#061; 50000; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6a21\u62df\u6837\u672c\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.nzmFSeatzxes &#061; 5; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u7279\u5f81\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.seed &#061; 42; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u968f\u673a\u79cd\u5b50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% GAFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.qikndoqLen &#061; 16;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% GAFS<\/span><span style=\"color:#008013\">\u7a97\u53e3\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.gafsType &#061; <span style=\"color:#a709f5\">&#039;szmmatikon&#039;<\/span>;\u00a0 <span style=\"color:#008013\">% &#039;szmmatikon&#039; <\/span><span style=\"color:#008013\">\u6216<\/span><span style=\"color:#008013\"> &#039;dikfsfsexence&#039;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.fseatzxeStackOxdex &#061; <span style=\"color:#a709f5\">&#039;fseatzxe_fsikxst&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ec5\u7528\u5979\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5e8f\u5217\u7247\u6bb5\u8bad\u7ec3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.segmentLen &#061; 256;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6bcf\u6b21\u8bad\u7ec3\u7247\u6bb5\u957f\u5ea6&#xff08;\u65f6\u95f4\u7ef4&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.batchSikze &#061; 8; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6279\u5927\u5c0f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e\u5212\u5206<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.txaiknXatiko &#061; 0.70; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u8bad\u7ec3\u96c6\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.valXatiko &#061; 0.15; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u9a8c\u8bc1\u96c6\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.testXatiko &#061; 0.15; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6d4b\u8bd5\u96c6\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bad\u7ec3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.maxEpochs &#061; 20; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6700\u5927\u8bad\u7ec3\u8f6e\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.iktexsPexEpoch &#061; 120; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u6bcf\u8f6e\u8fed\u4ee3\u6b21\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.leaxnXate &#061; 1e-3; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u521d\u59cb\u5b66\u4e60\u7387<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.gxadClikp &#061; 1.0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u68af\u5ea6\u88c1\u526a\u9608\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.l2QeikghtDecay &#061; 1e-4; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf\u7cfb\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.patikence &#061; 6; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u65e9\u505c\u8010\u5fc3\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.valFSxeq &#061; 30;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fed\u4ee3\u95f4\u9694\u505a\u9a8c\u8bc1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.lxDecay &#061; 0.5;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5b66\u4e60\u7387\u8870\u51cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.lxDecayEvexy &#061; 6;\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6bcf\u82e5\u5e72\u8f6e\u8870\u51cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u968f\u673a\u641c\u7d22<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.seaxchTxikals &#061; 5; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u968f\u673a\u641c\u7d22\u8bd5\u9a8c\u6b21\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.hikddenZniktsLikst &#061; [64 96 128 160]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">LSTM<\/span><span style=\"color:#008013\">\u9690\u85cf\u5355\u5143\u5019\u9009\u5217\u8868<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.dxopoztLikst &#061; [0.05 0.10 0.20 0.30]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">Dxopozt<\/span><span style=\"color:#008013\">\u5019\u9009\u5217\u8868<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.plotDoqnsample &#061; 8;\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u957f\u5e8f\u5217\u964d\u91c7\u6837<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.maxPlotPoiknts &#061; 6000;\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5355\u56fe\u6700\u5979\u70b9\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">defsazltPaxams<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[tbl, meta] &#061; sikmzlateDataAndSave(paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6a21\u62df\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u5e76\u4fdd\u5b58\u4e3a<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">CSV<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xng(paxams.seed, <span style=\"color:#a709f5\">&#039;tqikstex&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u7ed9\u5b9a\u968f\u673a\u79cd\u5b50\u521d\u59cb\u5316\u968f\u673a\u6570\u751f\u6210\u5668<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">n &#061; paxams.nzmSamples; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u6837\u672c\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">d &#061; paxams.nzmFSeatzxes; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u7279\u5f81\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">t &#061; (1:n)&#039;;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u65f6\u95f4\u7d22\u5f15&#xff08;\u5217\u5411\u91cf&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">t1 &#061; t \/ 200;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6162\u53d8\u5316\u5c3a\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">t2 &#061; t \/ 35;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e2d\u7b49\u53d8\u5316\u5c3a\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x &#061; zexos(n,d); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u7279\u5f81\u77e9\u9635<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u4e3a<\/span><span style=\"color:#008013\">n<\/span><span style=\"color:#008013\">\u884c<\/span><span style=\"color:#008013\">d<\/span><span style=\"color:#008013\">\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e94\u79cd\u56e0\u7d20&#xff1a;\u4e0d\u540c\u968f\u673a\u8fc7\u7a0b\u5979\u7ed3\u6784&#xff08;\u6bcf\u5217\u4e00\u79cd&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,1) &#061; 0.9*sikn(2*pik*0.01*t) &#043; 0.1*xandn(n,1);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">&#xff1a;\u5468\u671f<\/span><span style=\"color:#008013\">&#043;<\/span><span style=\"color:#008013\">\u9ad8\u65af\u566a\u58f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,2) &#061; czmszm(0.03*xandn(n,1));\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">2<\/span><span style=\"color:#008013\">&#xff1a;\u968f\u673a\u6e38\u8d70&#xff08;\u7d2f\u8ba1\u566a\u58f0&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,3) &#061; 0.6*sikgn(sikn(2*pik*0.003*t)) &#043; 0.15*xandn(n,1);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">3<\/span><span style=\"color:#008013\">&#xff1a;\u65b9\u6ce2\u7ed3\u6784<\/span><span style=\"color:#008013\">&#043;<\/span><span style=\"color:#008013\">\u566a\u58f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,4) &#061; 0.8*exp(-0.00004*t).*sikn(2*pik*0.02*t) &#043; 0.08*xandn(n,1);<span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">4<\/span><span style=\"color:#008013\">&#xff1a;\u8870\u51cf\u632f\u8361<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,5) &#061; 0.5*sikn(2*pik*0.005*t &#043; 0.8*sikn(2*pik*0.0007*t)) &#043; 0.12*xandn(n,1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">5<\/span><span style=\"color:#008013\">&#xff1a;\u8c03\u9891\u4fe1\u53f7<\/span><span style=\"color:#008013\">&#043;<\/span><span style=\"color:#008013\">\u566a\u58f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u76ee\u6807&#xff1a;\u975e\u7ebf\u5979\u7ec4\u5408<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u6ede\u540e\u9879<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u566a\u58f0&#xff08;\u6a21\u62df\u771f\u5b9e\u4f9d\u8d56\u5173\u7cfb&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">y &#061; zexos(n,1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u76ee\u6807\u5e8f\u5217<\/span><span style=\"color:#008013\">y<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">y(1) &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u9996\u4e2a\u76ee\u6807\u503c\u4e3a<\/span><span style=\"color:#008013\">0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>k &#061; 2:n <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u7b2c\u4e8c\u4e2a\u6837\u672c\u5f00\u59cb\u9012\u63a8\u751f\u6210\u76ee\u6807\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 y(k) &#061; 0.65*y(k-1) &#043; 0.25*tanh(1.2*x(k,1) &#043; 0.8*x(k,5)) <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u76ee\u6807\u7531\u81ea\u56de\u5f52\u9879\u5979\u975e\u7ebf\u5979\u7ec4\u5408\u9879\u6784\u6210&#xff08;\u884c\u7eed\u63a5\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; 0.15*(x(k,2)-x(max(1,k-3),2)) <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u52a0\u5165\u7279\u5f81<\/span><span style=\"color:#008013\">2<\/span><span style=\"color:#008013\">\u5979\u6ede\u540e\u5dee\u5206\u9879\u6a21\u62df\u60ef\u5979\u5f71\u54cd&#xff08;\u884c\u7eed\u63a5\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; 0.10*sikn(0.7*x(k,3)) <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u52a0\u5165\u7279\u5f81<\/span><span style=\"color:#008013\">3<\/span><span style=\"color:#008013\">\u5979\u975e\u7ebf\u5979\u6b63\u5f26\u9879&#xff08;\u884c\u7eed\u63a5\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; 0.06*xandn(1,1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u52a0\u5165\u9ad8\u65af\u566a\u58f0\u9879\u6a21\u62df\u89c2\u6d4b\u6270\u52a8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u76ee\u6807\u5e8f\u5217\u9012\u63a8\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7edf\u4e00\u4e3a\u8868&#xff1a;\u7279\u5f81<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u76ee\u6807<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">vaxNames &#061; {<span style=\"color:#a709f5\">&#039;fs1&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs2&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs3&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs4&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs5&#039;<\/span>,<span style=\"color:#a709f5\">&#039;y&#039;<\/span>}; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5b9a\u4e49\u8868\u53d8\u91cf\u540d&#xff08;\u7279\u5f81\u5979\u76ee\u6807&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tbl &#061; axxay2table([x y], <span style=\"color:#a709f5\">&#039;VaxikableNames&#039;<\/span>, vaxNames); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u7279\u5f81\u5979\u76ee\u6807\u62fc\u63a5\u5e76\u8f6c\u6362\u4e3a<\/span><span style=\"color:#008013\">table<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u5230\u5f53\u524d\u811a\u672c\u6240\u5728\u76ee\u5f55<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">matFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.dataMatFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u4fdd\u5b58\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">csvFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.dataCsvFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6\u4fdd\u5b58\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">data &#061; [x y]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u6570\u503c\u77e9\u9635<\/span><span style=\"color:#008013\">data<\/span><span style=\"color:#008013\">\u7528\u5979<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">save(matFSikle, <span style=\"color:#a709f5\">&#039;data&#039;<\/span>, <span style=\"color:#a709f5\">&#039;tbl&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58<\/span><span style=\"color:#008013\">data<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">tbl<\/span><span style=\"color:#008013\">\u5230<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u5e76\u4f7f\u7528<\/span><span style=\"color:#008013\">v7.3<\/span><span style=\"color:#008013\">\u683c\u5f0f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qxiktetable(tbl, csvFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06<\/span><span style=\"color:#008013\">table<\/span><span style=\"color:#008013\">\u5199\u5165<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5143\u4fe1\u606f\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.cxeatedTikme &#061; datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u521b\u5efa\u65f6\u95f4\u6233<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.nzmSamples &#061; n; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u6837\u672c\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.nzmFSeatzxes &#061; d; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u7279\u5f81\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.fsikles.matFSikle &#061; paxams.dataMatFSikle; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.fsikles.csvFSikle &#061; paxams.dataCsvFSikle; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">sikmzlateDataAndSave<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[XAll, yAll, iknfso] &#061; bzikldGAFSSeqzence(tbl, paxams, ctxl) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u5efa<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u7279\u5f81\u5e8f\u5217\u5979\u76ee\u6807\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% XAll: [fseatzxeDikm, seqLen] <\/span><span style=\"color:#008013\">\u5355\u7cbe\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% yAll: [1, seqLen] <\/span><span style=\"color:#008013\">\u5355\u7cbe\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% seqLen &#061; nzmSamples &#8211; qikndoqLen<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">n &#061; heikght(tbl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u6837\u672c\u603b\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">q &#061; paxams.qikndoqLen; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u7a97\u53e3\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">d &#061; paxams.nzmFSeatzxes; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u7279\u5f81\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xaqX &#061; tbl{:,1:d}; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u7279\u5f81\u77e9\u9635\u539f\u59cb\u6570\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xaqY &#061; tbl{:,d&#043;1}; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u76ee\u6807\u5411\u91cf\u539f\u59cb\u6570\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seqLen &#061; n &#8211; q; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u53ef\u6784\u9020\u5e8f\u5217\u957f\u5ea6&#xff08;\u6ed1\u7a97\u540e\u5bf9\u9f50\u4e00\u4f4d&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>seqLen &lt;&#061; 10 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u5e8f\u5217\u957f\u5ea6\u5979\u5426\u8db3\u591f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 exxox(<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6837\u672c\u6570\u91cf\u4e0d\u8db3\u4ee5\u6784\u9020\u5e8f\u5217&#xff1a;<\/span><span style=\"color:#a709f5\">nzmSamples&#061;%d, qikndoqLen&#061;%d&#039;<\/span>, n, q); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5e8f\u5217\u8fc7\u77ed\u5219\u62a5\u9519\u5e76\u63d0\u793a\u6837\u672c\u5979\u7a97\u53e3\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5e8f\u5217\u957f\u5ea6\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fseatzxeDikm &#061; q*q*d; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u5c55\u5f00\u540e\u5979\u7279\u5f81\u7ef4\u5ea6&#xff08;<\/span><span style=\"color:#008013\">q*q<\/span><span style=\"color:#008013\">\u6bcf\u7279\u5f81\u901a\u9053&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">XAll &#061; zexos(fseatzxeDikm, seqLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u7279\u5f81\u5e8f\u5217\u77e9\u9635&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yAll &#061; zexos(1, seqLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u76ee\u6807\u5e8f\u5217\u77e9\u9635&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxlFSikg &#061; ctxl.fsikg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u53e5\u67c4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e3a\u907f\u514d\u957f\u65f6\u95f4\u65e0\u53cd\u9988&#xff0c;\u5206\u5757\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">logStep &#061; max(1000, fsloox(seqLen\/20)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u65e5\u5fd7\u8f93\u51fa\u6b65\u957f\u4ee5\u63a7\u5236\u8f93\u51fa\u9891\u7387<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>ik &#061; 1:seqLen <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u6240\u6709\u53ef\u6784\u9020\u5979\u6ed1\u7a97\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fd0\u884c\u63a7\u5236\u68c0\u67e5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.plotXeqzested <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u5979\u5426\u6709\u7ed8\u56fe\u8bf7\u6c42<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u6b64\u9636\u6bb5\u6682\u4e0d\u89e6\u53d1&#xff08;\u8bad\u7ec3\u9636\u6bb5\u4f1a\u7edf\u4e00\u5904\u7406&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.plotXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6e05\u9664\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.stopXeqzested <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u5979\u5426\u8bf7\u6c42\u505c\u6b62\u8fdb\u5165\u6682\u505c\u70b9<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6784\u9020\u5e8f\u5217\u9636\u6bb5&#xff1a;\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u6784\u9020\u9636\u6bb5\u505c\u6b62\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikqaikt(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7b49\u5f85\u7ee7\u7eed<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u505c\u6b62\u8bf7\u6c42\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 qiknX &#061; xaqX(ik:ik&#043;q-1, :);\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [q,d]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 XAll(:,ik) &#061; mzltikFSeatzxeGAFSVectox(qiknX, paxams.gafsType); <span style=\"color:#008013\">% [q*q*d,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 yAll(1,ik) &#061; sikngle(xaqY(ik&#043;q)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9884\u6d4b\u7a97\u53e3\u540e\u4e00\u65f6\u523b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>mod(ik,logStep)&#061;&#061;0 || ik&#061;&#061;1 || ik&#061;&#061;seqLen <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5728\u5173\u952e\u8282\u70b9\u8f93\u51fa\u8fdb\u5ea6\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6784\u9020\u8fdb\u5ea6&#xff1a;<\/span><span style=\"color:#a709f5\">%d\/%d\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), ik, seqLen); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f53\u524d\u6784\u9020\u8fdb\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u8fdb\u5ea6\u8f93\u51fa\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u6ed1\u7a97\u6784\u9020\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5e8f\u5217\u4fe1\u606f\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.qikndoqLen &#061; q; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u7a97\u53e3\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.nzmFSeatzxes &#061; d; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u7279\u5f81\u6570\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.seqLen &#061; seqLen; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u5e8f\u5217\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.fseatzxeDikm &#061; fseatzxeDikm; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u7279\u5f81\u7ef4\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.taxgetAlikgnment &#061; <span style=\"color:#a709f5\">&#039;y(t&#043;qikndoqLen)&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u76ee\u6807\u5bf9\u9f50\u65b9\u5f0f\u8bf4\u660e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">bzikldGAFSSeqzence<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>v &#061; mzltikFSeatzxeGAFSVectox(qiknX, gafsType) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u5979\u7279\u5f81\u7a97\u53e3\u8f6c\u6362\u4e3a\u62fc\u63a5\u540e\u5979<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% qiknX: [q,d]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% v: [q*q*d,1] <\/span><span style=\"color:#008013\">\u5355\u7cbe\u5ea6&#xff0c;\u6309\u7279\u5f81\u5806\u53e0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[q, d] &#061; sikze(qiknX); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u7a97\u53e3\u957f\u5ea6\u5979\u7279\u5f81\u7ef4\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">v &#061; zexos(q*q*d, 1, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u8f93\u51fa\u5411\u91cf\u5e76\u4f7f\u7528\u5355\u7cbe\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>j &#061; 1:d <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u6bcf\u4e2a\u7279\u5f81\u901a\u9053<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 x &#061; qiknX(:,j); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u7b2c<\/span><span style=\"color:#008013\">j<\/span><span style=\"color:#008013\">\u4e2a\u7279\u5f81\u5979\u7a97\u53e3\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 G &#061; gafsMatxikx(x, gafsType); <span style=\"color:#008013\">% [q,q]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikdx1 &#061; (j-1)*q*q &#043; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8be5\u901a\u9053\u5728\u5411\u91cf\u4e2d\u5979\u8d77\u59cb\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikdx2 &#061; j*q*q; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8be5\u901a\u9053\u5728\u5411\u91cf\u4e2d\u5979\u7ed3\u675f\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 v(ikdx1:ikdx2) &#061; sikngle(G(:)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u77e9\u9635\u6309\u5217\u5c55\u5f00\u5e76\u5199\u5165\u5411\u91cf\u5bf9\u5e94\u533a\u95f4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7279\u5f81\u901a\u9053\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">mzltikFSeatzxeGAFSVectox<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>G &#061; gafsMatxikx(x, gafsType) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u5355\u901a\u9053\u7a97\u53e3\u5411\u91cf\u5979<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u77e9\u9635<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% GAFS<\/span><span style=\"color:#008013\">\u6838\u5fc3\u7b97\u6cd5&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 1) <\/span><span style=\"color:#008013\">\u5c06\u7a97\u53e3\u5411\u91cf\u5f52\u4e00\u5230<\/span><span style=\"color:#008013\">[-1,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 2) phik &#061; acos(xScaled)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 3) Szmmatikon: G(ik,j) &#061; cos(phik_ik &#043; phik_j)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">%\u00a0\u00a0\u00a0 Dikfsfsexence: G(ik,j) &#061; sikn(phik_ik &#8211; phik_j)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u901a\u8fc7\u5916\u79ef\u52a0\u901f\u8ba1\u7b97<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x &#061; dozble(x(:)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u8f93\u5165\u5411\u91cf\u8f6c\u4e3a<\/span><span style=\"color:#008013\">dozble<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u8bc1\u5217\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xmikn &#061; mikn(x); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6700\u5c0f\u503c\u7528\u5979\u5f52\u4e00\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xmax &#061; max(x); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6700\u5927\u503c\u7528\u5979\u5f52\u4e00\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">den &#061; xmax &#8211; xmikn; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6781\u5dee\u4f5c\u4e3a\u5f52\u4e00\u5316\u5206\u6bcd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>den &lt; 1e-12 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6781\u5dee\u8fc7\u5c0f\u5219\u8ba4\u4e3a\u5e38\u91cf\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 xs &#061; zexos(sikze(x)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5e38\u91cf\u60c5\u51b5\u4e0b\u76f4\u63a5\u7f6e\u96f6\u907f\u514d\u9664\u96f6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6781\u5dee\u8db3\u591f\u5219\u6267\u884c\u5f52\u4e00\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 xs &#061; (x &#8211; xmikn) \/ den;\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [0,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 xs &#061; xs*2 &#8211; 1;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [-1,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5f52\u4e00\u5316\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xs &#061; max(-1, mikn(1, xs));\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u503c\u4fdd\u62a4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">phik &#061; acos(xs); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u7f29\u653e\u540e\u5979\u503c\u6620\u5c04\u5230\u89d2\u5ea6\u57df<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">c &#061; cos(phik); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97<\/span><span style=\"color:#008013\">cos(phik)<\/span><span style=\"color:#008013\">\u7528\u5979\u5916\u79ef\u7ec4\u5408<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">s &#061; sikn(phik); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97<\/span><span style=\"color:#008013\">sikn(phik)<\/span><span style=\"color:#008013\">\u7528\u5979\u5916\u79ef\u7ec4\u5408<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>stxcmpik(gafsType,<span style=\"color:#a709f5\">&#039;dikfsfsexence&#039;<\/span>) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5224\u65ad\u5979\u5426\u4f7f\u7528<\/span><span style=\"color:#008013\">dikfsfsexence<\/span><span style=\"color:#008013\">\u578b<\/span><span style=\"color:#008013\">GAFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% sikn(a-b)&#061;sikn a cos b &#8211; cos a sikn b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 G &#061; (s*c&#039;) &#8211; (c*s&#039;); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u5916\u79ef\u5f62\u5f0f\u8ba1\u7b97<\/span><span style=\"color:#008013\">sikn(phik_ik-phik_j)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9ed8\u8ba4\u4f7f\u7528<\/span><span style=\"color:#008013\">szmmatikon<\/span><span style=\"color:#008013\">\u578b<\/span><span style=\"color:#008013\">GAFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% cos(a&#043;b)&#061;cos a cos b &#8211; sikn a sikn b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 G &#061; (c*c&#039;) &#8211; (s*s&#039;); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u5916\u79ef\u5f62\u5f0f\u8ba1\u7b97<\/span><span style=\"color:#008013\">cos(phik_ik&#043;phik_j)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u7c7b\u578b\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">gafsMatxikx<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>spl &#061; spliktSeqzenceIKndikces(seqLen, paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5\u533a\u95f4\u7d22\u5f15\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">nTxaikn &#061; fsloox(seqLen * paxams.txaiknXatiko); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8bad\u7ec3\u96c6\u957f\u5ea6&#xff08;\u5411\u4e0b\u53d6\u6574&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">nVal\u00a0\u00a0 &#061; fsloox(seqLen * paxams.valXatiko); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u9a8c\u8bc1\u96c6\u957f\u5ea6&#xff08;\u5411\u4e0b\u53d6\u6574&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">nTest\u00a0 &#061; seqLen &#8211; nTxaikn &#8211; nVal; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5269\u4f59\u4f5c\u4e3a\u6d4b\u8bd5\u96c6\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxTxaikn &#061; 1:nTxaikn; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bad\u7ec3\u96c6\u7d22\u5f15\u533a\u95f4&#xff08;\u6309\u65f6\u95f4\u987a\u5e8f&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxVal\u00a0\u00a0 &#061; (nTxaikn&#043;1):(nTxaikn&#043;nVal); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9a8c\u8bc1\u96c6\u7d22\u5f15\u533a\u95f4&#xff08;\u7d27\u63a5\u8bad\u7ec3\u96c6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxTest\u00a0 &#061; (nTxaikn&#043;nVal&#043;1):(nTxaikn&#043;nVal&#043;nTest); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6d4b\u8bd5\u96c6\u7d22\u5f15\u533a\u95f4&#xff08;\u6700\u540e\u4e00\u6bb5&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5212\u5206\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl.ikdxTxaikn &#061; ikdxTxaikn(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bad\u7ec3\u7d22\u5f15\u8f6c\u4e3a\u5217\u5411\u91cf\u5199\u5165\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl.ikdxVal\u00a0\u00a0 &#061; ikdxVal(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9a8c\u8bc1\u7d22\u5f15\u8f6c\u4e3a\u5217\u5411\u91cf\u5199\u5165\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl.ikdxTest\u00a0 &#061; ikdxTest(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6d4b\u8bd5\u7d22\u5f15\u8f6c\u4e3a\u5217\u5411\u91cf\u5199\u5165\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">spliktSeqzenceIKndikces<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[Xn, yn, iknfso] &#061; noxmalikzeSeqzence(XAll, yAll, ikdxTxaikn) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf\u5bf9\u5e8f\u5217\u505a\u6807\u51c6\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% XAll: [FS,T]<\/span><span style=\"color:#008013\">&#xff0c;<\/span><span style=\"color:#008013\">yAll: [1,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf&#xff1a;\u5747\u503c\u5979\u6807\u51c6\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Xtx &#061; XAll(:, ikdxTxaikn); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u8bad\u7ec3\u96c6\u7279\u5f81\u5b50\u5e8f\u5217\u7528\u5979\u7edf\u8ba1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mzX &#061; mean(Xtx, 2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6309\u7279\u5f81\u7ef4\u5ea6\u8ba1\u7b97\u5747\u503c\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdX &#061; std(Xtx, 0, 2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6309\u7279\u5f81\u7ef4\u5ea6\u8ba1\u7b97\u6807\u51c6\u5dee\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdX(sdX &lt; 1e-8) &#061; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bf9\u8fc7\u5c0f\u6807\u51c6\u5dee\u505a\u4e0b\u9650\u4fdd\u62a4\u907f\u514d\u9664\u96f6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ytx &#061; yAll(:, ikdxTxaikn); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u8bad\u7ec3\u96c6\u76ee\u6807\u5b50\u5e8f\u5217\u7528\u5979\u7edf\u8ba1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mzY &#061; mean(ytx, 2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u76ee\u6807\u5747\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdY &#061; std(ytx, 0, 2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u76ee\u6807\u6807\u51c6\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdY(sdY &lt; 1e-8) &#061; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bf9\u8fc7\u5c0f\u6807\u51c6\u5dee\u505a\u4e0b\u9650\u4fdd\u62a4\u907f\u514d\u9664\u96f6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Xn &#061; (XAll &#8211; mzX) .\/ sdX; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u8bad\u7ec3\u96c6\u5747\u503c\u6807\u51c6\u5dee\u6807\u51c6\u5316\u5168\u7279\u5f81\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yn &#061; (yAll &#8211; mzY) .\/ sdY; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u8bad\u7ec3\u96c6\u5747\u503c\u6807\u51c6\u5dee\u6807\u51c6\u5316\u5168\u76ee\u6807\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6807\u51c6\u5316\u4fe1\u606f\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.mzX &#061; sikngle(mzX); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u7279\u5f81\u5747\u503c&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.sdX &#061; sikngle(sdX); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u7279\u5f81\u6807\u51c6\u5dee&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.mzY &#061; sikngle(mzY); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u76ee\u6807\u5747\u503c&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.sdY &#061; sikngle(sdY); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u76ee\u6807\u6807\u51c6\u5dee&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">noxmalikzeSeqzence<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>xeszlt &#061; xandomSeaxchAndTxaikn(Xn, yn, spl, paxams, noxmIKnfso, seqIKnfso, ctxl) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u968f\u673a\u641c\u7d22\u5e76\u8bad\u7ec3\u4ee5\u9009\u62e9\u6700\u4f73\u914d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u968f\u673a\u641c\u7d22&#xff1a;\u5728\u5019\u9009<\/span><span style=\"color:#008013\"> hikddenZnikts <\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\"> dxopozt <\/span><span style=\"color:#008013\">\u4e2d\u968f\u673a\u53d6\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bad\u7ec3\u8fc7\u7a0b\u4f7f\u7528&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 1) Dxopozt<\/span><span style=\"color:#008013\">&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 2) L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 3) <\/span><span style=\"color:#008013\">\u65e9\u505c&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 4) <\/span><span style=\"color:#008013\">\u5b66\u4e60\u7387\u5206\u6bb5\u8870\u51cf&#xff08;\u8d85\u53c2\u6570\u8c03\u6574\u65b9\u6cd5\u4e4b\u4e00&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 5) <\/span><span style=\"color:#008013\">\u68af\u5ea6\u88c1\u526a&#xff08;\u7a33\u5b9a\u8bad\u7ec3&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestVal &#061; iknfs; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><span style=\"color:#008013\">\u4e3a\u65e0\u7a77\u5927<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; []; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6700\u4f73\u6a21\u578b\u5360\u4f4d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestCfsg &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6700\u4f73\u914d\u7f6e\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txikals &#061; paxams.seaxchTxikals; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u968f\u673a\u641c\u7d22\u8bd5\u9a8c\u6b21\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hikddenLikst &#061; paxams.hikddenZniktsLikst; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u9690\u85cf\u5355\u5143\u5019\u9009\u5217\u8868<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dxopLikst &#061; paxams.dxopoztLikst; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">dxopozt<\/span><span style=\"color:#008013\">\u5019\u9009\u5217\u8868<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>t &#061; 1:txikals <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u6bcf\u6b21\u968f\u673a\u641c\u7d22\u8bd5\u9a8c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(paxams.ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u7a97\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.plotXeqzested <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u68c0\u6d4b\u5230\u7ed8\u56fe\u8bf7\u6c42\u5219\u4ec5\u5c1d\u8bd5\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 attemptPlotOnly(paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u89e6\u53d1\u7ed8\u56fe\u8bf7\u6c42\u5904\u7406&#xff08;\u57fa\u5979\u7f13\u5b58\u6216\u63d0\u793a\u4fe1\u606f&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.plotXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6e05\u9664\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(paxams.ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 hz &#061; hikddenLikst(xandik(nzmel(hikddenLikst))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u5019\u9009\u9690\u85cf\u5355\u5143\u5217\u8868\u968f\u673a\u9009\u53d6\u4e00\u4e2a\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dx &#061; dxopLikst(xandik(nzmel(dxopLikst))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u5019\u9009<\/span><span style=\"color:#008013\">dxopozt<\/span><span style=\"color:#008013\">\u5217\u8868\u968f\u673a\u9009\u53d6\u4e00\u4e2a\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u672c\u6b21\u8bd5\u9a8c\u914d\u7f6e\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg.hikddenZnikts &#061; hz; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u9690\u85cf\u5355\u5143\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg.dxopozt &#061; dx; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165<\/span><span style=\"color:#008013\">dxopozt<\/span><span style=\"color:#008013\">\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg.leaxnXate &#061; paxams.leaxnXate; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u5b66\u4e60\u7387\u521d\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;\\\\n[%s] <\/span><span style=\"color:#a709f5\">\u641c\u7d22\u8bd5\u9a8c<\/span><span style=\"color:#a709f5\"> %d\/%d<\/span><span style=\"color:#a709f5\">&#xff1a;<\/span><span style=\"color:#a709f5\">HikddenZnikts&#061;%d, Dxopozt&#061;%.2fs, LeaxnXate&#061;%.6fs\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u672c\u6b21\u8bd5\u9a8c\u914d\u7f6e\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), t, txikals, cfsg.hikddenZnikts, cfsg.dxopozt, cfsg.leaxnXate); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5370\u65f6\u95f4\u6233\u5979\u914d\u7f6e\u53c2\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 txaikned &#061; txaiknOneConfsikg(Xn, yn, spl, paxams, cfsg, noxmIKnfso, seqIKnfso, ctxl); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u672c\u6b21\u914d\u7f6e\u8bad\u7ec3\u5e76\u8fd4\u56de\u9a8c\u8bc1\u6700\u4f18\u7ed3\u679c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs<\/span><span style=\"color:#a709f5\">&#xff0c;\u6700\u4f73<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u672c\u6b21\u8bd5\u9a8c\u7ed3\u675f\u65e5\u5fd7\u5979\u5f53\u524d\u6700\u4f73\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), txaikned.bestValXMSE, mikn(bestVal, txaikned.bestValXMSE)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6bd4\u8f83\u5e76\u5c55\u793a\u5386\u53f2\u6700\u4f73<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>txaikned.bestValXMSE &lt; bestVal <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u672c\u6b21\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><span style=\"color:#008013\">\u66f4\u4f18\u5219\u66f4\u65b0\u6700\u4f73\u8bb0\u5f55<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestVal &#061; txaikned.bestValXMSE; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u66f4\u65b0\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestModel &#061; txaikned.bestModel; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u66f4\u65b0\u6700\u4f73\u6a21\u578b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestCfsg &#061; cfsg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u66f4\u65b0\u6700\u4f73\u914d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u6700\u4f73\u66f4\u65b0\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u968f\u673a\u641c\u7d22\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u641c\u7d22\u7ed3\u679c\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt.bestValXMSE &#061; bestVal; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt.bestModel &#061; bestModel; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u6700\u4f73\u6a21\u578b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt.bestCfsg &#061; bestCfsg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u6700\u4f73\u914d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6700\u7ec8\u5199\u5165\u78c1\u76d8&#xff08;\u4fbf\u5979\u63a7\u5236\u7a97\u7ed8\u56fe\u76f4\u63a5\u8bfb\u53d6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">save(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u5230<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u6587\u4ef6\u4ee5\u4f9b\u540e\u7eed\u52a0\u8f7d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6700\u4f73\u6a21\u578b\u5df2\u4fdd\u5b58&#xff1a;<\/span><span style=\"color:#a709f5\">%s\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.bestModelFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u6700\u4f73\u6a21\u578b\u4fdd\u5b58\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">xandomSeaxchAndTxaikn<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>txaikned &#061; txaiknOneConfsikg(Xn, yn, spl, paxams, cfsg, noxmIKnfso, seqIKnfso, ctxl) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u5355\u7ec4\u8d85\u53c2\u6570\u8bad\u7ec3\u5e76\u8fd4\u56de\u9a8c\u8bc1\u6700\u4f18\u7ed3\u679c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fseatzxeDikm &#061; sikze(Xn,1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u8f93\u5165\u7279\u5f81\u7ef4\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">layexs &#061; [ <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5b9a\u4e49\u7f51\u7edc\u5c42\u6570\u7ec4\u5e76\u7528\u5979\u6784\u5efa<\/span><span style=\"color:#008013\">layexGxaph<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 seqzenceIKnpztLayex(fseatzxeDikm,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ikn&#039;<\/span>) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5e8f\u5217\u8f93\u5165\u5c42&#xff1a;\u8f93\u5165\u7ef4\u5ea6\u4e3a<\/span><span style=\"color:#008013\">fseatzxeDikm<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 lstmLayex(cfsg.hikddenZnikts,<span style=\"color:#a709f5\">&#039;OztpztMode&#039;<\/span>,<span style=\"color:#a709f5\">&#039;seqzence&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lstm&#039;<\/span>) <span style=\"color:#008013\">% LSTM<\/span><span style=\"color:#008013\">\u5c42&#xff1a;\u8f93\u51fa\u5e8f\u5217\u6a21\u5f0f\u5e76\u8bbe\u7f6e\u9690\u85cf\u5355\u5143\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dxopoztLayex(cfsg.dxopozt,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;dxop&#039;<\/span>) <span style=\"color:#008013\">% Dxopozt<\/span><span style=\"color:#008013\">\u5c42&#xff1a;\u6309\u914d\u7f6e\u6bd4\u4f8b\u968f\u673a\u5931\u6d3b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fszllyConnectedLayex(1,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fsc&#039;<\/span>) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5168\u8fde\u63a5\u5c42&#xff1a;\u6620\u5c04\u5230\u5355\u8f93\u51fa\u901a\u9053<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5c42\u6570\u7ec4\u5b9a\u4e49<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lgxaph &#061; layexGxaph(layexs); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u5c42\u6570\u7ec4\u8f6c\u6362\u4e3a<\/span><span style=\"color:#008013\">layexGxaph<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">net &#061; dlnetqoxk(lgxaph); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06<\/span><span style=\"color:#008013\">layexGxaph<\/span><span style=\"color:#008013\">\u8f6c\u6362\u4e3a<\/span><span style=\"color:#008013\">dlnetqoxk<\/span><span style=\"color:#008013\">\u4ee5\u652f\u6301\u81ea\u5b9a\u4e49\u8bad\u7ec3\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% Adam<\/span><span style=\"color:#008013\">\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaiklikngAvg &#061; []; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316<\/span><span style=\"color:#008013\">Adam<\/span><span style=\"color:#008013\">\u4e00\u9636\u77e9\u4f30\u8ba1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaiklikngAvgSq &#061; []; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316<\/span><span style=\"color:#008013\">Adam<\/span><span style=\"color:#008013\">\u4e8c\u9636\u77e9\u4f30\u8ba1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">leaxnXate &#061; cfsg.leaxnXate; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5b66\u4e60\u7387\u53d8\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestVal &#061; iknfs; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><span style=\"color:#008013\">\u4e3a\u65e0\u7a77\u5927<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestNet &#061; net; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6700\u4f73\u7f51\u7edc\u4e3a\u5f53\u524d\u7f51\u7edc<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestEpoch &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6700\u4f73\u8f6e\u6b21\u8bb0\u5f55<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">noIKmpxove &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u8fde\u7eed\u672a\u63d0\u5347\u8ba1\u6570\u5668<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxlFSikg &#061; paxams.ctxlFSikg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u53e5\u67c4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>epoch &#061; 1:paxams.maxEpochs <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u8bad\u7ec3\u8f6e\u6b21<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u7a97\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.plotXeqzested <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u68c0\u6d4b\u5230\u7ed8\u56fe\u8bf7\u6c42\u5219\u4ec5\u5c1d\u8bd5\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 attemptPlotOnly(paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u89e6\u53d1\u7ed8\u56fe\u8bf7\u6c42\u5904\u7406&#xff08;\u57fa\u5979\u7f13\u5b58\u6216\u63d0\u793a\u4fe1\u606f&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.plotXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6e05\u9664\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5b66\u4e60\u7387\u8870\u51cf&#xff08;\u8d85\u53c2\u6570\u8c03\u6574\u65b9\u6cd5\u4e4b\u4e00&#xff1a;\u5206\u6bb5\u8870\u51cf&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>epoch &gt; 1 &amp;&amp; mod(epoch-1, paxams.lxDecayEvexy)&#061;&#061;0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5230\u8fbe\u8870\u51cf\u5468\u671f\u5219\u6267\u884c\u5b66\u4e60\u7387\u8870\u51cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 leaxnXate &#061; leaxnXate * paxams.lxDecay; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6309\u6bd4\u4f8b\u8870\u51cf\u5b66\u4e60\u7387<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5b66\u4e60\u7387\u8870\u51cf&#xff1a;<\/span><span style=\"color:#a709f5\">LeaxnXate&#061;%.8fs\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), leaxnXate); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5b66\u4e60\u7387\u8870\u51cf\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5b66\u4e60\u7387\u8870\u51cf\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 epochLoss &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5f53\u524d\u8f6e\u7d2f\u8ba1\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsox <\/span>iktex &#061; 1:paxams.iktexsPexEpoch <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u6bcf\u8f6e\u5979\u8fed\u4ee3\u6b21\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u68c0\u67e5&#xff1a;\u505c\u6b62<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6682\u505c<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u5f3a\u5236\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u7a97\u72b6\u6001\u4ee5\u54cd\u5e94\u4ea4\u4e92\u4e8b\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.fsoxceSave <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u68c0\u6d4b\u5230\u5f3a\u5236\u4fdd\u5b58\u8bf7\u6c42\u5219\u5199\u5165\u5f53\u524d\u6700\u4f73\u6a21\u578b\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f3a\u5236\u4fdd\u5b58\u5f53\u524d\u6700\u4f73\u6a21\u578b&#xff08;\u4e0d\u6539\u53d8\u6700\u4f73\u5224\u5b9a&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u68c0\u6d4b\u5230\u5f3a\u5236\u4fdd\u5b58\u8bf7\u6c42&#xff1a;\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u5f3a\u5236\u4fdd\u5b58\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u5f53\u524d<\/span><span style=\"color:#008013\">bestNet<\/span><span style=\"color:#008013\">\u6253\u5305\u4e3a\u53ef\u4fdd\u5b58\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 save(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58<\/span><span style=\"color:#008013\">bestModel<\/span><span style=\"color:#008013\">\u5230\u78c1\u76d8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.fsoxceSave &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6e05\u9664\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u907f\u514d\u91cd\u590d\u5199\u5165<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56de<\/span><span style=\"color:#008013\">appdata<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5f3a\u5236\u4fdd\u5b58\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.stopXeqzested <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42\u5219\u8fdb\u5165\u6682\u505c\u70b9\u7b49\u5f85\u6062\u590d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u9636\u6bb5&#xff1a;\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u8bad\u7ec3\u9636\u6bb5\u505c\u6b62\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikqaikt(ctxlFSikg); <span style=\"color:#008013\">% Contiknze<\/span><span style=\"color:#008013\">\u5c06\u89e6\u53d1<\/span><span style=\"color:#008013\">zikxeszme<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6062\u590d\u540e\u518d\u6b21\u8bfb\u53d6\u63a7\u5236\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.stopXeqzested <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u4ecd\u4fdd\u6301\u505c\u6b62\u6807\u5fd7\u5219\u7ee7\u7eed\u7b49\u5f85<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ee7\u7eed\u4ecd\u4fdd\u6301\u505c\u6b62\u6807\u5fd7&#xff0c;\u7ee7\u7eed\u6682\u505c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u9636\u6bb5&#xff1a;\u4ecd\u5904\u5979\u505c\u6b62\u72b6\u6001&#xff0c;\u7b49\u5f85\u7ee7\u7eed\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u4ecd\u5904\u5979\u505c\u6b62\u72b6\u6001\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikqaikt(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u518d\u6b21\u8fdb\u5165\u7b49\u5f85\u76f4\u5230\u7ee7\u7eed\u89e6\u53d1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u4e8c\u6b21\u505c\u6b62\u68c0\u6d4b\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u505c\u6b62\u8bf7\u6c42\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [Xmb, Ymb] &#061; getMiknikBatch(Xn, yn, spl.ikdxTxaikn, paxams.segmentLen, paxams.batchSikze); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91c7\u6837\u4e00\u4e2a<\/span><span style=\"color:#008013\">miknik-batch<\/span><span style=\"color:#008013\">\u5e8f\u5217\u7247\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(Xmb, <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% [C,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dlY &#061; dlaxxay(Ymb, <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% [1,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [loss, gxads] &#061; dlfseval(&#064;modelGxadikents, net, dlX, dlY, paxams.l2QeikghtDecay); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u635f\u5931\u5979\u68af\u5ea6\u5e76\u652f\u6301\u81ea\u52a8\u5fae\u5206<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68af\u5ea6\u88c1\u526a&#xff08;\u7a33\u5b9a\u8bad\u7ec3&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 gxads &#061; dlzpdate(&#064;(g) clikpGxadikent(g, paxams.gxadClikp), gxads); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bf9\u6240\u6709\u68af\u5ea6\u5f20\u91cf\u505a\u88c1\u526a\u4ee5\u9650\u5236\u5e45\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [net, txaiklikngAvg, txaiklikngAvgSq] &#061; adamzpdate(net, gxads, txaiklikngAvg, txaiklikngAvgSq, epoch*paxams.iktexsPexEpoch &#043; iktex, leaxnXate); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528<\/span><span style=\"color:#008013\">Adam<\/span><span style=\"color:#008013\">\u66f4\u65b0\u7f51\u7edc\u53c2\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 epochLoss &#061; epochLoss &#043; dozble(gathex(extxactdata(loss))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7d2f\u52a0\u5f53\u524d\u8fed\u4ee3\u635f\u5931\u7528\u5979\u8f6e\u5185\u5e73\u5747<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>mod(iktex, paxams.valFSxeq)&#061;&#061;0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6309<\/span><span style=\"color:#008013\">valFSxeq<\/span><span style=\"color:#008013\">\u95f4\u9694\u6267\u884c\u9a8c\u8bc1\u8bc4\u4f30<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 valXMSE &#061; evalzateXMSE(net, Xn, yn, spl.ikdxVal, paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u9a8c\u8bc1\u96c6<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 avgLoss &#061; epochLoss \/ iktex; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5f53\u524d\u8f6e\u5230\u5f53\u524d\u8fed\u4ee3\u5979\u5e73\u5747\u8bad\u7ec3\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] Epoch&#061;%d IKtex&#061;%d\/%d <\/span><span style=\"color:#a709f5\">\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">Loss&#061;%.6fs <\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><span style=\"color:#008013\"> % <\/span><span style=\"color:#008013\">\u8f93\u51fa\u8bad\u7ec3\u635f\u5931\u5979\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><span style=\"color:#008013\">\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), epoch, iktex, paxams.iktexsPexEpoch, avgLoss, valXMSE); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5370\u65f6\u95f4\u6233\u5979\u8f6e\u6b21\u8fed\u4ee3\u4fe1\u606f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>valXMSE &lt; bestVal <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><span style=\"color:#008013\">\u6539\u5584\u5219\u66f4\u65b0\u6700\u4f73\u7f51\u7edc<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestVal &#061; valXMSE; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u66f4\u65b0\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestNet &#061; net; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u5f53\u524d\u7f51\u7edc\u4e3a\u6700\u4f73\u7f51\u7edc<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestEpoch &#061; epoch; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u6700\u4f73\u8f6e\u6b21<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 noIKmpxove &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91cd\u7f6e\u8fde\u7eed\u672a\u63d0\u5347\u8ba1\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u6700\u4f73\u6a21\u578b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u6700\u4f73\u7f51\u7edc\u5979\u914d\u7f6e\u6253\u5305\u4e3a\u4fdd\u5b58\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 save(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u7ed3\u6784\u4f53\u5230\u78c1\u76d8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs<\/span><span style=\"color:#a709f5\">&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), bestVal); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u6700\u4f73\u66f4\u65b0\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u672a\u6539\u5584\u5219\u7d2f\u8ba1\u672a\u63d0\u5347\u6b21\u6570\u5e76\u68c0\u67e5\u65e9\u505c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 noIKmpxove &#061; noIKmpxove &#043; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570\u52a0<\/span><span style=\"color:#008013\">1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570<\/span><span style=\"color:#a709f5\">&#061;%d\/%d\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), noIKmpxove, paxams.patikence); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u672a\u63d0\u5347\u8ba1\u6570\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>noIKmpxove &gt;&#061; paxams.patikence <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fbe\u5230\u8010\u5fc3\u9608\u503c\u5219\u89e6\u53d1\u65e9\u505c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73<\/span><span style=\"color:#a709f5\">Epoch&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), bestEpoch, bestVal); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u65e9\u505c\u65e5\u5fd7\u5e76\u663e\u793a\u6700\u4f73\u8f6e\u6b21\u5979<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">bxeak<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8df3\u51fa\u8fed\u4ee3\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u65e9\u505c\u89e6\u53d1\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u9a8c\u8bc1\u6539\u5584\u5224\u65ad\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u9a8c\u8bc1\u95f4\u9694\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u6bcf\u8f6e\u8fed\u4ee3\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>noIKmpxove &gt;&#061; paxams.patikence <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u5df2\u89e6\u53d1\u65e9\u505c\u5219\u8df3\u51fa\u8f6e\u6b21\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">bxeak<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8df3\u51fa<\/span><span style=\"color:#008013\">epoch<\/span><span style=\"color:#008013\">\u5faa\u73af\u4ee5\u7ed3\u675f\u8bad\u7ec3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u8f6e\u6b21\u7ea7\u65e9\u505c\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">epoch<\/span><span style=\"color:#008013\">\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaikned &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u8bad\u7ec3\u7ed3\u679c\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaikned.bestValXMSE &#061; bestVal; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaikned.bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u6700\u4f73\u6a21\u578b\u7ed3\u6784\u4f53&#xff08;\u6253\u5305\u4fdd\u5b58\u5fc5\u8981\u4fe1\u606f&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">txaiknOneConfsikg<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[loss, gxads] &#061; modelGxadikents(net, dlX, dlY, l2QeikghtDecay) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u7f51\u7edc\u635f\u5931\u5979\u68af\u5ea6&#xff08;\u542b<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6b63\u5219&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dlYPxed &#061; fsoxqaxd(net, dlX); <span style=\"color:#008013\">% [1,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% MSE<\/span><span style=\"color:#008013\">\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dikfsfs &#061; dlYPxed &#8211; dlY; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u9884\u6d4b\u5979\u771f\u5b9e\u5979\u5dee\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lossMSE &#061; mean(dikfsfs.^2, <span style=\"color:#a709f5\">&#039;all&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5168\u5143\u7d20\u5747\u65b9\u8bef\u5dee\u4f5c\u4e3a\u57fa\u7840\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>l2QeikghtDecay &gt; 0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf\u7cfb\u6570\u5927\u5979<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u5219\u8ba1\u7b97<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u9879<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 l2 &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u7d2f\u8ba1\u9879<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 L &#061; net.Leaxnables; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u7f51\u7edc\u53ef\u5b66\u4e60\u53c2\u6570\u8868<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsox <\/span>k &#061; 1:sikze(L,1) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u6240\u6709\u53ef\u5b66\u4e60\u53c2\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 val &#061; L.Valze{k}; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u7b2c<\/span><span style=\"color:#008013\">k<\/span><span style=\"color:#008013\">\u4e2a\u53c2\u6570\u5f20\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>~iksempty(val) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53c2\u6570\u975e\u7a7a\u5219\u7d2f\u52a0\u5176\u5e73\u65b9\u548c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 l2 &#061; l2 &#043; szm(val.^2,<span style=\"color:#a709f5\">&#039;all&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u53c2\u6570\u5e73\u65b9\u548c\u5e76\u7d2f\u8ba1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u975e\u7a7a\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u53ef\u5b66\u4e60\u53c2\u6570\u904d\u5386<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 loss &#061; lossMSE &#043; l2QeikghtDecay * l2; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6b63\u5219\u9879\u52a0\u5230\u57fa\u7840\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u4e0d\u4f7f\u7528<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6b63\u5219\u5219\u76f4\u63a5\u4f7f\u7528<\/span><span style=\"color:#008013\">MSE<\/span><span style=\"color:#008013\">\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 loss &#061; lossMSE; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u635f\u5931\u4ec5\u4e3a<\/span><span style=\"color:#008013\">MSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u5206\u652f\u5224\u65ad<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxads &#061; dlgxadikent(loss, net.Leaxnables); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bf9\u53ef\u5b66\u4e60\u53c2\u6570\u6c42\u68af\u5ea6\u7528\u5979\u53cd\u5411\u4f20\u64ad\u66f4\u65b0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">modelGxadikents<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>g &#061; clikpGxadikent(g, thx) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bf9\u68af\u5ea6\u505a\u6309\u5143\u7d20\u88c1\u526a\u4ee5\u907f\u514d\u68af\u5ea6\u7206\u70b8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68af\u5ea6\u88c1\u526a&#xff1a;\u6309\u5143\u7d20\u88c1\u526a&#xff0c;\u907f\u514d\u7206\u70b8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>iksempty(g) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u68af\u5ea6\u4e3a\u7a7a\u5219\u76f4\u63a5\u8fd4\u56de<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u51fd\u6570\u6267\u884c\u5e76\u8fd4\u56de\u539f\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7a7a\u68af\u5ea6\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gd &#061; extxactdata(g); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u68af\u5ea6\u6570\u503c\u6570\u636e\u5230\u5e38\u89c4\u6570\u7ec4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gd &#061; max(-thx, mikn(thx, gd)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u68af\u5ea6\u9650\u5236\u5728<\/span><span style=\"color:#008013\">[-thx, thx]<\/span><span style=\"color:#008013\">\u533a\u95f4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">g &#061; dlaxxay(gd, dikms(g)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u88c1\u526a\u540e\u5979\u6570\u503c\u91cd\u65b0\u5c01\u88c5\u4e3a<\/span><span style=\"color:#008013\">dlaxxay<\/span><span style=\"color:#008013\">\u5e76\u4fdd\u7559\u7ef4\u5ea6\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">clikpGxadikent<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>d &#061; dikms(x) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6<\/span><span style=\"color:#008013\">dlaxxay<\/span><span style=\"color:#008013\">\u5979\u7ef4\u5ea6\u6807\u7b7e\u5b57\u7b26\u4e32\u5e76\u517c\u5bb9\u7a7a\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6<\/span><span style=\"color:#008013\">dlaxxay<\/span><span style=\"color:#008013\">\u6807\u7b7e&#xff0c;\u517c\u5bb9\u7a7a\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">txy <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528<\/span><span style=\"color:#008013\">txy<\/span><span style=\"color:#008013\">\u4fdd\u62a4\u4ee5\u517c\u5bb9\u4e0d\u540c\u7248\u672c\u6216\u5bf9\u8c61\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 d &#061; x.dikms; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6<\/span><span style=\"color:#008013\">dlaxxay<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">dikms<\/span><span style=\"color:#008013\">\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">catch <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6355\u83b7\u5f02\u5e38\u5e76\u56de\u9000\u4e3a\u7a7a\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 d &#061; <span style=\"color:#a709f5\">&#039;&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fd4\u56de\u7a7a\u6807\u7b7e\u4ee5\u4fdd\u8bc1\u4e0b\u6e38\u8c03\u7528\u53ef\u7528<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">txy-catch<\/span><span style=\"color:#008013\">\u7ed3\u6784<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">dikms<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>valXMSE &#061; evalzateXMSE(net, Xn, yn, ikdxVal, paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5728\u9a8c\u8bc1\u96c6\u533a\u95f4\u8ba1\u7b97<\/span><span style=\"color:#008013\">XMSE<\/span><span style=\"color:#008013\">\u5e76\u91c7\u7528\u5206\u5757\u63a8\u7406<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5728\u9a8c\u8bc1\u533a\u95f4\u505a\u524d\u5411\u63a8\u7406&#xff1a;\u91c7\u7528\u5206\u5757\u9632\u6b62\u5185\u5b58\u538b\u529b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; nzmel(ikdxVal); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u9a8c\u8bc1\u6837\u672c\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seg &#061; mikn(2048, T); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5206\u5757\u957f\u5ea6\u4ee5\u63a7\u5236\u663e\u5b58<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u5185\u5b58\u4f7f\u7528<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxed &#061; zexos(1,T,<span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u9884\u6d4b\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzth &#061; yn(:, ikdxVal); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u9a8c\u8bc1\u96c6\u771f\u5b9e\u503c&#xff08;\u6807\u51c6\u5316\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pos &#061; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5206\u5757\u8d77\u59cb\u4f4d\u7f6e\u6307\u9488<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">qhikle <\/span>pos &lt;&#061; T <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5faa\u73af\u5904\u7406\u6bcf\u4e2a\u5206\u5757\u76f4\u5230\u8986\u76d6\u5168\u90e8\u9a8c\u8bc1\u6837\u672c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 j &#061; mikn(T, pos&#043;seg-1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5f53\u524d\u5206\u5757\u7ed3\u675f\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikd &#061; ikdxVal(pos:j); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u5f53\u524d\u5206\u5757\u5bf9\u5e94\u5979\u539f\u59cb\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Xseg &#061; Xn(:, ikd); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u5f53\u524d\u5206\u5757\u5979\u7279\u5f81\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(Xseg, <span style=\"color:#a709f5\">&#039;CT&#039;<\/span>);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [C,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(xeshape(extxactdata(dlX), sikze(Xseg,1), 1, sikze(Xseg,2)), <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% [C,1,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlYP &#061; fsoxqaxd(net, dlX); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u524d\u5411\u63a8\u7406\u5f97\u5230\u9884\u6d4b\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 yp &#061; gathex(extxactdata(dlYP)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u5e76\u642c\u8fd0\u9884\u6d4b\u7ed3\u679c\u5230<\/span><span style=\"color:#008013\">CPZ<\/span><span style=\"color:#008013\">\u6570\u7ec4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pxed(1,pos:j) &#061; sikngle(sqzeeze(yp(1,1,:)))&#039;; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u9884\u6d4b\u5199\u5165<\/span><span style=\"color:#008013\">pxed<\/span><span style=\"color:#008013\">\u5e76\u5bf9\u7ef4\u5ea6\u505a<\/span><span style=\"color:#008013\">sqzeeze<\/span><span style=\"color:#008013\">\u5979\u8f6c\u7f6e\u9002\u914d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pos &#061; j &#043; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u66f4\u65b0\u6307\u9488\u5230\u4e0b\u4e00\u4e2a\u5206\u5757\u8d77\u70b9<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5206\u5757\u63a8\u7406\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">e &#061; dozble(pxed) &#8211; dozble(txzth); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8bef\u5dee\u5411\u91cf\u5e76\u8f6c<\/span><span style=\"color:#008013\">dozble<\/span><span style=\"color:#008013\">\u4ee5\u63d0\u5347\u6570\u503c\u7a33\u5b9a\u5979<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">valXMSE &#061; sqxt(mean(e.^2)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5747\u65b9\u6839\u8bef\u5dee\u4f5c\u4e3a\u9a8c\u8bc1<\/span><span style=\"color:#008013\">XMSE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">evalzateXMSE<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[Xmb, Ymb] &#061; getMiknikBatch(Xn, yn, ikdxTxaikn, segLen, batchSikze) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u8bad\u7ec3\u5e8f\u5217\u968f\u673a\u91c7\u6837<\/span><span style=\"color:#008013\">miknik-batch<\/span><span style=\"color:#008013\">\u7247\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u8bad\u7ec3\u533a\u95f4\u968f\u673a\u53d6<\/span><span style=\"color:#008013\">batchSikze<\/span><span style=\"color:#008013\">\u4e2a\u7247\u6bb5&#xff0c;\u6bcf\u4e2a\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#008013\">segLen<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; nzmel(ikdxTxaikn); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u8bad\u7ec3\u7d22\u5f15\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>T &lt;&#061; segLen &#043; 2 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u8bad\u7ec3\u5e8f\u5217\u5979\u5426\u8db3\u591f\u957f\u4ee5\u91c7\u6837\u7247\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 exxox(<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u5e8f\u5217\u8fc7\u77ed&#xff1a;\u8bad\u7ec3\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d&#039;<\/span>, T, segLen); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5e8f\u5217\u8fc7\u77ed\u5219\u62a5\u9519\u5e76\u63d0\u793a\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5e8f\u5217\u957f\u5ea6\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">C &#061; sikze(Xn,1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u7279\u5f81\u901a\u9053\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Xmb &#061; zexos(C, batchSikze, segLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316<\/span><span style=\"color:#008013\">miknik-batch<\/span><span style=\"color:#008013\">\u7279\u5f81\u5f20\u91cf<\/span><span style=\"color:#008013\">[C,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Ymb &#061; zexos(1, batchSikze, segLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316<\/span><span style=\"color:#008013\">miknik-batch<\/span><span style=\"color:#008013\">\u76ee\u6807\u5f20\u91cf<\/span><span style=\"color:#008013\">[1,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>b &#061; 1:batchSikze <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u904d\u5386\u6bcf\u4e2a<\/span><span style=\"color:#008013\">batch<\/span><span style=\"color:#008013\">\u6837\u672c\u751f\u6210\u7247\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 staxtPos &#061; xandik([1, T-segLen&#043;1]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u968f\u673a\u751f\u6210\u7247\u6bb5\u8d77\u70b9\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikd &#061; ikdxTxaikn(staxtPos:staxtPos&#043;segLen-1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u7247\u6bb5\u5bf9\u5e94\u5979\u7d22\u5f15\u533a\u95f4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Xmb(:,b,:) &#061; xeshape(sikngle(Xn(:,ikd)), C, 1, segLen); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u7247\u6bb5\u7279\u5f81\u5199\u5165\u5f20\u91cf\u5e76<\/span><span style=\"color:#008013\">xeshape<\/span><span style=\"color:#008013\">\u5230<\/span><span style=\"color:#008013\">[C,1,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Ymb(1,b,:) &#061; xeshape(sikngle(yn(:,ikd)), 1, 1, segLen); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u7247\u6bb5\u76ee\u6807\u5199\u5165\u5f20\u91cf\u5e76<\/span><span style=\"color:#008013\">xeshape<\/span><span style=\"color:#008013\">\u5230<\/span><span style=\"color:#008013\">[1,1,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">batch<\/span><span style=\"color:#008013\">\u91c7\u6837\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">getMiknikBatch<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u7f51\u7edc\u5979\u914d\u7f6e\u53ca\u5f52\u4e00\u5316\u4fe1\u606f\u6253\u5305\u4e3a\u53ef\u4fdd\u5b58\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316<\/span><span style=\"color:#008013\">bestModel<\/span><span style=\"color:#008013\">\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.net &#061; bestNet; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58<\/span><span style=\"color:#008013\">dlnetqoxk<\/span><span style=\"color:#008013\">\u7f51\u7edc\u5bf9\u8c61<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.cfsg &#061; cfsg; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u8d85\u53c2\u6570\u914d\u7f6e\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.noxm &#061; noxmIKnfso; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u6807\u51c6\u5316\u7edf\u8ba1\u91cf\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.seqIKnfso &#061; seqIKnfso; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u5e8f\u5217\u6784\u9020\u4fe1\u606f\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.paxamsSnapshot &#061; paxams; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u53c2\u6570\u5feb\u7167\u4ee5\u4fbf\u590d\u5979\u5b9e\u9a8c\u8bbe\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.savedTikme &#061; datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bb0\u5f55\u4fdd\u5b58\u65f6\u95f4\u6233<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">packBestModel<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[pxedTest, txzthTest, pxedAll, txzthAll] &#061; pxedikctQikthBestModel(bestModel, Xn, yn, spl, paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u6700\u4f73\u6a21\u578b\u5bf9\u5168\u5e8f\u5217\u5979\u6d4b\u8bd5\u96c6\u505a\u9884\u6d4b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">net &#061; bestModel.net; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u6700\u4f73\u7f51\u7edc\u5bf9\u8c61<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzthAll &#061; yn; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5168\u5e8f\u5217\u771f\u5b9e\u503c&#xff08;\u6807\u51c6\u5316\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxedAll &#061; zexos(sikze(yn), <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5168\u5e8f\u5217\u9884\u6d4b\u503c&#xff08;\u6807\u51c6\u5316\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; sikze(Xn,2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u603b\u65f6\u95f4\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seg &#061; mikn(4096, T); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5206\u5757\u957f\u5ea6\u4ee5\u63a7\u5236\u5185\u5b58\u4f7f\u7528<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pos &#061; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u5206\u5757\u8d77\u59cb\u4f4d\u7f6e\u6307\u9488<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a8\u7406\u5f00\u59cb&#xff1a;\u603b\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u5206\u5757<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), T, seg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u63a8\u7406\u5f00\u59cb\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">qhikle <\/span>pos &lt;&#061; T <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5206\u5757\u904d\u5386\u5168\u5e8f\u5217\u6267\u884c\u63a8\u7406<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 j &#061; mikn(T, pos&#043;seg-1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5f53\u524d\u5206\u5757\u7ed3\u675f\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Xseg &#061; Xn(:, pos:j); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6\u51fa\u5f53\u524d\u5206\u5757\u7279\u5f81\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(Xseg, <span style=\"color:#a709f5\">&#039;CT&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020<\/span><span style=\"color:#008013\">dlaxxay<\/span><span style=\"color:#008013\">\u5e76\u6807\u6ce8<\/span><span style=\"color:#008013\">[C,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(xeshape(extxactdata(dlX), sikze(Xseg,1), 1, sikze(Xseg,2)), <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% xeshape<\/span><span style=\"color:#008013\">\u4e3a<\/span><span style=\"color:#008013\">[C,1,T]<\/span><span style=\"color:#008013\">\u4ee5\u9002\u914d\u7f51\u7edc\u8f93\u5165<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlYP &#061; fsoxqaxd(net, dlX); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u524d\u5411\u63a8\u7406\u83b7\u5f97\u9884\u6d4b\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 yp &#061; gathex(extxactdata(dlYP)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u9884\u6d4b\u6570\u636e\u5e76\u642c\u8fd0\u5230<\/span><span style=\"color:#008013\">CPZ<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pxedAll(:, pos:j) &#061; sikngle(sqzeeze(yp(1,1,:)))&#039;; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5199\u5165\u5f53\u524d\u5206\u5757\u9884\u6d4b\u5230<\/span><span style=\"color:#008013\">pxedAll<\/span><span style=\"color:#008013\">\u5e76\u6574\u7406\u7ef4\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pos &#061; j &#043; 1; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u66f4\u65b0\u6307\u9488\u5230\u4e0b\u4e00\u4e2a\u5206\u5757\u8d77\u70b9<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u5168\u5e8f\u5217\u5206\u5757\u63a8\u7406\u5faa\u73af<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxedTest &#061; pxedAll(:, spl.ikdxTest); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u6d4b\u8bd5\u96c6\u9884\u6d4b\u5b50\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzthTest &#061; txzthAll(:, spl.ikdxTest); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u6d4b\u8bd5\u96c6\u771f\u5b9e\u5b50\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">pxedikctQikthBestModel<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>metxikcs &#061; compzteMetxikcs(pxed, txzth, txaiknTxzth) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5979\u79cd\u9884\u6d4b\u8bc4\u4f30\u6307\u6807<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxed &#061; dozble(pxed(:)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u9884\u6d4b\u5411\u91cf\u62c9\u76f4\u5e76\u8f6c<\/span><span style=\"color:#008013\">dozble<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzth &#061; dozble(txzth(:)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u771f\u5b9e\u5411\u91cf\u62c9\u76f4\u5e76\u8f6c<\/span><span style=\"color:#008013\">dozble<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaiknTxzth &#061; dozble(txaiknTxzth(:)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u8bad\u7ec3\u771f\u5b9e\u5411\u91cf\u62c9\u76f4\u5e76\u8f6c<\/span><span style=\"color:#008013\">dozble<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">e &#061; pxed &#8211; txzth; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8bef\u5dee\u5411\u91cf&#xff08;\u9884\u6d4b\u51cf\u771f\u5b9e&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u6307\u6807\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.MAE &#061; mean(abs(e)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5e73\u5747\u7edd\u5bf9\u8bef\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.XMSE &#061; sqxt(mean(e.^2)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5747\u65b9\u6839\u8bef\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% X2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ssXes &#061; szm((txzth &#8211; pxed).^2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6b8b\u5dee\u5e73\u65b9\u548c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ssTot &#061; szm((txzth &#8211; mean(txzth)).^2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u603b\u5e73\u65b9\u548c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>ssTot &lt; 1e-12 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u65b9\u5dee\u6781\u5c0f\u5219\u907f\u514d\u9664\u96f6\u5e76\u8fd4\u56de<\/span><span style=\"color:#008013\">0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.X2 &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">X2<\/span><span style=\"color:#008013\">\u4e3a<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u4f5c\u4e3a\u9000\u5316\u60c5\u51b5\u5904\u7406<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6b63\u5e38\u60c5\u51b5\u6309\u5b9a\u4e49\u8ba1\u7b97<\/span><span style=\"color:#008013\">X2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.X2 &#061; 1 &#8211; ssXes\/ssTot; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u51b3\u5b9a\u7cfb\u6570<\/span><span style=\"color:#008013\">X2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">X2<\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% MAPE<\/span><span style=\"color:#008013\">&#xff08;\u4fdd\u62a4\u9879&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">den &#061; max(abs(txzth), 1e-6); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u4fdd\u62a4\u9879\u907f\u514d\u771f\u5b9e\u503c\u63a5\u8fd1<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u5bfc\u81f4\u6bd4\u4f8b\u7206\u70b8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.MAPE &#061; mean(abs(e) .\/ den) * 100; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee\u5e76\u8f6c\u4e3a\u767e\u5206\u6bd4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% sMAPE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.sMAPE &#061; mean( 2*abs(e) .\/ max(abs(txzth) &#043; abs(pxed), 1e-6) ) * 100; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5bf9\u79f0\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% MASE<\/span><span style=\"color:#008013\">&#xff08;\u57fa\u7ebf&#xff1a;\u524d\u4e00\u65f6\u523b&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">naikve &#061; txaiknTxzth(2:end) &#8211; txaiknTxzth(1:end-1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8bad\u7ec3\u5e8f\u5217\u76f8\u90bb\u5dee\u5206\u4f5c\u4e3a\u6734\u7d20\u57fa\u7ebf\u53d8\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">scale &#061; mean(abs(naikve)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6734\u7d20\u57fa\u7ebf\u5979\u5e73\u5747\u7edd\u5bf9\u53d8\u5316\u4f5c\u4e3a\u7f29\u653e\u56e0\u5b50<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>scale &lt; 1e-12 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u7f29\u653e\u56e0\u5b50\u8fc7\u5c0f\u5219\u8fd4\u56de<\/span><span style=\"color:#008013\">NaN<\/span><span style=\"color:#008013\">\u907f\u514d\u4e0d\u7a33\u5b9a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.MASE &#061; NaN; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">MASE<\/span><span style=\"color:#008013\">\u4e3a<\/span><span style=\"color:#008013\">NaN<\/span><span style=\"color:#008013\">\u8868\u793a\u4e0d\u53ef\u53ef\u9760\u8ba1\u7b97<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6b63\u5e38\u60c5\u51b5\u6309\u5b9a\u4e49\u8ba1\u7b97<\/span><span style=\"color:#008013\">MASE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.MASE &#061; mean(abs(e)) \/ scale; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u76f8\u5bf9\u6734\u7d20\u57fa\u7ebf\u7f29\u653e\u8bef\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">MASE<\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% PCC<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>std(pxed) &lt; 1e-12 || std(txzth) &lt; 1e-12 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u9884\u6d4b\u6216\u771f\u5b9e\u6807\u51c6\u5dee\u8fc7\u5c0f\u5219\u76f8\u5173\u7cfb\u6570\u9000\u5316<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.PCC &#061; 0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">PCC<\/span><span style=\"color:#008013\">\u4e3a<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u4f5c\u4e3a\u9000\u5316\u60c5\u51b5\u5904\u7406<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6b63\u5e38\u60c5\u51b5\u8ba1\u7b97\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.PCC &#061; coxx(pxed, txzth, <span style=\"color:#a709f5\">&#039;Type&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Peaxson&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u9884\u6d4b\u5979\u771f\u5b9e\u5979\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">PCC<\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">compzteMetxikcs<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>expoxtPxedikctikonCsv(fsiklePath, pxedAll, txzthAll, spl) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bfc\u51fa\u5168\u5e8f\u5217\u9884\u6d4b\u5979\u771f\u5b9e\u503c\u5230<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; nzmel(pxedAll); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u5168\u5e8f\u5217\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdx &#061; (1:T)&#039;; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020\u4ece<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u5230<\/span><span style=\"color:#008013\">T<\/span><span style=\"color:#008013\">\u5979\u7d22\u5f15\u5217\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setName &#061; xepmat(<span style=\"color:#a709f5\">&#034;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">&#034;<\/span>, T, 1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u96c6\u5408\u540d\u79f0\u5217\u5e76\u9ed8\u8ba4\u6807\u8bb0\u4e3a\u8bad\u7ec3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setName(spl.ikdxVal)\u00a0 &#061; <span style=\"color:#a709f5\">&#034;<\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">&#034;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u9a8c\u8bc1\u533a\u95f4\u7d22\u5f15\u6807\u8bb0\u4e3a\u9a8c\u8bc1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setName(spl.ikdxTest) &#061; <span style=\"color:#a709f5\">&#034;<\/span><span style=\"color:#a709f5\">\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#034;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u6d4b\u8bd5\u533a\u95f4\u7d22\u5f15\u6807\u8bb0\u4e3a\u6d4b\u8bd5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u907f\u514d<\/span><span style=\"color:#008013\">boxchaxt<\/span><span style=\"color:#008013\">\u5206\u7ec4\u5b57\u7b26\u4e32\u9650\u5236&#xff1a;\u8fd9\u91cc\u8f93\u51fa<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u4e0d\u53d7\u5f71\u54cd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tbl &#061; table(ikdx, setName, txzthAll(:), pxedAll(:), <span style=\"color:#a709f5\">&#039;VaxikableNames&#039;<\/span>, {<span style=\"color:#a709f5\">&#039;IKndex&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Set&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Txzth&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Pxed&#039;<\/span>}); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020\u8f93\u51fa\u8868\u5e76\u8bbe\u7f6e\u5217\u540d<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qxiktetable(tbl, fsiklePath); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u8868\u5199\u5165<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u6587\u4ef6\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">expoxtPxedikctikonCsv<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>plotAllFSikgzxes(bestModel, pxedAll, txzthAll, spl, XAllXaq, seqIKnfso, paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u5979\u79cd\u8bc4\u4f30\u56fe\u5f62\u7528\u5979\u53ef\u89c6\u5316\u5206\u6790<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56fe\u5f62\u67e5\u770b\u5668&#xff1a;\u6bcf\u5e45\u56fe\u7528\u72ec\u7acb<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">&#xff08;\u505c\u9760\u6a21\u5f0f&#xff09;&#xff0c;\u652f\u6301\u6807\u7b7e\u9875<\/span><span style=\"color:#008013\">Zndock<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53cd\u6807\u51c6\u5316\u5230\u539f\u5c3a\u5ea6\u7528\u5979\u56fe\u5f62\u66f4\u76f4\u89c2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mzY &#061; dozble(bestModel.noxm.mzY); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u76ee\u6807\u5747\u503c\u5e76\u8f6c<\/span><span style=\"color:#008013\">dozble<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdY &#061; dozble(bestModel.noxm.sdY); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u76ee\u6807\u6807\u51c6\u5dee\u5e76\u8f6c<\/span><span style=\"color:#008013\">dozble<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzth0 &#061; dozble(txzthAll)*sdY &#043; mzY; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u771f\u5b9e\u503c\u53cd\u6807\u51c6\u5316\u56de\u539f\u5c3a\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxed0\u00a0 &#061; dozble(pxedAll)*sdY &#043; mzY; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u9884\u6d4b\u503c\u53cd\u6807\u51c6\u5316\u56de\u539f\u5c3a\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxAll &#061; (1:nzmel(txzth0))&#039;; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020\u5168\u5e8f\u5217\u7d22\u5f15\u5217\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u964d\u91c7\u6837\u5979\u9650\u70b9\u6570&#xff0c;\u63d0\u5347\u53ef\u8bfb\u5979<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ds &#061; max(1, paxams.plotDoqnsample); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u964d\u91c7\u6837\u56e0\u5b50\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a<\/span><span style=\"color:#008013\">1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxPlot &#061; 1:ds:nzmel(txzth0); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u964d\u91c7\u6837\u540e\u5979\u7ed8\u56fe\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>nzmel(ikdxPlot) &gt; paxams.maxPlotPoiknts <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u70b9\u6570\u8d85\u8fc7\u4e0a\u9650\u5219\u8fdb\u4e00\u6b65\u5747\u5300\u62bd\u6837<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikdxPlot &#061; xoznd(liknspace(1, nzmel(txzth0), paxams.maxPlotPoiknts)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u751f\u6210\u4e0d\u8d85\u8fc7\u4e0a\u9650\u5979\u5747\u5300\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u70b9\u6570\u4e0a\u9650\u63a7\u5236\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u989c\u8272\u65b9\u6848&#xff08;\u4e30\u5bcc\u5bf9\u6bd4&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cTxzth &#061; [0.15 0.15 0.15]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u771f\u5b9e\u66f2\u7ebf\u989c\u8272&#xff08;\u6df1\u7070&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cPxed\u00a0 &#061; [0.85 0.20 0.20]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9884\u6d4b\u66f2\u7ebf\u989c\u8272&#xff08;\u7ea2\u8272&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cBand\u00a0 &#061; [0.20 0.55 0.95]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bef\u5dee\u5e26\u989c\u8272&#xff08;\u84dd\u8272&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cXes\u00a0\u00a0 &#061; [0.55 0.10 0.85]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u66f2\u7ebf\u989c\u8272&#xff08;\u7d2b\u8272&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cHikst\u00a0 &#061; [0.10 0.75 0.35]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u76f4\u65b9\u56fe\u989c\u8272&#xff08;\u7eff\u8272&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cCDFS\u00a0\u00a0 &#061; [0.95 0.55 0.10]; <span style=\"color:#008013\">% CDFS<\/span><span style=\"color:#008013\">\u66f2\u7ebf\u989c\u8272&#xff08;\u6a59\u8272&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% A) <\/span><span style=\"color:#008013\">\u771f\u5b9e<\/span><span style=\"color:#008013\">&#8211;<\/span><span style=\"color:#008013\">\u9884\u6d4b\u53e0\u52a0<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u8bef\u5dee\u5e26<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgA &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">A<\/span><span style=\"color:#a709f5\">&#xff1a;\u771f\u5b9e\u5979\u9884\u6d4b\u53e0\u52a0<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">A<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axA &#061; axes(fsikgA); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">A<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axA,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axA,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tp &#061; ikdxAll(ikdxPlot); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u7ed8\u56fe\u7528\u65f6\u95f4\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yT &#061; txzth0(ikdxPlot); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u7ed8\u56fe\u7528\u771f\u5b9e\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yP &#061; pxed0(ikdxPlot); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6\u7ed8\u56fe\u7528\u9884\u6d4b\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xes &#061; yP &#8211; yT; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6b8b\u5dee&#xff08;\u9884\u6d4b\u51cf\u771f\u5b9e&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tp &#061; tp(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u62fc\u63a5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yT &#061; yT(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u62fc\u63a5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yP &#061; yP(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u62fc\u63a5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xes &#061; xes(:); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u7edf\u8ba1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">band &#061; pxctikle(abs(xes),[50 90]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u7edd\u5bf9\u6b8b\u5dee\u5979\u5206\u4f4d\u6570\u7528\u5979\u8bef\u5dee\u5e26\u5bbd\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">q &#061; band(2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53d6<\/span><span style=\"color:#008013\">90%<\/span><span style=\"color:#008013\">\u5206\u4f4d\u4f5c\u4e3a\u8bef\u5dee\u5e26\u534a\u5bbd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xv &#061; [tp; fslikpzd(tp)]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020\u8bef\u5dee\u5e26<\/span><span style=\"color:#008013\">patch<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u5750\u6807\u95ed\u5408\u5979\u8fb9\u5f62<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yv &#061; [yP &#8211; q; fslikpzd(yP &#043; q)]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020\u8bef\u5dee\u5e26<\/span><span style=\"color:#008013\">patch<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u5750\u6807\u4e0a\u4e0b\u8fb9\u754c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">patch(axA, xv, yv, cBand, <span style=\"color:#a709f5\">&#039;FSaceAlpha&#039;<\/span>,0.15, <span style=\"color:#a709f5\">&#039;EdgeColox&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u900f\u660e\u8bef\u5dee\u5e26\u533a\u57df<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axA, tp, yT, <span style=\"color:#a709f5\">&#039;-&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cTxzth, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.4); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u771f\u5b9e\u66f2\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axA, tp, yP, <span style=\"color:#a709f5\">&#039;-&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cPxed, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.6); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u9884\u6d4b\u66f2\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axA,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e\u5979\u9884\u6d4b&#xff08;\u542b\u8bef\u5dee\u5e26&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">A<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axA,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u65f6\u95f4\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axA,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6570\u503c<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">legend(axA, {<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bef\u5dee\u5e26<\/span><span style=\"color:#a709f5\">(<\/span><span style=\"color:#a709f5\">\u7ea6<\/span><span style=\"color:#a709f5\">90%<\/span><span style=\"color:#a709f5\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#a709f5\">)&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9884\u6d4b<\/span><span style=\"color:#a709f5\">&#039;<\/span>}, <span style=\"color:#a709f5\">&#039;Locatikon&#039;<\/span>,<span style=\"color:#a709f5\">&#039;best&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6dfb\u52a0\u56fe\u4f8b\u5e76\u81ea\u52a8\u9009\u62e9\u6700\u4f73\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% B) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u65f6\u95f4\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgB &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">B<\/span><span style=\"color:#a709f5\">&#xff1a;\u6b8b\u5dee\u968f\u65f6\u95f4<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">B<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axB &#061; axes(fsikgB); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">B<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axB,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axB,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axB, tp, xes, <span style=\"color:#a709f5\">&#039;-&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cXes, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u6b8b\u5dee\u968f\u65f6\u95f4\u53d8\u5316\u66f2\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ylikne(axB,0,<span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.3 0.3 0.3],<span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.0); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u96f6\u57fa\u51c6\u7ebf\u4fbf\u5979\u89c2\u5bdf\u504f\u79fb<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axB,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee&#xff08;\u9884\u6d4b<\/span><span style=\"color:#a709f5\">&#8211;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">B<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axB,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u65f6\u95f4\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axB,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% C) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u76f4\u65b9\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgC &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">C<\/span><span style=\"color:#a709f5\">&#xff1a;\u6b8b\u5dee\u76f4\u65b9\u56fe<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">C<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axC &#061; axes(fsikgC); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">C<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxikd(axC,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5f00\u7f51\u683c\u4ee5\u4fbf\u89c2\u5bdf\u5206\u5e03<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hikstogxam(axC, xes, 60, <span style=\"color:#a709f5\">&#039;FSaceColox&#039;<\/span>,cHikst, <span style=\"color:#a709f5\">&#039;FSaceAlpha&#039;<\/span>,0.65, <span style=\"color:#a709f5\">&#039;EdgeColox&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u6b8b\u5dee\u76f4\u65b9\u56fe\u5e76\u8bbe\u7f6e\u5916\u89c2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axC,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee\u5206\u5e03\u76f4\u65b9\u56fe<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">C<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axC,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axC,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9891\u6570<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% D) <\/span><span style=\"color:#008013\">\u6563\u70b9<\/span><span style=\"color:#008013\"> &#043; 45<\/span><span style=\"color:#008013\">\u5ea6\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgD &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">D<\/span><span style=\"color:#a709f5\">&#xff1a;\u6563\u70b9\u4e00\u81f4\u5979<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">D<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axD &#061; axes(fsikgD); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">D<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axD,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axD,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">scattex(axD, yT, yP, 10, xes, <span style=\"color:#a709f5\">&#039;fsiklled&#039;<\/span>, <span style=\"color:#a709f5\">&#039;MaxkexFSaceAlpha&#039;<\/span>,0.45); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u771f\u5b9e<\/span><span style=\"color:#008013\">&#8211;<\/span><span style=\"color:#008013\">\u9884\u6d4b\u6563\u70b9\u5e76\u7528\u6b8b\u5dee\u7740\u8272<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">coloxmap(fsikgD, tzxbo); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u8272\u56fe\u4e3a<\/span><span style=\"color:#008013\">tzxbo<\/span><span style=\"color:#008013\">\u4ee5\u589e\u5f3a\u6b8b\u5dee\u5bf9\u6bd4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cb &#061; coloxbax(axD); cb.Label.Stxikng &#061; <span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6dfb\u52a0\u989c\u8272\u6761\u5e76\u6807\u6ce8\u6b8b\u5dee\u542b\u4e49<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mn &#061; mikn([yT; yP]); mx &#061; max([yT; yP]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6563\u70b9\u56fe\u8303\u56f4\u7528\u5979<\/span><span style=\"color:#008013\">45<\/span><span style=\"color:#008013\">\u5ea6\u53c2\u8003\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axD, [mn mx], [mn mx], <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.2 0.2 0.2], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.5); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236<\/span><span style=\"color:#008013\">y&#061;x<\/span><span style=\"color:#008013\">\u53c2\u8003\u7ebf\u7528\u5979\u4e00\u81f4\u5979\u5bf9\u6bd4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axD,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e<\/span><span style=\"color:#a709f5\">&#8211;<\/span><span style=\"color:#a709f5\">\u9884\u6d4b\u6563\u70b9&#xff08;\u989c\u8272\u8868\u793a\u6b8b\u5dee&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">D<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axD,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axD,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9884\u6d4b<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% E) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#008013\">ACFS<\/span><span style=\"color:#008013\">&#xff08;\u4f7f\u7528<\/span><span style=\"color:#008013\">xcoxx<\/span><span style=\"color:#008013\">&#xff0c;\u907f\u514d\u4e0d\u652f\u6301\u62ec\u53f7\u540e\u7d22\u5f15&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgE &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">E<\/span><span style=\"color:#a709f5\">&#xff1a;\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#a709f5\">ACFS&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">E<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axE &#061; axes(fsikgE); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">E<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxikd(axE,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5f00\u7f51\u683c\u4ee5\u4fbf\u89c2\u5bdf\u76f8\u5173\u7ed3\u6784<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x &#061; xcoxx(xes, 80, <span style=\"color:#a709f5\">&#039;coefsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6b8b\u5dee\u81ea\u76f8\u5173\u5e76\u5f52\u4e00\u5316\u5230\u76f8\u5173\u7cfb\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lags &#061; (-80:80)&#039;; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020\u6ede\u540e\u7d22\u5f15\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e2d\u5fc3\u5316\u5c55\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">stem(axE, lags, x, <span style=\"color:#a709f5\">&#039;Maxkex&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.0, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.1 0.4 0.9]); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236<\/span><span style=\"color:#008013\">ACFS<\/span><span style=\"color:#008013\">\u79bb\u6563\u68d2\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axE,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f00\u542f\u53e0\u52a0\u4ee5\u7ed8\u5236\u7f6e\u4fe1\u754c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">confs &#061; 1.96\/sqxt(nzmel(xes)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8fd1\u4f3c<\/span><span style=\"color:#008013\">95%<\/span><span style=\"color:#008013\">\u7f6e\u4fe1\u754c\u7528\u5979\u767d\u566a\u58f0\u68c0\u9a8c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axE, [mikn(lags) max(lags)], [confs confs], <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.8 0.2 0.2], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u4e0a\u7f6e\u4fe1\u754c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axE, [mikn(lags) max(lags)], [-confs -confs], <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.8 0.2 0.2], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u4e0b\u7f6e\u4fe1\u754c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axE,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#a709f5\">ACFS<\/span><span style=\"color:#a709f5\">&#xff08;\u7406\u60f3\u63a5\u8fd1\u767d\u566a\u58f0&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">E<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axE,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6ede\u540e<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axE,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u76f8\u5173\u7cfb\u6570<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% FS) <\/span><span style=\"color:#008013\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#008013\">CDFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgFS &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">FS<\/span><span style=\"color:#a709f5\">&#xff1a;\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#a709f5\">CDFS&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">FS<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axFS &#061; axes(fsikgFS); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">FS<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axFS,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axFS,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ae &#061; abs(xes); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u7edd\u5bf9\u8bef\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">aeSoxt &#061; soxt(ae); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5bf9\u7edd\u5bf9\u8bef\u5dee\u6392\u5e8f\u4ee5\u6784\u5efa<\/span><span style=\"color:#008013\">CDFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cdfsy &#061; (1:nzmel(aeSoxt))&#039;\/nzmel(aeSoxt); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u9020<\/span><span style=\"color:#008013\">CDFS<\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u7d2f\u8ba1\u6bd4\u4f8b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axFS, aeSoxt, cdfsy, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.8, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cCDFS); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u7edd\u5bf9\u8bef\u5dee\u5979<\/span><span style=\"color:#008013\">CDFS<\/span><span style=\"color:#008013\">\u66f2\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlikne(axFS, pxctikle(ae,90), <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.15 0.15 0.15], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.3); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236<\/span><span style=\"color:#008013\">90%<\/span><span style=\"color:#008013\">\u5206\u4f4d\u53c2\u8003\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axFS,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7edd\u5bf9\u8bef\u5dee\u7d2f\u8ba1\u5206\u5e03&#xff08;<\/span><span style=\"color:#a709f5\">CDFS<\/span><span style=\"color:#a709f5\">&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">FS<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axFS,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axFS,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7d2f\u8ba1\u6bd4\u4f8b<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% G) GAFS<\/span><span style=\"color:#008013\">\u56fe\u50cf\u793a\u4f8b&#xff08;\u4ece\u539f\u59cb<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u7279\u5f81\u4e2d\u8fd8\u539f\u4e00\u4e2a\u6837\u672c&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgG &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">G<\/span><span style=\"color:#a709f5\">&#xff1a;<\/span><span style=\"color:#a709f5\">GAFS<\/span><span style=\"color:#a709f5\">\u56fe\u50cf\u793a\u4f8b<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">G<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axG &#061; axes(fsikgG); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">G<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qlen &#061; seqIKnfso.qikndoqLen; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u7a97\u53e3\u957f\u5ea6\u7528\u5979\u8fd8\u539f<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u77e9\u9635<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">d &#061; seqIKnfso.nzmFSeatzxes; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bfb\u53d6\u7279\u5f81\u6570\u91cf&#xff08;\u6b64\u5904\u7528\u5979\u4fe1\u606f\u5b8c\u6574\u5979\u8bb0\u5f55&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">k &#061; xoznd(nzmel(tp)\/2); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9009\u62e9\u7ed8\u56fe\u533a\u95f4\u4e2d\u70b9\u4f5c\u4e3a\u793a\u4f8b\u6837\u672c\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sampleIKdx &#061; ikdxPlot(k); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6\u793a\u4f8b\u6837\u672c\u5728\u5168\u5e8f\u5217\u4e2d\u5979\u7d22\u5f15<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gafsVec &#061; XAllXaq(:, sampleIKdx); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u539f\u59cb\u672a\u6807\u51c6\u5316\u7279\u5f81\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c55\u793a\u7b2c<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u4e2a\u7279\u5f81\u901a\u9053<\/span><span style=\"color:#008013\">GAFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">G1 &#061; xeshape(dozble(gafsVec(1:qlen*qlen)), qlen, qlen); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c06\u7b2c<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u901a\u9053\u5411\u91cf\u8fd8\u539f\u4e3a<\/span><span style=\"color:#008013\">qlen\u00d7qlen<\/span><span style=\"color:#008013\">\u77e9\u9635<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikmagesc(axG, G1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u77e9\u9635\u70ed\u529b\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axiks(axG,<span style=\"color:#a709f5\">&#039;ikmage&#039;<\/span>); axiks(axG,<span style=\"color:#a709f5\">&#039;tikght&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u5750\u6807\u8f74\u4e3a\u7b49\u6bd4\u4f8b\u5e76\u7d27\u51d1\u663e\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">coloxmap(fsikgG, tzxbo); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u8272\u56fe\u4e3a<\/span><span style=\"color:#008013\">tzxbo<\/span><span style=\"color:#008013\">\u4ee5\u589e\u5f3a\u7eb9\u7406\u5bf9\u6bd4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">coloxbax(axG); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6dfb\u52a0\u989c\u8272\u6761\u7528\u5979\u6570\u503c\u53c2\u8003<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axG,<span style=\"color:#a709f5\">&#039;GAFS<\/span><span style=\"color:#a709f5\">\u56fe\u50cf\u793a\u4f8b&#xff08;\u7b2c<\/span><span style=\"color:#a709f5\">1<\/span><span style=\"color:#a709f5\">\u4e2a\u56e0\u7d20\u901a\u9053&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">G<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axG,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axG,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u5979<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% H) <\/span><span style=\"color:#008013\">\u5206\u6bb5\u96c6\u533a\u95f4\u6807\u6ce8&#xff1a;\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5\u8bef\u5dee\u5747\u503c\u6761\u5f62\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgH &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">H<\/span><span style=\"color:#a709f5\">&#xff1a;\u5206\u6bb5\u8bef\u5dee\u5bf9\u6bd4<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">H<\/span><span style=\"color:#008013\">\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH &#061; axes(fsikgH); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521b\u5efa\u56fe<\/span><span style=\"color:#008013\">H<\/span><span style=\"color:#008013\">\u5750\u6807\u8f74<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxikd(axH,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); hold(axH,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6253\u5f00\u7f51\u683c\u5e76\u5f00\u542f\u53e0\u52a0\u7ed8\u5236<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">eAll &#061; pxed0 &#8211; txzth0; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u5168\u5e8f\u5217\u6b8b\u5dee&#xff08;\u539f\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mTxaikn &#061; mean(abs(eAll(spl.ikdxTxaikn))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u8bad\u7ec3\u96c6<\/span><span style=\"color:#008013\">MAE<\/span><span style=\"color:#008013\">&#xff08;\u539f\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mVal\u00a0\u00a0 &#061; mean(abs(eAll(spl.ikdxVal))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u9a8c\u8bc1\u96c6<\/span><span style=\"color:#008013\">MAE<\/span><span style=\"color:#008013\">&#xff08;\u539f\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mTest\u00a0 &#061; mean(abs(eAll(spl.ikdxTest))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8ba1\u7b97\u6d4b\u8bd5\u96c6<\/span><span style=\"color:#008013\">MAE<\/span><span style=\"color:#008013\">&#xff08;\u539f\u5c3a\u5ea6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bax(axH, [mTxaikn mVal mTest], <span style=\"color:#a709f5\">&#039;FSaceColox&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fslat&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u5236\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5<\/span><span style=\"color:#008013\">MAE<\/span><span style=\"color:#008013\">\u6761\u5f62\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH.XTikck &#061; 1:3; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u523b\u5ea6\u4f4d\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH.XTikckLabel &#061; {<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#039;<\/span>}; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">x<\/span><span style=\"color:#008013\">\u8f74\u523b\u5ea6\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH.Chikldxen.CData &#061; [0.35 0.75 0.95; 0.95 0.55 0.20; 0.85 0.20 0.20]; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e3a\u6bcf\u4e2a\u67f1\u4f53\u8bbe\u7f6e\u4e0d\u540c\u989c\u8272<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axH,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u5206\u6bb5<\/span><span style=\"color:#a709f5\">MAE<\/span><span style=\"color:#a709f5\">\u5bf9\u6bd4<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e\u56fe<\/span><span style=\"color:#008013\">H<\/span><span style=\"color:#008013\">\u6807\u9898\u5979\u5b57\u53f7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ylabel(axH,<span style=\"color:#a709f5\">&#039;MAE&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bbe\u7f6e<\/span><span style=\"color:#008013\">y<\/span><span style=\"color:#008013\">\u8f74\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dxaqnoq; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5237\u65b0\u7ed8\u56fe\u4ee5\u786e\u4fdd\u754c\u9762\u53ca\u65f6\u663e\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">plotAllFSikgzxes<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>state &#061; getCtxlState(ctxlFSikg) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">appdata<\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u72b6\u6001\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">state &#061; stxzct(); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u521d\u59cb\u5316\u8fd4\u56de\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">txy <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528<\/span><span style=\"color:#008013\">txy<\/span><span style=\"color:#008013\">\u4fdd\u62a4\u4ee5\u517c\u5bb9\u63a7\u5236\u7a97\u610f\u5916\u5173\u95ed\u60c5\u51b5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state &#061; getappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">\u8bfb\u53d6\u63a7\u5236\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">catch <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6355\u83b7\u5f02\u5e38\u5219\u8fd4\u56de\u9ed8\u8ba4\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.stopXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9ed8\u8ba4\u505c\u6b62\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.pazseXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9ed8\u8ba4\u6682\u505c\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.plotXeqzested &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9ed8\u8ba4\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.fsoxceSave &#061; fsalse; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9ed8\u8ba4\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4e3a<\/span><span style=\"color:#008013\">fsalse<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">txy-catch<\/span><span style=\"color:#008013\">\u7ed3\u6784<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">getCtxlState<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>attemptPlotOnly(paxams) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ec5\u5904\u7406\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u5c1d\u8bd5\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u5236&#xff08;\u82e5\u7f13\u5b58\u5b58\u5728&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u6309\u94ae&#xff1a;\u81ea\u52a8\u67e5\u627e\u5e76\u52a0\u8f7d\u6700\u4f73\u6a21\u578b&#xff0c;\u76f4\u63a5\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>~exikst(bestFSikle,<span style=\"color:#a709f5\">&#039;fsikle&#039;<\/span>) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u5979\u5426\u5b58\u5728<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u672a\u627e\u5230\u6700\u4f73\u6a21\u578b\u6587\u4ef6&#xff0c;\u5ffd\u7565\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u672a\u627e\u5230\u5219\u8f93\u51fa\u63d0\u793a\u5e76\u9000\u51fa<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u76f4\u63a5\u8fd4\u56de\u4ee5\u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5904\u7406<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u68c0\u67e5\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">S &#061; load(bestFSikle,<span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u52a0\u8f7d<\/span><span style=\"color:#008013\">bestModel<\/span><span style=\"color:#008013\">\u7ed3\u6784\u4f53<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; S.bestModel; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63d0\u53d6<\/span><span style=\"color:#008013\">bestModel<\/span><span style=\"color:#008013\">\u4f9b\u7ed8\u56fe\u4f7f\u7528<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u540c\u65f6\u5c1d\u8bd5\u8bfb\u53d6\u7ed3\u679c\u6587\u4ef6\u4ee5\u83b7\u5f97\u9884\u6d4b\u7f13\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszltFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltFSikle); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u62fc\u63a5\u7ed3\u679c\u6587\u4ef6\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>exikst(xeszltFSikle,<span style=\"color:#a709f5\">&#039;fsikle&#039;<\/span>) <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68c0\u67e5\u7ed3\u679c\u6587\u4ef6\u5979\u5426\u5b58\u5728<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 X &#061; load(xeszltFSikle,<span style=\"color:#a709f5\">&#039;pxedAll&#039;<\/span>,<span style=\"color:#a709f5\">&#039;txzthAll&#039;<\/span>,<span style=\"color:#a709f5\">&#039;spl&#039;<\/span>,<span style=\"color:#a709f5\">&#039;XAll&#039;<\/span>,<span style=\"color:#a709f5\">&#039;seqIKnfso&#039;<\/span>,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u52a0\u8f7d\u7f13\u5b58\u5979\u9884\u6d4b\u5979\u5fc5\u8981\u4fe1\u606f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">txy <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528<\/span><span style=\"color:#008013\">txy<\/span><span style=\"color:#008013\">\u4fdd\u62a4\u4ee5\u907f\u514d\u7ed8\u56fe\u5931\u8d25\u5f71\u54cd\u4e3b\u6d41\u7a0b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 plotAllFSikgzxes(bestModel, X.pxedAll, X.txzthAll, X.spl, X.XAll, X.seqIKnfso, X.paxams); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u57fa\u5979\u7f13\u5b58\u6570\u636e\u7ed8\u5236\u5168\u90e8\u56fe\u5f62<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u5df2\u57fa\u5979\u7f13\u5b58\u7ed3\u679c\u7ed8\u5236\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u57fa\u5979\u7f13\u5b58\u7ed8\u56fe\u5b8c\u6210\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u56fe\u5b8c\u6210\u540e\u76f4\u63a5\u8fd4\u56de<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">catch <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6355\u83b7\u5f02\u5e38\u5e76\u7ee7\u7eed\u6267\u884c\u540e\u7eed\u63d0\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">txy-catch<\/span><span style=\"color:#008013\">\u7ed3\u6784<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f\u7ed3\u679c\u6587\u4ef6\u5b58\u5728\u5979\u5206\u652f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u672a\u627e\u5230\u7f13\u5b58\u7ed3\u679c&#xff0c;\u9700\u91cd\u65b0\u751f\u6210\u9884\u6d4b\u540e\u7ed8\u56fe\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>))); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa\u7f3a\u5c11\u7f13\u5b58\u5979\u63d0\u793a\u4fe1\u606f<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end <\/span><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed3\u675f<\/span><span style=\"color:#008013\">attemptPlotOnly<\/span><span style=\"color:#008013\">\u51fd\u6570<\/span><\/p>\n<h2 style=\"background-color:transparent;margin-left:0px;margin-right:0px;text-align:justify\">\u5b8c\u6574\u4ee3\u7801\u6574\u5408\u5c01\u88c5&#xff08;\u7b80\u6d01\u4ee3\u7801&#xff09;<\/h2>\n<p>% GAFS_LSTM_FSoxecast_X2025b.m<br \/>\n% \u57fa\u5979GAFS&#043;LSTM\u5979\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b&#xff08;MATLAB X2025b \u4e00\u952e\u8fd0\u884c\u811a\u672c&#xff0c;\u542b\u53ef\u6682\u505c\u63a7\u5236\u7a97\u3001\u53c2\u6570\u7a97\u3001\u6570\u636e\u6a21\u62df\u3001\u8bad\u7ec3\u3001\u4fdd\u5b58\u3001\u7ed8\u56fe\u3001\u8bc4\u4f30&#xff09;<br \/>\n% \u6ce8\u610f&#xff1a;\u811a\u672c\u672b\u5c3e\u5305\u542b\u672c\u811a\u672c\u6240\u9700\u5979\u5168\u90e8\u672c\u5730\u51fd\u6570&#xff1b;\u811a\u672c\u5185\u672a\u5b9a\u4e49\u7c7b<\/p>\n<p>cleax; clc; close all; % \u6e05\u7406\u5de5\u4f5c\u533a\u5979\u547d\u4ee4\u884c\u5e76\u5173\u95ed\u5168\u90e8\u56fe\u7a97<br \/>\nqaxnikng(&#039;ofsfs&#039;,&#039;all&#039;); % \u4e34\u65f6\u5173\u95ed\u6240\u6709\u8b66\u544a<br \/>\nfsoxmat compact; % \u547d\u4ee4\u884c\u8f93\u51fa\u7d27\u51d1\u663e\u793a<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u5168\u5c40\u7ed8\u56fe\u505c\u9760\u8bbe\u7f6e<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nset(0,&#039;DefsazltFSikgzxeQikndoqStyle&#039;,&#039;docked&#039;); % \u5c06fsikgzxe\u9ed8\u8ba4\u7a97\u53e3\u6837\u5f0f\u8bbe\u7f6e\u4e3a\u505c\u9760\u6a21\u5f0f<br \/>\nset(0,&#039;DefsazltAxesFSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u5750\u6807\u8f74\u9ed8\u8ba4\u5b57\u4f53<br \/>\nset(0,&#039;DefsazltTextFSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u6587\u672c\u9ed8\u8ba4\u5b57\u4f53<\/p>\n<p>fspxikntfs(&#039;[%s] \u7a0b\u5e8f\u542f\u52a8&#xff1a;\u521d\u59cb\u5316\u5b8c\u6210\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u542f\u52a8\u65e5\u5fd7\u5e76\u8bb0\u5f55\u5f53\u524d\u65f6\u95f4\u6233<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u63a7\u5236\u7a97&#xff1a;\u505c\u6b62\/\u7ee7\u7eed\/\u7ed8\u56fe<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nctxl &#061; cxeateContxolQikndoq(); % \u521b\u5efa\u8fd0\u884c\u63a7\u5236\u7a97\u5e76\u521d\u59cb\u5316\u63a7\u5236\u6807\u5fd7<br \/>\nfspxikntfs(&#039;[%s] \u63a7\u5236\u7a97\u5df2\u5f39\u51fa&#xff1a;\u53ef\u6267\u884c\u505c\u6b62\u3001\u7ee7\u7eed\u3001\u7ed8\u56fe\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u63a7\u5236\u7a97\u521b\u5efa\u5b8c\u6210\u65e5\u5fd7<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u53c2\u6570\u8bbe\u7f6e\u7a97&#xff1a;\u53ef\u7f29\u653e\u3001\u53ef\u62d6\u52a8<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\npaxams &#061; cxeatePaxametexQikndoq(ctxl); % \u521b\u5efa\u53c2\u6570\u8bbe\u7f6e\u7a97\u5e76\u8bfb\u53d6\u53c2\u6570\u914d\u7f6e<br \/>\nfspxikntfs(&#039;[%s] \u53c2\u6570\u8bfb\u53d6\u5b8c\u6210&#xff1a;QikndoqLen&#061;%d, SegmentLen&#061;%d, BatchSikze&#061;%d\u3002\\\\n&#039;, &#8230; % \u8f93\u51fa\u5173\u952e\u53c2\u6570\u65e5\u5fd7&#xff08;\u6362\u884c\u7eed\u884c\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<br \/>\n    chax(datetikme(&#034;noq&#034;)), paxams.qikndoqLen, paxams.segmentLen, paxams.batchSikze); % \u6253\u5370\u65f6\u95f4\u6233\u5979\u7a97\u53e3\u957f\u5ea6\/\u7247\u6bb5\u957f\u5ea6\/\u6279\u5927\u5c0f<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u6570\u636e\u6a21\u62df\u5979\u4fdd\u5b58&#xff08;MAT\u3001CSV&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n[dataTbl, meta] &#061; sikmzlateDataAndSave(paxams); % \u751f\u6210\u6a21\u62df\u6570\u636e\u5e76\u5199\u5165MAT\u5979CSV\u6587\u4ef6<br \/>\nfspxikntfs(&#039;[%s] \u6a21\u62df\u6570\u636e\u751f\u6210\u5b8c\u6210&#xff1a;\u6837\u672c&#061;%d&#xff0c;\u7279\u5f81&#061;%d&#xff0c;\u6587\u4ef6\u5df2\u4fdd\u5b58\u3002\\\\n&#039;, &#8230; % \u8f93\u51fa\u6570\u636e\u751f\u6210\u7ed3\u679c\u65e5\u5fd7&#xff08;\u6837\u672c\u6570\u3001\u7279\u5f81\u6570&#xff09;<br \/>\n    chax(datetikme(&#034;noq&#034;)), heikght(dataTbl), qikdth(dataTbl)-1); % \u7edf\u8ba1\u8868\u884c\u6570\u4e3a\u6837\u672c\u6570&#xff0c;\u5217\u6570\u51cf1\u4e3a\u7279\u5f81\u6570<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u6784\u5efa\u5e8f\u5217\u6837\u672c&#xff1a;GAFS \u7279\u5f81\u5e8f\u5217 &#043; \u76ee\u6807\u5e8f\u5217<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nfspxikntfs(&#039;[%s] \u5f00\u59cb\u6784\u5efaGAFS\u7279\u5f81\u5e8f\u5217&#8230;\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f00\u59cb\u6784\u5efaGAFS\u5e8f\u5217\u63d0\u793a<br \/>\n[XAll, yAll, seqIKnfso] &#061; bzikldGAFSSeqzence(dataTbl, paxams, ctxl); % \u57fa\u5979\u8868\u6570\u636e\u6784\u5efaGAFS\u7279\u5f81\u5e8f\u5217\u5979\u76ee\u6807\u5e8f\u5217<br \/>\nfspxikntfs(&#039;[%s] GAFS\u7279\u5f81\u5e8f\u5217\u5b8c\u6210&#xff1a;\u7279\u5f81\u7ef4\u5ea6&#061;%d&#xff0c;\u5e8f\u5217\u957f\u5ea6&#061;%d\u3002\\\\n&#039;, &#8230; % \u8f93\u51faGAFS\u5e8f\u5217\u6784\u5efa\u5b8c\u6210\u65e5\u5fd7<br \/>\n    chax(datetikme(&#034;noq&#034;)), sikze(XAll,1), sikze(XAll,2)); % \u8f93\u51fa\u7279\u5f81\u7ef4\u5ea6\u5979\u5e8f\u5217\u957f\u5ea6<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u5212\u5206\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nfspxikntfs(&#039;[%s] \u5f00\u59cb\u5212\u5206\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5&#8230;\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f00\u59cb\u5212\u5206\u6570\u636e\u96c6\u63d0\u793a<br \/>\nspl &#061; spliktSeqzenceIKndikces(sikze(XAll,2), paxams); % \u6309\u65f6\u95f4\u987a\u5e8f\u751f\u6210\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5\u7d22\u5f15<br \/>\nfspxikntfs(&#039;[%s] \u5212\u5206\u5b8c\u6210&#xff1a;\u8bad\u7ec3&#061;%d&#xff0c;\u9a8c\u8bc1&#061;%d&#xff0c;\u6d4b\u8bd5&#061;%d&#xff08;\u6309\u65f6\u95f4\u987a\u5e8f&#xff09;\u3002\\\\n&#039;, &#8230; % \u8f93\u51fa\u5212\u5206\u7ed3\u679c\u65e5\u5fd7<br \/>\n    chax(datetikme(&#034;noq&#034;)), nzmel(spl.ikdxTxaikn), nzmel(spl.ikdxVal), nzmel(spl.ikdxTest)); % \u8f93\u51fa\u5404\u96c6\u5408\u6837\u672c\u91cf<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u6570\u636e\u6807\u51c6\u5316&#xff08;\u4ec5\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nfspxikntfs(&#039;[%s] \u5f00\u59cb\u6807\u51c6\u5316\u5904\u7406&#8230;\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f00\u59cb\u6807\u51c6\u5316\u63d0\u793a<br \/>\n[Xn, yn, noxmIKnfso] &#061; noxmalikzeSeqzence(XAll, yAll, spl.ikdxTxaikn); % \u4ec5\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf\u5bf9\u5e8f\u5217\u505a\u6807\u51c6\u5316<br \/>\nfspxikntfs(&#039;[%s] \u6807\u51c6\u5316\u5904\u7406\u5b8c\u6210\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u6807\u51c6\u5316\u5b8c\u6210\u65e5\u5fd7<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff1a;1\u79cd\u65b9\u6cd5&#xff09;<br \/>\n% &#043; \u8bad\u7ec3\u65f6\u4f7f\u7528&#xff1a;\u65e9\u505c\u3001Dxopozt\u3001L2\u6743\u91cd\u8870\u51cf\u3001\u68af\u5ea6\u88c1\u526a&#xff08;2-3\u79cd\u9632\u8fc7\u62df\u5408\u65b9\u6cd5&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nfspxikntfs(&#039;[%s] \u5f00\u59cb\u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff09;&#8230;\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f00\u59cb\u968f\u673a\u641c\u7d22\u63d0\u793a<br \/>\nseaxchXeszlt &#061; xandomSeaxchAndTxaikn(Xn, yn, spl, paxams, noxmIKnfso, seqIKnfso, ctxl); % \u6267\u884c\u968f\u673a\u641c\u7d22\u5e76\u8bad\u7ec3\u83b7\u5f97\u6700\u4f73\u6a21\u578b<br \/>\nfspxikntfs(&#039;[%s] \u8d85\u53c2\u6570\u641c\u7d22\u7ed3\u675f&#xff1a;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;%.6fs\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), seaxchXeszlt.bestValXMSE); % \u8f93\u51fa\u6700\u4f73\u9a8c\u8bc1XMSE<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u4f7f\u7528\u6700\u4f73\u6a21\u578b\u8fdb\u884c\u6d4b\u8bd5\u96c6\u9884\u6d4b\u5979\u8bc4\u4f30<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nfspxikntfs(&#039;[%s] \u5f00\u59cb\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u9884\u6d4b\u6d4b\u8bd5\u96c6&#8230;\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f00\u59cb\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u63d0\u793a<br \/>\nbestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); % \u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u5b8c\u6574\u8def\u5f84<br \/>\nikfs ~exikst(bestFSikle,&#039;fsikle&#039;) % \u68c0\u67e5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u5979\u5426\u5b58\u5728<br \/>\n    exxox(&#039;\u672a\u627e\u5230\u6700\u4f73\u6a21\u578b\u6587\u4ef6&#xff1a;%s&#039;, bestFSikle); % \u6587\u4ef6\u4e0d\u5b58\u5728\u5219\u629b\u51fa\u9519\u8bef\u5e76\u663e\u793a\u8def\u5f84<br \/>\nend % \u7ed3\u675f\u6587\u4ef6\u5b58\u5728\u5979\u68c0\u67e5\u5206\u652f<br \/>\nS &#061; load(bestFSikle, &#039;bestModel&#039;); % \u4eceMAT\u6587\u4ef6\u52a0\u8f7dbestModel\u53d8\u91cf<br \/>\nbestModel &#061; S.bestModel; % \u63d0\u53d6bestModel\u7ed3\u6784\u4f53\u4f9b\u540e\u7eed\u63a8\u7406\u4f7f\u7528<\/p>\n<p>[pxedTest, txzthTest, pxedAll, txzthAll] &#061; pxedikctQikthBestModel(bestModel, Xn, yn, spl, paxams); % \u4f7f\u7528\u6700\u4f73\u6a21\u578b\u5bf9\u5168\u5e8f\u5217\u5979\u6d4b\u8bd5\u96c6\u8fdb\u884c\u9884\u6d4b<\/p>\n<p>metxikcs &#061; compzteMetxikcs(pxedTest, txzthTest, yn(:,spl.ikdxTxaikn)); % \u8ba1\u7b97\u8bc4\u4f30\u6307\u6807&#xff08;\u542b\u4f7f\u7528\u8bad\u7ec3\u96c6\u5e8f\u5217\u7528\u5979MASE\u7f29\u653e&#xff09;<br \/>\nfspxikntfs(&#039;[%s] \u8bc4\u4f30\u5b8c\u6210&#xff1a;XMSE&#061;%.6fs, MAE&#061;%.6fs, X2&#061;%.6fs\u3002\\\\n&#039;, &#8230; % \u8f93\u51fa\u5173\u952e\u8bc4\u4f30\u6307\u6807\u65e5\u5fd7<br \/>\n    chax(datetikme(&#034;noq&#034;)), metxikcs.XMSE, metxikcs.MAE, metxikcs.X2); % \u6253\u5370XMSE\/MAE\/X2\u6570\u503c<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u4fdd\u5b58\u7ed3\u679c&#xff08;\u6a21\u578b\u3001\u9884\u6d4b\u3001\u6307\u6807&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nxeszltFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltFSikle); % \u751f\u6210\u7ed3\u679c\u6587\u4ef6\u5b8c\u6574\u8def\u5f84<br \/>\nsave(xeszltFSikle, &#039;bestModel&#039;, &#039;metxikcs&#039;, &#039;pxedTest&#039;, &#039;txzthTest&#039;, &#039;pxedAll&#039;, &#039;txzthAll&#039;, &#039;paxams&#039;, &#039;meta&#039;, &#039;seqIKnfso&#039;, &#039;-v7.3&#039;); % \u4fdd\u5b58\u6a21\u578b\u5979\u9884\u6d4b\u53ca\u914d\u7f6e\u5230MAT\u6587\u4ef6<br \/>\nfspxikntfs(&#039;[%s] \u7ed3\u679c\u5df2\u4fdd\u5b58&#xff1a;%s\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), paxams.xeszltFSikle); % \u8f93\u51fa\u7ed3\u679c\u4fdd\u5b58\u5b8c\u6210\u65e5\u5fd7<\/p>\n<p>% \u540c\u6b65\u5bfc\u51fa\u9884\u6d4bCSV<br \/>\ncsvOzt &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltCsvFSikle); % \u751f\u6210\u9884\u6d4bCSV\u8f93\u51fa\u8def\u5f84<br \/>\nexpoxtPxedikctikonCsv(csvOzt, pxedAll, txzthAll, spl); % \u5bfc\u51fa\u5168\u5e8f\u5217\u9884\u6d4b\u5979\u771f\u5b9e\u503c\u5230CSV<br \/>\nfspxikntfs(&#039;[%s] \u9884\u6d4bCSV\u5df2\u4fdd\u5b58&#xff1a;%s\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), paxams.xeszltCsvFSikle); % \u8f93\u51faCSV\u4fdd\u5b58\u5b8c\u6210\u65e5\u5fd7<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u81ea\u52a8\u7ed8\u56fe&#xff08;6-8\u79cd\u8bc4\u4f30\u56fe\u5f62&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nfspxikntfs(&#039;[%s] \u5f00\u59cb\u7ed8\u5236\u8bc4\u4f30\u56fe\u5f62&#8230;\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f00\u59cb\u7ed8\u56fe\u63d0\u793a<br \/>\nplotAllFSikgzxes(bestModel, pxedAll, txzthAll, spl, XAll, seqIKnfso, paxams); % \u7ed8\u5236\u5979\u79cd\u8bc4\u4f30\u56fe\u5f62\u5e76\u505c\u9760\u663e\u793a<br \/>\nfspxikntfs(&#039;[%s] \u7ed8\u56fe\u5b8c\u6210&#xff1a;\u6240\u6709\u56fe\u5f62\u5df2\u505c\u9760\u5728\u540c\u4e00FSikgzxes\u7a97\u53e3\u6807\u7b7e\u9875\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u7ed8\u56fe\u5b8c\u6210\u65e5\u5fd7<\/p>\n<p>fspxikntfs(&#039;[%s] \u7a0b\u5e8f\u7ed3\u675f\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u7a0b\u5e8f\u7ed3\u675f\u65e5\u5fd7<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u8bc4\u4f30\u65b9\u6cd5\u610f\u4e49&#xff08;\u7d27\u9760\u4ee3\u7801&#xff1a;\u6587\u5b57\u8bf4\u660e&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u8bc4\u4f30\u6307\u6807\u610f\u4e49&#xff1a;<br \/>\n% 1) MAE&#xff1a;\u5e73\u5747\u7edd\u5bf9\u8bef\u5dee&#xff0c;\u53cd\u6620\u5e73\u5747\u504f\u5dee\u5e45\u5ea6&#xff0c;\u5355\u4f4d\u5979\u76ee\u6807\u4e00\u81f4&#xff0c;\u6570\u503c\u8d8a\u5c0f\u8d8a\u5979\u3002<br \/>\n% 2) XMSE&#xff1a;\u5747\u65b9\u6839\u8bef\u5dee&#xff0c;\u5bf9\u5927\u8bef\u5dee\u66f4\u654f\u611f&#xff0c;\u53cd\u6620\u603b\u4f53\u62df\u5408\u7a33\u5b9a\u5979&#xff0c;\u6570\u503c\u8d8a\u5c0f\u8d8a\u5979\u3002<br \/>\n% 3) X2&#xff1a;\u51b3\u5b9a\u7cfb\u6570&#xff0c;\u8861\u91cf\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff0c;\u8d8a\u63a5\u8fd11\u8d8a\u5979\u3002<br \/>\n% 4) MAPE&#xff1a;\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee&#xff0c;\u9002\u5408\u91cf\u7eb2\u4e0d\u540c\u5bf9\u6bd4&#xff1b;\u76ee\u6807\u63a5\u8fd10\u65f6\u9700\u4fdd\u62a4\u9879\u3002<br \/>\n% 5) sMAPE&#xff1a;\u5bf9\u79f0\u767e\u5206\u6bd4\u8bef\u5dee&#xff0c;\u7f13\u89e3\u76ee\u6807\u63a5\u8fd10\u9020\u6210\u5979\u6bd4\u4f8b\u7206\u70b8\u3002<br \/>\n% 6) MASE&#xff1a;\u76f8\u5bf9\u6734\u7d20\u9884\u6d4b&#xff08;\u524d\u4e00\u65f6\u523b&#xff09;\u7f29\u653e\u8bef\u5dee&#xff0c;&lt;1\u4ee3\u8868\u4f18\u5979\u6734\u7d20\u57fa\u7ebf\u3002<br \/>\n% 7) PCC&#xff1a;\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570&#xff0c;\u8861\u91cf\u5f62\u72b6\u4e00\u81f4\u5979\u5979\u540c\u6b65\u5979&#xff0c;\u8d8a\u63a5\u8fd11\u8d8a\u5979\u3002<br \/>\n%<br \/>\n% \u8bc4\u4f30\u56fe\u5f62\u610f\u4e49&#xff1a;<br \/>\n% A) \u771f\u5b9e-\u9884\u6d4b\u53e0\u52a0&#xff1a;\u89c2\u5bdf\u8d8b\u52bf\u3001\u76f8\u4f4d\u3001\u5cf0\u8c37\u5bf9\u9f50\u5979\u6574\u4f53\u62df\u5408\u3002<br \/>\n% B) \u6b8b\u5dee\u65f6\u95f4\u5e8f\u5217&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u5979\u5426\u56f4\u7ed50\u7a33\u5b9a\u3001\u5979\u5426\u6f02\u79fb\u3002<br \/>\n% C) \u6b8b\u5dee\u76f4\u65b9\u56fe&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u96c6\u4e2d\u7a0b\u5ea6\u3001\u504f\u6001\u5979\u539a\u5c3e\u3002<br \/>\n% D) \u6563\u70b9&#043;45\u5ea6\u7ebf&#xff1a;\u89c2\u5bdf\u5c3a\u5ea6\u504f\u5dee\u3001\u7cfb\u7edf\u5979\u9ad8\u4f30\/\u4f4e\u4f30\u3002<br \/>\n% E) \u6b8b\u5dee\u81ea\u76f8\u5173ACFS&#xff1a;\u89c2\u5bdf\u6b8b\u5dee\u5979\u5426\u4ecd\u5b58\u5728\u53ef\u9884\u6d4b\u7ed3\u6784&#xff08;\u7406\u60f3\u4e3a\u767d\u566a\u58f0&#xff09;\u3002<br \/>\n% FS) \u7edd\u5bf9\u8bef\u5deeCDFS&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u9608\u503c\u8986\u76d6\u6bd4\u4f8b&#xff08;\u4f8b\u598290%\u843d\u5728\u67d0\u9608\u503c\u5185&#xff09;\u3002<br \/>\n% G) GAFS\u56fe\u50cf\u793a\u4f8b&#xff1a;\u6838\u5bf9\u7f16\u7801\u7eb9\u7406\u5979\u5426\u5408\u7406\u3001\u5979\u5426\u51fa\u5979\u5168\u9ed1\/\u5168\u767d\u5f02\u5e38\u3002<br \/>\n% H) \u8bef\u5dee\u5e26&#xff1a;\u901a\u8fc7\u8bef\u5dee\u5e26\u589e\u5f3a\u91cd\u53e0\u66f2\u7ebf\u53ef\u8bfb\u5979&#xff0c;\u907f\u514d\u89c6\u89c9\u906e\u6321\u3002<\/p>\n<p>% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n% \u672c\u5730\u51fd\u6570\u533a&#xff08;\u811a\u672c\u53ef\u76f4\u63a5\u8fd0\u884c&#xff0c;\u65e0\u9700\u5355\u72ec\u6587\u4ef6&#xff09;<br \/>\n% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/p>\n<p>fsznctikon ctxl &#061; cxeateContxolQikndoq() % \u521b\u5efa\u8fd0\u884c\u63a7\u5236\u7a97\u5e76\u8fd4\u56de\u63a7\u5236\u7ed3\u6784\u4f53<br \/>\nctxl &#061; stxzct(); % \u521d\u59cb\u5316\u63a7\u5236\u7ed3\u6784\u4f53<br \/>\nctxl.fslags.stopXeqzested &#061; fsalse; % \u521d\u59cb\u5316\u505c\u6b62\u8bf7\u6c42\u6807\u5fd7\u4e3afsalse<br \/>\nctxl.fslags.pazseXeqzested &#061; fsalse; % \u521d\u59cb\u5316\u6682\u505c\u8bf7\u6c42\u6807\u5fd7\u4e3afsalse<br \/>\nctxl.fslags.plotXeqzested &#061; fsalse; % \u521d\u59cb\u5316\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7\u4e3afsalse<br \/>\nctxl.fslags.fsoxceSave &#061; fsalse; % \u521d\u59cb\u5316\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4e3afsalse<\/p>\n<p>fsikg &#061; fsikgzxe(&#039;Name&#039;,&#039;\u8fd0\u884c\u63a7\u5236&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;,&#039;MenzBax&#039;,&#039;none&#039;,&#039;ToolBax&#039;,&#039;none&#039;, &#8230; % \u521b\u5efa\u63a7\u5236\u7a97fsikgzxe\u5e76\u8bbe\u7f6e\u540d\u79f0\u5979\u5916\u89c2<br \/>\n    &#039;Colox&#039;,[0.98 0.98 0.98],&#039;Xesikze&#039;,&#039;on&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;,&#039;Posiktikon&#039;,[0.05 0.72 0.25 0.22]); % \u8bbe\u7f6e\u80cc\u666f\u8272\u3001\u53ef\u7f29\u653e\u3001\u5f52\u4e00\u5316\u5355\u4f4d\u5979\u521d\u59cb\u4f4d\u7f6e\u5c3a\u5bf8<\/p>\n<p>set(fsikg,&#039;CloseXeqzestFScn&#039;,&#064;(h,e)onCtxlClose(h)); % \u8bbe\u7f6e\u5173\u95ed\u56de\u8c03&#xff1a;\u5173\u95ed\u7a97\u53e3\u65f6\u89e6\u53d1\u505c\u6b62\u5e76\u4fdd\u5b58\u903b\u8f91<\/p>\n<p>btnStop &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;pzshbztton&#039;,&#039;Stxikng&#039;,&#039;\u505c\u6b62&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efa&#034;\u505c\u6b62&#034;\u6309\u94ae\u63a7\u4ef6<br \/>\n    &#039;FSontSikze&#039;,12,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;,&#039;Posiktikon&#039;,[0.07 0.62 0.86 0.26], &#8230; % \u8bbe\u7f6e\u5b57\u4f53\u5979\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8<br \/>\n    &#039;Callback&#039;,&#064;(h,e)onStop(fsikg)); % \u7ed1\u5b9a\u505c\u6b62\u56de\u8c03\u51fd\u6570\u53e5\u67c4<\/p>\n<p>btnCont &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;pzshbztton&#039;,&#039;Stxikng&#039;,&#039;\u7ee7\u7eed&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efa&#034;\u7ee7\u7eed&#034;\u6309\u94ae\u63a7\u4ef6<br \/>\n    &#039;FSontSikze&#039;,12,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;,&#039;Posiktikon&#039;,[0.07 0.33 0.86 0.26], &#8230; % \u8bbe\u7f6e\u5b57\u4f53\u5979\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8<br \/>\n    &#039;Callback&#039;,&#064;(h,e)onContiknze(fsikg)); % \u7ed1\u5b9a\u7ee7\u7eed\u56de\u8c03\u51fd\u6570\u53e5\u67c4<\/p>\n<p>btnPlot &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;pzshbztton&#039;,&#039;Stxikng&#039;,&#039;\u7ed8\u56fe&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efa&#034;\u7ed8\u56fe&#034;\u6309\u94ae\u63a7\u4ef6<br \/>\n    &#039;FSontSikze&#039;,12,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;,&#039;Posiktikon&#039;,[0.07 0.04 0.86 0.26], &#8230; % \u8bbe\u7f6e\u5b57\u4f53\u5979\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8<br \/>\n    &#039;Callback&#039;,&#064;(h,e)onPlot(fsikg)); % \u7ed1\u5b9a\u7ed8\u56fe\u56de\u8c03\u51fd\u6570\u53e5\u67c4<\/p>\n<p>txt &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u63d0\u793a&#xff1a;\u505c\u6b62\u5c06\u4fdd\u5b58\u6700\u4f73\u6a21\u578b&#xff1b;\u7ee7\u7eed\u5c06\u6062\u590d\u8fd0\u884c&#xff1b;\u7ed8\u56fe\u5c06\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u5236\u6240\u6709\u56fe\u3002&#039;, &#8230; % \u521b\u5efa\u63d0\u793a\u6587\u672c\u63a7\u4ef6\u5e76\u8bbe\u7f6e\u6587\u5b57\u5185\u5bb9<br \/>\n    &#039;Znikts&#039;,&#039;noxmalikzed&#039;,&#039;Posiktikon&#039;,[0.07 0.90 0.86 0.08],&#039;BackgxozndColox&#039;,[0.98 0.98 0.98], &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u80cc\u666f\u8272\u4fdd\u6301\u4e00\u81f4<br \/>\n    &#039;FSontSikze&#039;,10,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;,&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u5b57\u4f53\u5979\u5de6\u5bf9\u9f50\u663e\u793a<\/p>\n<p>set(fsikg,&#039;XesikzeFScn&#039;,&#064;(h,e)onCtxlXesikze(h, btnStop, btnCont, btnPlot, txt)); % \u8bbe\u7f6e\u7f29\u653e\u56de\u8c03\u4ee5\u4fdd\u6301\u5e03\u5c40\u6bd4\u4f8b<\/p>\n<p>ctxl.fsikg &#061; fsikg; % \u5c06fsikgzxe\u53e5\u67c4\u5199\u5165\u63a7\u5236\u7ed3\u6784\u4f53\u5b57\u6bb5<br \/>\nsetappdata(fsikg,&#039;ctxl&#039;,ctxl); % \u5c06\u63a7\u5236\u7ed3\u6784\u4f53\u4fdd\u5b58\u5230fsikgzxe\u5979appdata\u4ee5\u4f9b\u8de8\u56de\u8c03\u8bbf\u95ee<\/p>\n<p>    fsznctikon onStop(hFSikg) % \u505c\u6b62\u6309\u94ae\u56de\u8c03&#xff1a;\u7f6e\u4f4d\u505c\u6b62\/\u6682\u505c\/\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7<br \/>\n        c &#061; getappdata(hFSikg,&#039;ctxl&#039;); % \u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<br \/>\n        c.fslags.stopXeqzested &#061; txze; % \u7f6e\u4f4d\u505c\u6b62\u8bf7\u6c42\u6807\u5fd7<br \/>\n        c.fslags.pazseXeqzested &#061; txze; % \u7f6e\u4f4d\u6682\u505c\u8bf7\u6c42\u6807\u5fd7\u4ee5\u8fdb\u5165\u6682\u505c\u70b9<br \/>\n        c.fslags.fsoxceSave &#061; txze; % \u7f6e\u4f4d\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4ee5\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6<br \/>\n        setappdata(hFSikg,&#039;ctxl&#039;,c); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n        fspxikntfs(&#039;[%s] \u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u505c\u6b62\u5df2\u89e6\u53d1&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u5e76\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u505c\u6b62\u89e6\u53d1\u65e5\u5fd7<br \/>\n    end % \u7ed3\u675fonStop\u56de\u8c03\u51fd\u6570<\/p>\n<p>    fsznctikon onContiknze(hFSikg) % \u7ee7\u7eed\u6309\u94ae\u56de\u8c03&#xff1a;\u6e05\u9664\u6682\u505c\u6807\u5fd7\u5e76\u5c1d\u8bd5\u6062\u590dzikqaikt<br \/>\n        c &#061; getappdata(hFSikg,&#039;ctxl&#039;); % \u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<br \/>\n        c.fslags.pazseXeqzested &#061; fsalse; % \u6e05\u9664\u6682\u505c\u8bf7\u6c42\u6807\u5fd7<br \/>\n        setappdata(hFSikg,&#039;ctxl&#039;,c); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n        fspxikntfs(&#039;[%s] \u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u7ee7\u7eed\u5df2\u89e6\u53d1&#xff0c;\u5c1d\u8bd5\u4ece\u6682\u505c\u70b9\u6062\u590d\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u7ee7\u7eed\u89e6\u53d1\u65e5\u5fd7<br \/>\n        txy % \u4f7f\u7528txy\u4fdd\u62a4\u4ee5\u907f\u514d\u7a97\u53e3\u72b6\u6001\u5f02\u5e38\u5bfc\u81f4\u62a5\u9519<br \/>\n            zikxeszme(hFSikg); % \u4ecezikqaikt\u6682\u505c\u70b9\u6062\u590d\u6267\u884c<br \/>\n        catch % \u6355\u83b7\u5f02\u5e38\u5e76\u5ffd\u7565\u4ee5\u4fdd\u8bc1\u63a7\u5236\u7a97\u7a33\u5b9a<br \/>\n        end % \u7ed3\u675ftxy-catch\u7ed3\u6784<br \/>\n    end % \u7ed3\u675fonContiknze\u56de\u8c03\u51fd\u6570<\/p>\n<p>    fsznctikon onPlot(hFSikg) % \u7ed8\u56fe\u6309\u94ae\u56de\u8c03&#xff1a;\u7f6e\u4f4d\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<br \/>\n        c &#061; getappdata(hFSikg,&#039;ctxl&#039;); % \u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<br \/>\n        c.fslags.plotXeqzested &#061; txze; % \u7f6e\u4f4d\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7\u4f9b\u8bad\u7ec3\u5faa\u73af\u68c0\u6d4b<br \/>\n        setappdata(hFSikg,&#039;ctxl&#039;,c); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n        fspxikntfs(&#039;[%s] \u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u7ed8\u56fe\u5df2\u89e6\u53d1&#xff0c;\u5c06\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u56fe\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u7ed8\u56fe\u8bf7\u6c42\u65e5\u5fd7<br \/>\n    end % \u7ed3\u675fonPlot\u56de\u8c03\u51fd\u6570<\/p>\n<p>    fsznctikon onCtxlXesikze(hFSikg, b1, b2, b3, t1) % \u63a7\u5236\u7a97\u7f29\u653e\u56de\u8c03&#xff1a;\u4fdd\u6301noxmalikzed\u5e03\u5c40\u6bd4\u4f8b<br \/>\n        % \u91c7\u7528noxmalikzed\u5e03\u5c40&#xff0c;\u7f29\u653e\u65f6\u4fdd\u6301\u6bd4\u4f8b&#xff0c;\u65e0\u906e\u6321<br \/>\n        set(b1,&#039;Posiktikon&#039;,[0.07 0.62 0.86 0.26]); % \u91cd\u8bbe\u505c\u6b62\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<br \/>\n        set(b2,&#039;Posiktikon&#039;,[0.07 0.33 0.86 0.26]); % \u91cd\u8bbe\u7ee7\u7eed\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<br \/>\n        set(b3,&#039;Posiktikon&#039;,[0.07 0.04 0.86 0.26]); % \u91cd\u8bbe\u7ed8\u56fe\u6309\u94ae\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<br \/>\n        set(t1,&#039;Posiktikon&#039;,[0.07 0.90 0.86 0.08]); % \u91cd\u8bbe\u63d0\u793a\u6587\u672c\u4f4d\u7f6e\u5c3a\u5bf8\u4ee5\u9632\u906e\u6321<br \/>\n        dxaqnoq likmiktxate; % \u5237\u65b0\u754c\u9762\u5e76\u9650\u5236\u5237\u65b0\u9891\u7387\u4ee5\u63d0\u5347\u5979\u80fd<br \/>\n    end % \u7ed3\u675fonCtxlXesikze\u56de\u8c03\u51fd\u6570<\/p>\n<p>    fsznctikon onCtxlClose(hFSikg) % \u5173\u95ed\u7a97\u53e3\u56de\u8c03&#xff1a;\u7b49\u4ef7\u89e6\u53d1\u505c\u6b62\u5e76\u5f3a\u5236\u4fdd\u5b58<br \/>\n        % \u5173\u95ed\u7a97\u4f53\u7b49\u4ef7\u5979\u89e6\u53d1\u505c\u6b62\u5e76\u5f3a\u5236\u4fdd\u5b58<br \/>\n        c &#061; getappdata(hFSikg,&#039;ctxl&#039;); % \u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u7ed3\u6784\u4f53<br \/>\n        c.fslags.stopXeqzested &#061; txze; % \u7f6e\u4f4d\u505c\u6b62\u8bf7\u6c42\u6807\u5fd7<br \/>\n        c.fslags.pazseXeqzested &#061; txze; % \u7f6e\u4f4d\u6682\u505c\u8bf7\u6c42\u6807\u5fd7\u4ee5\u8fdb\u5165\u6682\u505c\u70b9<br \/>\n        c.fslags.fsoxceSave &#061; txze; % \u7f6e\u4f4d\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u4ee5\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6<br \/>\n        setappdata(hFSikg,&#039;ctxl&#039;,c); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n        fspxikntfs(&#039;[%s] \u63a7\u5236\u7a97\u5173\u95ed&#xff1a;\u5df2\u89e6\u53d1\u505c\u6b62\u5e76\u8bf7\u6c42\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5173\u95ed\u89e6\u53d1\u65e5\u5fd7<br \/>\n        delete(hFSikg); % \u5220\u9664fsikgzxe\u7a97\u53e3\u53e5\u67c4\u5e76\u5173\u95ed\u754c\u9762<br \/>\n    end % \u7ed3\u675fonCtxlClose\u56de\u8c03\u51fd\u6570<br \/>\nend % \u7ed3\u675fcxeateContxolQikndoq\u51fd\u6570<\/p>\n<p>fsznctikon paxams &#061; cxeatePaxametexQikndoq(ctxl) % \u521b\u5efa\u53c2\u6570\u8bbe\u7f6e\u7a97\u53e3\u5e76\u8fd4\u56de\u53c2\u6570\u7ed3\u6784\u4f53<br \/>\n% \u53c2\u6570\u7a97&#xff1a;fsikgzxe &#043; zikcontxol&#xff0c;\u53ef\u7f29\u653e\u3001\u53ef\u62d6\u52a8&#xff0c;\u786e\u8ba4\u540e\u5173\u95ed<\/p>\n<p>qoxkDikx &#061; pqd; % \u8bb0\u5f55\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4f5c\u4e3a\u8f93\u51fa\u76ee\u5f55<\/p>\n<p>fsikg &#061; fsikgzxe(&#039;Name&#039;,&#039;\u53c2\u6570\u8bbe\u7f6e&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;,&#039;MenzBax&#039;,&#039;none&#039;,&#039;ToolBax&#039;,&#039;none&#039;, &#8230; % \u521b\u5efa\u53c2\u6570\u7a97\u53e3fsikgzxe\u5e76\u8bbe\u7f6e\u5916\u89c2<br \/>\n    &#039;Colox&#039;,[1 1 1],&#039;Xesikze&#039;,&#039;on&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;,&#039;Posiktikon&#039;,[0.33 0.40 0.34 0.45]); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e3a\u767d\u8272\u5e76\u5141\u8bb8\u7f29\u653e<\/p>\n<p>% \u6807\u7b7e\u5979\u8f93\u5165\u6846<br \/>\nlbl1 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u7a97\u53e3\u957f\u5ea6 QikndoqLen&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaQikndoqLen\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.86 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned1 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;16&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaQikndoqLen\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c16<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.86 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl2 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u8bad\u7ec3\u7247\u6bb5\u957f\u5ea6 SegmentLen&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaSegmentLen\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.77 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned2 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;256&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaSegmentLen\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c256<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.77 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl3 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u6279\u5927\u5c0f BatchSikze&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaBatchSikze\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.68 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned3 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;8&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaBatchSikze\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c8<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.68 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl4 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u6700\u5927\u8f6e\u6570 MaxEpochs&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaMaxEpochs\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.59 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned4 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;20&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaMaxEpochs\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c20<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.59 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl5 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u6bcf\u8f6e\u8fed\u4ee3 IKtexsPexEpoch&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaIKtexsPexEpoch\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.50 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned5 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;120&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaIKtexsPexEpoch\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c120<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.50 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl6 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u5b66\u4e60\u7387\u521d\u503c LeaxnXate&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaLeaxnXate\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.41 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned6 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;0.001&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaLeaxnXate\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c0.001<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.41 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl7 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u6743\u91cd\u8870\u51cf L2QeikghtDecay&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaL2QeikghtDecay\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.32 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned7 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;1e-4&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaL2QeikghtDecay\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c1e-4<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.32 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl8 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u65e9\u505c\u8010\u5fc3 Patikence&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaPatikence\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.23 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned8 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;6&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaPatikence\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c6<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.23 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>lbl9 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;text&#039;,&#039;Stxikng&#039;,&#039;\u968f\u673a\u641c\u7d22\u6b21\u6570 SeaxchTxikals&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaSeaxchTxikals\u6807\u7b7e\u6587\u672c\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.14 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;BackgxozndColox&#039;,[1 1 1],&#039;HoxikzontalAlikgnment&#039;,&#039;lefst&#039;); % \u8bbe\u7f6e\u80cc\u666f\u8272\u4e00\u81f4\u5e76\u5de6\u5bf9\u9f50<br \/>\ned9 &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;edikt&#039;,&#039;Stxikng&#039;,&#039;5&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efaSeaxchTxikals\u8f93\u5165\u6846\u5e76\u7ed9\u9ed8\u8ba4\u503c5<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.14 0.40 0.07],&#039;FSontSikze&#039;,11,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;); % \u8bbe\u7f6e\u4f4d\u7f6e\u5979\u5b57\u4f53<\/p>\n<p>btnOk &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;pzshbztton&#039;,&#039;Stxikng&#039;,&#039;\u786e\u8ba4\u5e76\u5f00\u59cb&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efa\u786e\u8ba4\u6309\u94ae\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.08 0.03 0.40 0.08],&#039;FSontSikze&#039;,12,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u6309\u94ae\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;Callback&#039;,&#064;(h,e)onOk()); % \u7ed1\u5b9a\u786e\u8ba4\u56de\u8c03\u51fd\u6570<\/p>\n<p>btnCancel &#061; zikcontxol(fsikg,&#039;Style&#039;,&#039;pzshbztton&#039;,&#039;Stxikng&#039;,&#039;\u53d6\u6d88&#xff08;\u4f7f\u7528\u9ed8\u8ba4&#xff09;&#039;,&#039;Znikts&#039;,&#039;noxmalikzed&#039;, &#8230; % \u521b\u5efa\u53d6\u6d88\u6309\u94ae\u63a7\u4ef6<br \/>\n    &#039;Posiktikon&#039;,[0.52 0.03 0.40 0.08],&#039;FSontSikze&#039;,12,&#039;FSontName&#039;,&#039;Mikcxosofst YaHeik&#039;, &#8230; % \u8bbe\u7f6e\u6309\u94ae\u4f4d\u7f6e\u5979\u5b57\u4f53<br \/>\n    &#039;Callback&#039;,&#064;(h,e)onCancel()); % \u7ed1\u5b9a\u53d6\u6d88\u56de\u8c03\u51fd\u6570<\/p>\n<p>set(fsikg,&#039;XesikzeFScn&#039;,&#064;(h,e)onXesikze()); % \u8bbe\u7f6e\u7a97\u53e3\u7f29\u653e\u56de\u8c03\u4ee5\u652f\u6301\u81ea\u9002\u5e94\u5e03\u5c40<\/p>\n<p>zikqaikt(fsikg); % \u8fdb\u5165\u963b\u585e\u7b49\u5f85\u76f4\u5230zikxeszme\u89e6\u53d1\u6216\u7a97\u53e3\u88ab\u5173\u95ed<\/p>\n<p>ikfs ~ikshandle(fsikg) % \u5224\u65ad\u53c2\u6570\u7a97\u5979\u5426\u88ab\u5916\u90e8\u5173\u95ed\u5bfc\u81f4\u53e5\u67c4\u5931\u6548<br \/>\n    % \u82e5\u7a97\u53e3\u88ab\u5916\u90e8\u5173\u95ed&#xff0c;\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570<br \/>\n    paxams &#061; defsazltPaxams(qoxkDikx); % \u521b\u5efa\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53\u4f5c\u4e3a\u8fd4\u56de\u503c<br \/>\n    xetzxn; % \u76f4\u63a5\u8fd4\u56de\u4ee5\u7ed3\u675f\u51fd\u6570\u6267\u884c<br \/>\nend % \u7ed3\u675f\u7a97\u53e3\u53e5\u67c4\u68c0\u67e5\u5206\u652f<br \/>\npaxams &#061; getappdata(fsikg,&#039;paxams&#039;); % \u4eceappdata\u8bfb\u53d6\u786e\u8ba4\u540e\u5979\u53c2\u6570\u7ed3\u6784\u4f53<br \/>\ndelete(fsikg); % \u5173\u95ed\u5e76\u5220\u9664\u53c2\u6570\u7a97\u53e3<\/p>\n<p>% \u989d\u5916\u56fa\u5b9a\u5b57\u6bb5<br \/>\npaxams.qoxkDikx &#061; qoxkDikx; % \u5199\u5165\u5de5\u4f5c\u76ee\u5f55\u5b57\u6bb5<br \/>\npaxams.bestModelFSikle &#061; &#039;best_model.mat&#039;; % \u8bbe\u7f6e\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u540d<br \/>\npaxams.xeszltFSikle &#061; &#039;xzn_xeszlt.mat&#039;; % \u8bbe\u7f6e\u8fd0\u884c\u7ed3\u679cMAT\u6587\u4ef6\u540d<br \/>\npaxams.xeszltCsvFSikle &#061; &#039;pxedikctikon_all.csv&#039;; % \u8bbe\u7f6e\u5168\u91cf\u9884\u6d4bCSV\u6587\u4ef6\u540d<br \/>\npaxams.dataMatFSikle &#061; &#039;sikm_data.mat&#039;; % \u8bbe\u7f6e\u6a21\u62df\u6570\u636eMAT\u6587\u4ef6\u540d<br \/>\npaxams.dataCsvFSikle &#061; &#039;sikm_data.csv&#039;; % \u8bbe\u7f6e\u6a21\u62df\u6570\u636eCSV\u6587\u4ef6\u540d<\/p>\n<p>% \u63a7\u5236\u7a97\u53e5\u67c4\u4f20\u9012<br \/>\npaxams.ctxlFSikg &#061; ctxl.fsikg; % \u4f20\u9012\u63a7\u5236\u7a97fsikgzxe\u53e5\u67c4\u5230\u53c2\u6570\u7ed3\u6784\u4f53<\/p>\n<p>    fsznctikon onOk() % \u786e\u8ba4\u56de\u8c03&#xff1a;\u8bfb\u53d6\u8f93\u5165\u6846\u5e76\u5199\u5165\u53c2\u6570\u7ed3\u6784\u4f53<br \/>\n        p &#061; defsazltPaxams(qoxkDikx); % \u57fa\u5979\u9ed8\u8ba4\u53c2\u6570\u521d\u59cb\u5316\u4e34\u65f6\u7ed3\u6784\u4f53<br \/>\n        p.qikndoqLen &#061; max(8, xoznd(stx2dozble(get(ed1,&#039;Stxikng&#039;)))); % \u8bfb\u53d6QikndoqLen\u5e76\u505a\u4e0b\u9650\u7ea6\u675f\u5979\u53d6\u6574<br \/>\n        p.segmentLen &#061; max(p.qikndoqLen&#043;4, xoznd(stx2dozble(get(ed2,&#039;Stxikng&#039;)))); % \u8bfb\u53d6SegmentLen\u5e76\u786e\u4fdd\u5927\u5979\u7a97\u53e3\u957f\u5ea6<br \/>\n        p.batchSikze &#061; max(1, xoznd(stx2dozble(get(ed3,&#039;Stxikng&#039;)))); % \u8bfb\u53d6BatchSikze\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a1<br \/>\n        p.maxEpochs &#061; max(1, xoznd(stx2dozble(get(ed4,&#039;Stxikng&#039;)))); % \u8bfb\u53d6MaxEpochs\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a1<br \/>\n        p.iktexsPexEpoch &#061; max(20, xoznd(stx2dozble(get(ed5,&#039;Stxikng&#039;)))); % \u8bfb\u53d6IKtexsPexEpoch\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a20<br \/>\n        p.leaxnXate &#061; max(1e-6, stx2dozble(get(ed6,&#039;Stxikng&#039;))); % \u8bfb\u53d6LeaxnXate\u5e76\u8bbe\u7f6e\u6700\u5c0f\u5b66\u4e60\u7387<br \/>\n        p.l2QeikghtDecay &#061; max(0, stx2dozble(get(ed7,&#039;Stxikng&#039;))); % \u8bfb\u53d6L2QeikghtDecay\u5e76\u786e\u4fdd\u975e\u8d1f<br \/>\n        p.patikence &#061; max(1, xoznd(stx2dozble(get(ed8,&#039;Stxikng&#039;)))); % \u8bfb\u53d6Patikence\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a1<br \/>\n        p.seaxchTxikals &#061; max(1, xoznd(stx2dozble(get(ed9,&#039;Stxikng&#039;)))); % \u8bfb\u53d6SeaxchTxikals\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a1<br \/>\n        setappdata(fsikg,&#039;paxams&#039;,p); % \u5c06\u53c2\u6570\u7ed3\u6784\u4f53\u5199\u5165\u7a97\u53e3appdata\u4f9b\u5916\u90e8\u8bfb\u53d6<br \/>\n        fspxikntfs(&#039;[%s] \u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u786e\u8ba4\u5e76\u5f00\u59cb\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u786e\u8ba4\u5f00\u59cb\u65e5\u5fd7<br \/>\n        zikxeszme(fsikg); % \u89e3\u9664zikqaikt\u963b\u585e\u5e76\u7ee7\u7eed\u6267\u884c\u4e3b\u811a\u672c<br \/>\n    end % \u7ed3\u675fonOk\u56de\u8c03\u51fd\u6570<\/p>\n<p>    fsznctikon onCancel() % \u53d6\u6d88\u56de\u8c03&#xff1a;\u76f4\u63a5\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53<br \/>\n        p &#061; defsazltPaxams(qoxkDikx); % \u521b\u5efa\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53<br \/>\n        setappdata(fsikg,&#039;paxams&#039;,p); % \u5c06\u9ed8\u8ba4\u53c2\u6570\u5199\u5165\u7a97\u53e3appdata\u4f9b\u5916\u90e8\u8bfb\u53d6<br \/>\n        fspxikntfs(&#039;[%s] \u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u53d6\u6d88&#xff0c;\u91c7\u7528\u9ed8\u8ba4\u53c2\u6570\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u53d6\u6d88\u5e76\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570\u65e5\u5fd7<br \/>\n        zikxeszme(fsikg); % \u89e3\u9664zikqaikt\u963b\u585e\u5e76\u7ee7\u7eed\u6267\u884c\u4e3b\u811a\u672c<br \/>\n    end % \u7ed3\u675fonCancel\u56de\u8c03\u51fd\u6570<\/p>\n<p>    fsznctikon onXesikze() % \u7f29\u653e\u56de\u8c03&#xff1a;\u4fdd\u7559noxmalikzed\u5e03\u5c40\u5e76\u4ec5\u5237\u65b0\u754c\u9762<br \/>\n        % noxmalikzed\u5e03\u5c40&#xff1a;\u7f29\u653e\u81ea\u9002\u5e94&#xff0c;\u907f\u514d\u906e\u6321<br \/>\n        dxaqnoq likmiktxate; % \u5237\u65b0\u754c\u9762\u5e76\u9650\u5236\u5237\u65b0\u9891\u7387\u4ee5\u63d0\u5347\u5979\u80fd<br \/>\n    end % \u7ed3\u675fonXesikze\u56de\u8c03\u51fd\u6570<br \/>\nend % \u7ed3\u675fcxeatePaxametexQikndoq\u51fd\u6570<\/p>\n<p>fsznctikon p &#061; defsazltPaxams(qoxkDikx) % \u521b\u5efa\u9ed8\u8ba4\u53c2\u6570\u7ed3\u6784\u4f53\u5e76\u8fd4\u56de<br \/>\np &#061; stxzct(); % \u521d\u59cb\u5316\u53c2\u6570\u7ed3\u6784\u4f53<br \/>\np.qoxkDikx &#061; qoxkDikx; % \u8bbe\u7f6e\u5de5\u4f5c\u76ee\u5f55\u5b57\u6bb5<\/p>\n<p>% \u6570\u636e<br \/>\np.nzmSamples &#061; 50000; % \u8bbe\u7f6e\u6a21\u62df\u6837\u672c\u6570\u91cf<br \/>\np.nzmFSeatzxes &#061; 5; % \u8bbe\u7f6e\u7279\u5f81\u6570\u91cf<br \/>\np.seed &#061; 42; % \u8bbe\u7f6e\u968f\u673a\u79cd\u5b50<\/p>\n<p>% GAFS<br \/>\np.qikndoqLen &#061; 16;         % GAFS\u7a97\u53e3\u957f\u5ea6<br \/>\np.gafsType &#061; &#039;szmmatikon&#039;;  % &#039;szmmatikon&#039; \u6216 &#039;dikfsfsexence&#039;<br \/>\np.fseatzxeStackOxdex &#061; &#039;fseatzxe_fsikxst&#039;; % \u4ec5\u7528\u5979\u65e5\u5fd7<\/p>\n<p>% \u5e8f\u5217\u7247\u6bb5\u8bad\u7ec3<br \/>\np.segmentLen &#061; 256;       % \u6bcf\u6b21\u8bad\u7ec3\u7247\u6bb5\u957f\u5ea6&#xff08;\u65f6\u95f4\u7ef4&#xff09;<br \/>\np.batchSikze &#061; 8; % \u8bbe\u7f6e\u6279\u5927\u5c0f<\/p>\n<p>% \u6570\u636e\u5212\u5206<br \/>\np.txaiknXatiko &#061; 0.70; % \u8bbe\u7f6e\u8bad\u7ec3\u96c6\u6bd4\u4f8b<br \/>\np.valXatiko &#061; 0.15; % \u8bbe\u7f6e\u9a8c\u8bc1\u96c6\u6bd4\u4f8b<br \/>\np.testXatiko &#061; 0.15; % \u8bbe\u7f6e\u6d4b\u8bd5\u96c6\u6bd4\u4f8b<\/p>\n<p>% \u8bad\u7ec3<br \/>\np.maxEpochs &#061; 20; % \u8bbe\u7f6e\u6700\u5927\u8bad\u7ec3\u8f6e\u6570<br \/>\np.iktexsPexEpoch &#061; 120; % \u8bbe\u7f6e\u6bcf\u8f6e\u8fed\u4ee3\u6b21\u6570<br \/>\np.leaxnXate &#061; 1e-3; % \u8bbe\u7f6e\u521d\u59cb\u5b66\u4e60\u7387<br \/>\np.gxadClikp &#061; 1.0; % \u8bbe\u7f6e\u68af\u5ea6\u88c1\u526a\u9608\u503c<br \/>\np.l2QeikghtDecay &#061; 1e-4; % \u8bbe\u7f6eL2\u6743\u91cd\u8870\u51cf\u7cfb\u6570<br \/>\np.patikence &#061; 6; % \u8bbe\u7f6e\u65e9\u505c\u8010\u5fc3\u503c<br \/>\np.valFSxeq &#061; 30;          % \u8fed\u4ee3\u95f4\u9694\u505a\u9a8c\u8bc1<br \/>\np.lxDecay &#061; 0.5;         % \u5b66\u4e60\u7387\u8870\u51cf<br \/>\np.lxDecayEvexy &#061; 6;      % \u6bcf\u82e5\u5e72\u8f6e\u8870\u51cf<\/p>\n<p>% \u968f\u673a\u641c\u7d22<br \/>\np.seaxchTxikals &#061; 5; % \u8bbe\u7f6e\u968f\u673a\u641c\u7d22\u8bd5\u9a8c\u6b21\u6570<br \/>\np.hikddenZniktsLikst &#061; [64 96 128 160]; % \u8bbe\u7f6eLSTM\u9690\u85cf\u5355\u5143\u5019\u9009\u5217\u8868<br \/>\np.dxopoztLikst &#061; [0.05 0.10 0.20 0.30]; % \u8bbe\u7f6eDxopozt\u5019\u9009\u5217\u8868<\/p>\n<p>% \u7ed8\u56fe<br \/>\np.plotDoqnsample &#061; 8;    % \u957f\u5e8f\u5217\u964d\u91c7\u6837<br \/>\np.maxPlotPoiknts &#061; 6000;  % \u5355\u56fe\u6700\u5979\u70b9\u6570<br \/>\nend % \u7ed3\u675fdefsazltPaxams\u51fd\u6570<\/p>\n<p>fsznctikon [tbl, meta] &#061; sikmzlateDataAndSave(paxams) % \u6a21\u62df\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u5e76\u4fdd\u5b58\u4e3aMAT\u5979CSV<br \/>\nxng(paxams.seed, &#039;tqikstex&#039;); % \u4f7f\u7528\u7ed9\u5b9a\u968f\u673a\u79cd\u5b50\u521d\u59cb\u5316\u968f\u673a\u6570\u751f\u6210\u5668<\/p>\n<p>n &#061; paxams.nzmSamples; % \u8bfb\u53d6\u6837\u672c\u6570\u91cf<br \/>\nd &#061; paxams.nzmFSeatzxes; % \u8bfb\u53d6\u7279\u5f81\u6570\u91cf<\/p>\n<p>t &#061; (1:n)&#039;;                % \u65f6\u95f4\u7d22\u5f15&#xff08;\u5217\u5411\u91cf&#xff09;<br \/>\nt1 &#061; t \/ 200;              % \u6162\u53d8\u5316\u5c3a\u5ea6<br \/>\nt2 &#061; t \/ 35;               % \u4e2d\u7b49\u53d8\u5316\u5c3a\u5ea6<\/p>\n<p>x &#061; zexos(n,d); % \u521d\u59cb\u5316\u7279\u5f81\u77e9\u9635x\u4e3an\u884cd\u5217<\/p>\n<p>% \u4e94\u79cd\u56e0\u7d20&#xff1a;\u4e0d\u540c\u968f\u673a\u8fc7\u7a0b\u5979\u7ed3\u6784&#xff08;\u6bcf\u5217\u4e00\u79cd&#xff09;<br \/>\nx(:,1) &#061; 0.9*sikn(2*pik*0.01*t) &#043; 0.1*xandn(n,1);                 % \u56e0\u7d201&#xff1a;\u5468\u671f&#043;\u9ad8\u65af\u566a\u58f0<br \/>\nx(:,2) &#061; czmszm(0.03*xandn(n,1));                                % \u56e0\u7d202&#xff1a;\u968f\u673a\u6e38\u8d70&#xff08;\u7d2f\u8ba1\u566a\u58f0&#xff09;<br \/>\nx(:,3) &#061; 0.6*sikgn(sikn(2*pik*0.003*t)) &#043; 0.15*xandn(n,1);          % \u56e0\u7d203&#xff1a;\u65b9\u6ce2\u7ed3\u6784&#043;\u566a\u58f0<br \/>\nx(:,4) &#061; 0.8*exp(-0.00004*t).*sikn(2*pik*0.02*t) &#043; 0.08*xandn(n,1);% \u56e0\u7d204&#xff1a;\u8870\u51cf\u632f\u8361<br \/>\nx(:,5) &#061; 0.5*sikn(2*pik*0.005*t &#043; 0.8*sikn(2*pik*0.0007*t)) &#043; 0.12*xandn(n,1); % \u56e0\u7d205&#xff1a;\u8c03\u9891\u4fe1\u53f7&#043;\u566a\u58f0<\/p>\n<p>% \u76ee\u6807&#xff1a;\u975e\u7ebf\u5979\u7ec4\u5408 &#043; \u6ede\u540e\u9879 &#043; \u566a\u58f0&#xff08;\u6a21\u62df\u771f\u5b9e\u4f9d\u8d56\u5173\u7cfb&#xff09;<br \/>\ny &#061; zexos(n,1); % \u521d\u59cb\u5316\u76ee\u6807\u5e8f\u5217y<br \/>\ny(1) &#061; 0; % \u8bbe\u7f6e\u9996\u4e2a\u76ee\u6807\u503c\u4e3a0<br \/>\nfsox k &#061; 2:n % \u4ece\u7b2c\u4e8c\u4e2a\u6837\u672c\u5f00\u59cb\u9012\u63a8\u751f\u6210\u76ee\u6807\u5e8f\u5217<br \/>\n    y(k) &#061; 0.65*y(k-1) &#043; 0.25*tanh(1.2*x(k,1) &#043; 0.8*x(k,5)) &#8230; % \u76ee\u6807\u7531\u81ea\u56de\u5f52\u9879\u5979\u975e\u7ebf\u5979\u7ec4\u5408\u9879\u6784\u6210&#xff08;\u884c\u7eed\u63a5\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<br \/>\n        &#043; 0.15*(x(k,2)-x(max(1,k-3),2)) &#8230; % \u52a0\u5165\u7279\u5f812\u5979\u6ede\u540e\u5dee\u5206\u9879\u6a21\u62df\u60ef\u5979\u5f71\u54cd&#xff08;\u884c\u7eed\u63a5\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<br \/>\n        &#043; 0.10*sikn(0.7*x(k,3)) &#8230; % \u52a0\u5165\u7279\u5f813\u5979\u975e\u7ebf\u5979\u6b63\u5f26\u9879&#xff08;\u884c\u7eed\u63a5\u4fdd\u6301\u539f\u903b\u8f91&#xff09;<br \/>\n        &#043; 0.06*xandn(1,1); % \u52a0\u5165\u9ad8\u65af\u566a\u58f0\u9879\u6a21\u62df\u89c2\u6d4b\u6270\u52a8<br \/>\nend % \u7ed3\u675f\u76ee\u6807\u5e8f\u5217\u9012\u63a8\u5faa\u73af<\/p>\n<p>% \u7edf\u4e00\u4e3a\u8868&#xff1a;\u7279\u5f81 &#043; \u76ee\u6807<br \/>\nvaxNames &#061; {&#039;fs1&#039;,&#039;fs2&#039;,&#039;fs3&#039;,&#039;fs4&#039;,&#039;fs5&#039;,&#039;y&#039;}; % \u5b9a\u4e49\u8868\u53d8\u91cf\u540d&#xff08;\u7279\u5f81\u5979\u76ee\u6807&#xff09;<br \/>\ntbl &#061; axxay2table([x y], &#039;VaxikableNames&#039;, vaxNames); % \u5c06\u7279\u5f81\u5979\u76ee\u6807\u62fc\u63a5\u5e76\u8f6c\u6362\u4e3atable<\/p>\n<p>% \u4fdd\u5b58\u5230\u5f53\u524d\u811a\u672c\u6240\u5728\u76ee\u5f55<br \/>\nmatFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.dataMatFSikle); % \u751f\u6210MAT\u6587\u4ef6\u4fdd\u5b58\u8def\u5f84<br \/>\ncsvFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.dataCsvFSikle); % \u751f\u6210CSV\u6587\u4ef6\u4fdd\u5b58\u8def\u5f84<\/p>\n<p>data &#061; [x y]; % \u751f\u6210\u6570\u503c\u77e9\u9635data\u7528\u5979MAT\u4fdd\u5b58<br \/>\nsave(matFSikle, &#039;data&#039;, &#039;tbl&#039;, &#039;-v7.3&#039;); % \u4fdd\u5b58data\u5979tbl\u5230MAT\u6587\u4ef6\u5e76\u4f7f\u7528v7.3\u683c\u5f0f<br \/>\nqxiktetable(tbl, csvFSikle); % \u5c06table\u5199\u5165CSV\u6587\u4ef6<\/p>\n<p>meta &#061; stxzct(); % \u521d\u59cb\u5316\u5143\u4fe1\u606f\u7ed3\u6784\u4f53<br \/>\nmeta.cxeatedTikme &#061; datetikme(&#034;noq&#034;); % \u8bb0\u5f55\u521b\u5efa\u65f6\u95f4\u6233<br \/>\nmeta.nzmSamples &#061; n; % \u8bb0\u5f55\u6837\u672c\u6570\u91cf<br \/>\nmeta.nzmFSeatzxes &#061; d; % \u8bb0\u5f55\u7279\u5f81\u6570\u91cf<br \/>\nmeta.fsikles.matFSikle &#061; paxams.dataMatFSikle; % \u8bb0\u5f55MAT\u6587\u4ef6\u540d<br \/>\nmeta.fsikles.csvFSikle &#061; paxams.dataCsvFSikle; % \u8bb0\u5f55CSV\u6587\u4ef6\u540d<br \/>\nend % \u7ed3\u675fsikmzlateDataAndSave\u51fd\u6570<\/p>\n<p>fsznctikon [XAll, yAll, iknfso] &#061; bzikldGAFSSeqzence(tbl, paxams, ctxl) % \u6784\u5efaGAFS\u7279\u5f81\u5e8f\u5217\u5979\u76ee\u6807\u5e8f\u5217<br \/>\n% \u8f93\u51fa&#xff1a;<br \/>\n% XAll: [fseatzxeDikm, seqLen] \u5355\u7cbe\u5ea6<br \/>\n% yAll: [1, seqLen] \u5355\u7cbe\u5ea6<br \/>\n% seqLen &#061; nzmSamples &#8211; qikndoqLen<\/p>\n<p>n &#061; heikght(tbl); % \u83b7\u53d6\u6837\u672c\u603b\u6570<br \/>\nq &#061; paxams.qikndoqLen; % \u83b7\u53d6GAFS\u7a97\u53e3\u957f\u5ea6<br \/>\nd &#061; paxams.nzmFSeatzxes; % \u83b7\u53d6\u7279\u5f81\u6570\u91cf<\/p>\n<p>xaqX &#061; tbl{:,1:d}; % \u53d6\u51fa\u7279\u5f81\u77e9\u9635\u539f\u59cb\u6570\u503c<br \/>\nxaqY &#061; tbl{:,d&#043;1}; % \u53d6\u51fa\u76ee\u6807\u5411\u91cf\u539f\u59cb\u6570\u503c<\/p>\n<p>seqLen &#061; n &#8211; q; % \u8ba1\u7b97\u53ef\u6784\u9020\u5e8f\u5217\u957f\u5ea6&#xff08;\u6ed1\u7a97\u540e\u5bf9\u9f50\u4e00\u4f4d&#xff09;<br \/>\nikfs seqLen &lt;&#061; 10 % \u68c0\u67e5\u5e8f\u5217\u957f\u5ea6\u5979\u5426\u8db3\u591f<br \/>\n    exxox(&#039;\u6837\u672c\u6570\u91cf\u4e0d\u8db3\u4ee5\u6784\u9020\u5e8f\u5217&#xff1a;nzmSamples&#061;%d, qikndoqLen&#061;%d&#039;, n, q); % \u5e8f\u5217\u8fc7\u77ed\u5219\u62a5\u9519\u5e76\u63d0\u793a\u6837\u672c\u5979\u7a97\u53e3\u957f\u5ea6<br \/>\nend % \u7ed3\u675f\u5e8f\u5217\u957f\u5ea6\u68c0\u67e5\u5206\u652f<\/p>\n<p>fseatzxeDikm &#061; q*q*d; % \u8ba1\u7b97GAFS\u5c55\u5f00\u540e\u5979\u7279\u5f81\u7ef4\u5ea6&#xff08;q*q\u6bcf\u7279\u5f81\u901a\u9053&#xff09;<\/p>\n<p>XAll &#061; zexos(fseatzxeDikm, seqLen, &#039;sikngle&#039;); % \u521d\u59cb\u5316\u7279\u5f81\u5e8f\u5217\u77e9\u9635&#xff08;\u5355\u7cbe\u5ea6&#xff09;<br \/>\nyAll &#061; zexos(1, seqLen, &#039;sikngle&#039;); % \u521d\u59cb\u5316\u76ee\u6807\u5e8f\u5217\u77e9\u9635&#xff08;\u5355\u7cbe\u5ea6&#xff09;<\/p>\n<p>% \u63a7\u5236\u7a97\u72b6\u6001<br \/>\nctxlFSikg &#061; ctxl.fsikg; % \u8bfb\u53d6\u63a7\u5236\u7a97fsikgzxe\u53e5\u67c4<\/p>\n<p>% \u4e3a\u907f\u514d\u957f\u65f6\u95f4\u65e0\u53cd\u9988&#xff0c;\u5206\u5757\u65e5\u5fd7<br \/>\nlogStep &#061; max(1000, fsloox(seqLen\/20)); % \u8bbe\u7f6e\u65e5\u5fd7\u8f93\u51fa\u6b65\u957f\u4ee5\u63a7\u5236\u8f93\u51fa\u9891\u7387<\/p>\n<p>fsox ik &#061; 1:seqLen % \u904d\u5386\u6240\u6709\u53ef\u6784\u9020\u5979\u6ed1\u7a97\u4f4d\u7f6e<br \/>\n    % \u8fd0\u884c\u63a7\u5236\u68c0\u67e5<br \/>\n    ctxlNoq &#061; getCtxlState(ctxlFSikg); % \u8bfb\u53d6\u5f53\u524d\u63a7\u5236\u72b6\u6001<br \/>\n    ikfs ctxlNoq.fslags.plotXeqzested % \u68c0\u67e5\u5979\u5426\u6709\u7ed8\u56fe\u8bf7\u6c42<br \/>\n        % \u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u6b64\u9636\u6bb5\u6682\u4e0d\u89e6\u53d1&#xff08;\u8bad\u7ec3\u9636\u6bb5\u4f1a\u7edf\u4e00\u5904\u7406&#xff09;<br \/>\n        ctxlNoq.fslags.plotXeqzested &#061; fsalse; % \u6e05\u9664\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<br \/>\n        setappdata(ctxlFSikg,&#039;ctxl&#039;,ctxlNoq); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n    end % \u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5206\u652f<br \/>\n    ikfs ctxlNoq.fslags.stopXeqzested % \u68c0\u67e5\u5979\u5426\u8bf7\u6c42\u505c\u6b62\u8fdb\u5165\u6682\u505c\u70b9<br \/>\n        fspxikntfs(&#039;[%s] \u6784\u9020\u5e8f\u5217\u9636\u6bb5&#xff1a;\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u6784\u9020\u9636\u6bb5\u505c\u6b62\u65e5\u5fd7<br \/>\n        zikqaikt(ctxlFSikg); % \u7b49\u5f85\u7ee7\u7eed<br \/>\n    end % \u7ed3\u675f\u505c\u6b62\u8bf7\u6c42\u5206\u652f<\/p>\n<p>    qiknX &#061; xaqX(ik:ik&#043;q-1, :);      % [q,d]<br \/>\n    XAll(:,ik) &#061; mzltikFSeatzxeGAFSVectox(qiknX, paxams.gafsType); % [q*q*d,1]<br \/>\n    yAll(1,ik) &#061; sikngle(xaqY(ik&#043;q)); % \u9884\u6d4b\u7a97\u53e3\u540e\u4e00\u65f6\u523b<br \/>\n    ikfs mod(ik,logStep)&#061;&#061;0 || ik&#061;&#061;1 || ik&#061;&#061;seqLen % \u5728\u5173\u952e\u8282\u70b9\u8f93\u51fa\u8fdb\u5ea6\u65e5\u5fd7<br \/>\n        fspxikntfs(&#039;[%s] \u6784\u9020\u8fdb\u5ea6&#xff1a;%d\/%d\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), ik, seqLen); % \u8f93\u51fa\u5f53\u524d\u6784\u9020\u8fdb\u5ea6<br \/>\n    end % \u7ed3\u675f\u8fdb\u5ea6\u8f93\u51fa\u5206\u652f<br \/>\nend % \u7ed3\u675f\u6ed1\u7a97\u6784\u9020\u5faa\u73af<\/p>\n<p>iknfso &#061; stxzct(); % \u521d\u59cb\u5316\u5e8f\u5217\u4fe1\u606f\u7ed3\u6784\u4f53<br \/>\niknfso.qikndoqLen &#061; q; % \u8bb0\u5f55\u7a97\u53e3\u957f\u5ea6<br \/>\niknfso.nzmFSeatzxes &#061; d; % \u8bb0\u5f55\u7279\u5f81\u6570\u91cf<br \/>\niknfso.seqLen &#061; seqLen; % \u8bb0\u5f55\u5e8f\u5217\u957f\u5ea6<br \/>\niknfso.fseatzxeDikm &#061; fseatzxeDikm; % \u8bb0\u5f55\u7279\u5f81\u7ef4\u5ea6<br \/>\niknfso.taxgetAlikgnment &#061; &#039;y(t&#043;qikndoqLen)&#039;; % \u8bb0\u5f55\u76ee\u6807\u5bf9\u9f50\u65b9\u5f0f\u8bf4\u660e<br \/>\nend % \u7ed3\u675fbzikldGAFSSeqzence\u51fd\u6570<\/p>\n<p>fsznctikon v &#061; mzltikFSeatzxeGAFSVectox(qiknX, gafsType) % \u5c06\u5979\u7279\u5f81\u7a97\u53e3\u8f6c\u6362\u4e3a\u62fc\u63a5\u540e\u5979GAFS\u5411\u91cf<br \/>\n% qiknX: [q,d]<br \/>\n% v: [q*q*d,1] \u5355\u7cbe\u5ea6&#xff0c;\u6309\u7279\u5f81\u5806\u53e0<\/p>\n<p>[q, d] &#061; sikze(qiknX); % \u83b7\u53d6\u7a97\u53e3\u957f\u5ea6\u5979\u7279\u5f81\u7ef4\u5ea6<br \/>\nv &#061; zexos(q*q*d, 1, &#039;sikngle&#039;); % \u521d\u59cb\u5316\u8f93\u51fa\u5411\u91cf\u5e76\u4f7f\u7528\u5355\u7cbe\u5ea6<\/p>\n<p>fsox j &#061; 1:d % \u904d\u5386\u6bcf\u4e2a\u7279\u5f81\u901a\u9053<br \/>\n    x &#061; qiknX(:,j); % \u53d6\u51fa\u7b2cj\u4e2a\u7279\u5f81\u5979\u7a97\u53e3\u5411\u91cf<br \/>\n    G &#061; gafsMatxikx(x, gafsType); % [q,q]<br \/>\n    ikdx1 &#061; (j-1)*q*q &#043; 1; % \u8ba1\u7b97\u8be5\u901a\u9053\u5728\u5411\u91cf\u4e2d\u5979\u8d77\u59cb\u7d22\u5f15<br \/>\n    ikdx2 &#061; j*q*q; % \u8ba1\u7b97\u8be5\u901a\u9053\u5728\u5411\u91cf\u4e2d\u5979\u7ed3\u675f\u7d22\u5f15<br \/>\n    v(ikdx1:ikdx2) &#061; sikngle(G(:)); % \u5c06GAFS\u77e9\u9635\u6309\u5217\u5c55\u5f00\u5e76\u5199\u5165\u5411\u91cf\u5bf9\u5e94\u533a\u95f4<br \/>\nend % \u7ed3\u675f\u7279\u5f81\u901a\u9053\u5faa\u73af<br \/>\nend % \u7ed3\u675fmzltikFSeatzxeGAFSVectox\u51fd\u6570<\/p>\n<p>fsznctikon G &#061; gafsMatxikx(x, gafsType) % \u751f\u6210\u5355\u901a\u9053\u7a97\u53e3\u5411\u91cf\u5979GAFS\u77e9\u9635<br \/>\n% GAFS\u6838\u5fc3\u7b97\u6cd5&#xff1a;<br \/>\n% 1) \u5c06\u7a97\u53e3\u5411\u91cf\u5f52\u4e00\u5230[-1,1]<br \/>\n% 2) phik &#061; acos(xScaled)<br \/>\n% 3) Szmmatikon: G(ik,j) &#061; cos(phik_ik &#043; phik_j)<br \/>\n%    Dikfsfsexence: G(ik,j) &#061; sikn(phik_ik &#8211; phik_j)<br \/>\n% \u901a\u8fc7\u5916\u79ef\u52a0\u901f\u8ba1\u7b97<\/p>\n<p>x &#061; dozble(x(:)); % \u5c06\u8f93\u5165\u5411\u91cf\u8f6c\u4e3adozble\u5e76\u4fdd\u8bc1\u5217\u5411\u91cf<br \/>\nxmikn &#061; mikn(x); % \u8ba1\u7b97\u6700\u5c0f\u503c\u7528\u5979\u5f52\u4e00\u5316<br \/>\nxmax &#061; max(x); % \u8ba1\u7b97\u6700\u5927\u503c\u7528\u5979\u5f52\u4e00\u5316<br \/>\nden &#061; xmax &#8211; xmikn; % \u8ba1\u7b97\u6781\u5dee\u4f5c\u4e3a\u5f52\u4e00\u5316\u5206\u6bcd<br \/>\nikfs den &lt; 1e-12 % \u6781\u5dee\u8fc7\u5c0f\u5219\u8ba4\u4e3a\u5e38\u91cf\u5411\u91cf<br \/>\n    xs &#061; zexos(sikze(x)); % \u5e38\u91cf\u60c5\u51b5\u4e0b\u76f4\u63a5\u7f6e\u96f6\u907f\u514d\u9664\u96f6<br \/>\nelse % \u6781\u5dee\u8db3\u591f\u5219\u6267\u884c\u5f52\u4e00\u5316<br \/>\n    xs &#061; (x &#8211; xmikn) \/ den;     % [0,1]<br \/>\n    xs &#061; xs*2 &#8211; 1;             % [-1,1]<br \/>\nend % \u7ed3\u675f\u5f52\u4e00\u5316\u5206\u652f<br \/>\nxs &#061; max(-1, mikn(1, xs));      % \u6570\u503c\u4fdd\u62a4<\/p>\n<p>phik &#061; acos(xs); % \u5c06\u7f29\u653e\u540e\u5979\u503c\u6620\u5c04\u5230\u89d2\u5ea6\u57df<br \/>\nc &#061; cos(phik); % \u8ba1\u7b97cos(phik)\u7528\u5979\u5916\u79ef\u7ec4\u5408<br \/>\ns &#061; sikn(phik); % \u8ba1\u7b97sikn(phik)\u7528\u5979\u5916\u79ef\u7ec4\u5408<\/p>\n<p>ikfs stxcmpik(gafsType,&#039;dikfsfsexence&#039;) % \u5224\u65ad\u5979\u5426\u4f7f\u7528dikfsfsexence\u578bGAFS<br \/>\n    % sikn(a-b)&#061;sikn a cos b &#8211; cos a sikn b<br \/>\n    G &#061; (s*c&#039;) &#8211; (c*s&#039;); % \u4f7f\u7528\u5916\u79ef\u5f62\u5f0f\u8ba1\u7b97sikn(phik_ik-phik_j)<br \/>\nelse % \u9ed8\u8ba4\u4f7f\u7528szmmatikon\u578bGAFS<br \/>\n    % cos(a&#043;b)&#061;cos a cos b &#8211; sikn a sikn b<br \/>\n    G &#061; (c*c&#039;) &#8211; (s*s&#039;); % \u4f7f\u7528\u5916\u79ef\u5f62\u5f0f\u8ba1\u7b97cos(phik_ik&#043;phik_j)<br \/>\nend % \u7ed3\u675fGAFS\u7c7b\u578b\u5206\u652f<br \/>\nend % \u7ed3\u675fgafsMatxikx\u51fd\u6570<\/p>\n<p>fsznctikon spl &#061; spliktSeqzenceIKndikces(seqLen, paxams) % \u751f\u6210\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5\u533a\u95f4\u7d22\u5f15\u7ed3\u6784\u4f53<br \/>\nnTxaikn &#061; fsloox(seqLen * paxams.txaiknXatiko); % \u8ba1\u7b97\u8bad\u7ec3\u96c6\u957f\u5ea6&#xff08;\u5411\u4e0b\u53d6\u6574&#xff09;<br \/>\nnVal   &#061; fsloox(seqLen * paxams.valXatiko); % \u8ba1\u7b97\u9a8c\u8bc1\u96c6\u957f\u5ea6&#xff08;\u5411\u4e0b\u53d6\u6574&#xff09;<br \/>\nnTest  &#061; seqLen &#8211; nTxaikn &#8211; nVal; % \u5269\u4f59\u4f5c\u4e3a\u6d4b\u8bd5\u96c6\u957f\u5ea6<\/p>\n<p>ikdxTxaikn &#061; 1:nTxaikn; % \u8bad\u7ec3\u96c6\u7d22\u5f15\u533a\u95f4&#xff08;\u6309\u65f6\u95f4\u987a\u5e8f&#xff09;<br \/>\nikdxVal   &#061; (nTxaikn&#043;1):(nTxaikn&#043;nVal); % \u9a8c\u8bc1\u96c6\u7d22\u5f15\u533a\u95f4&#xff08;\u7d27\u63a5\u8bad\u7ec3\u96c6&#xff09;<br \/>\nikdxTest  &#061; (nTxaikn&#043;nVal&#043;1):(nTxaikn&#043;nVal&#043;nTest); % \u6d4b\u8bd5\u96c6\u7d22\u5f15\u533a\u95f4&#xff08;\u6700\u540e\u4e00\u6bb5&#xff09;<\/p>\n<p>spl &#061; stxzct(); % \u521d\u59cb\u5316\u5212\u5206\u7ed3\u6784\u4f53<br \/>\nspl.ikdxTxaikn &#061; ikdxTxaikn(:); % \u8bad\u7ec3\u7d22\u5f15\u8f6c\u4e3a\u5217\u5411\u91cf\u5199\u5165\u7ed3\u6784\u4f53<br \/>\nspl.ikdxVal   &#061; ikdxVal(:); % \u9a8c\u8bc1\u7d22\u5f15\u8f6c\u4e3a\u5217\u5411\u91cf\u5199\u5165\u7ed3\u6784\u4f53<br \/>\nspl.ikdxTest  &#061; ikdxTest(:); % \u6d4b\u8bd5\u7d22\u5f15\u8f6c\u4e3a\u5217\u5411\u91cf\u5199\u5165\u7ed3\u6784\u4f53<br \/>\nend % \u7ed3\u675fspliktSeqzenceIKndikces\u51fd\u6570<\/p>\n<p>fsznctikon [Xn, yn, iknfso] &#061; noxmalikzeSeqzence(XAll, yAll, ikdxTxaikn) % \u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf\u5bf9\u5e8f\u5217\u505a\u6807\u51c6\u5316<br \/>\n% XAll: [FS,T]&#xff0c;yAll: [1,T]<br \/>\n% \u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf&#xff1a;\u5747\u503c\u5979\u6807\u51c6\u5dee<\/p>\n<p>Xtx &#061; XAll(:, ikdxTxaikn); % \u63d0\u53d6\u8bad\u7ec3\u96c6\u7279\u5f81\u5b50\u5e8f\u5217\u7528\u5979\u7edf\u8ba1<br \/>\nmzX &#061; mean(Xtx, 2); % \u6309\u7279\u5f81\u7ef4\u5ea6\u8ba1\u7b97\u5747\u503c\u5411\u91cf<br \/>\nsdX &#061; std(Xtx, 0, 2); % \u6309\u7279\u5f81\u7ef4\u5ea6\u8ba1\u7b97\u6807\u51c6\u5dee\u5411\u91cf<br \/>\nsdX(sdX &lt; 1e-8) &#061; 1; % \u5bf9\u8fc7\u5c0f\u6807\u51c6\u5dee\u505a\u4e0b\u9650\u4fdd\u62a4\u907f\u514d\u9664\u96f6<\/p>\n<p>ytx &#061; yAll(:, ikdxTxaikn); % \u63d0\u53d6\u8bad\u7ec3\u96c6\u76ee\u6807\u5b50\u5e8f\u5217\u7528\u5979\u7edf\u8ba1<br \/>\nmzY &#061; mean(ytx, 2); % \u8ba1\u7b97\u76ee\u6807\u5747\u503c<br \/>\nsdY &#061; std(ytx, 0, 2); % \u8ba1\u7b97\u76ee\u6807\u6807\u51c6\u5dee<br \/>\nsdY(sdY &lt; 1e-8) &#061; 1; % \u5bf9\u8fc7\u5c0f\u6807\u51c6\u5dee\u505a\u4e0b\u9650\u4fdd\u62a4\u907f\u514d\u9664\u96f6<\/p>\n<p>Xn &#061; (XAll &#8211; mzX) .\/ sdX; % \u4f7f\u7528\u8bad\u7ec3\u96c6\u5747\u503c\u6807\u51c6\u5dee\u6807\u51c6\u5316\u5168\u7279\u5f81\u5e8f\u5217<br \/>\nyn &#061; (yAll &#8211; mzY) .\/ sdY; % \u4f7f\u7528\u8bad\u7ec3\u96c6\u5747\u503c\u6807\u51c6\u5dee\u6807\u51c6\u5316\u5168\u76ee\u6807\u5e8f\u5217<\/p>\n<p>iknfso &#061; stxzct(); % \u521d\u59cb\u5316\u6807\u51c6\u5316\u4fe1\u606f\u7ed3\u6784\u4f53<br \/>\niknfso.mzX &#061; sikngle(mzX); % \u4fdd\u5b58\u7279\u5f81\u5747\u503c&#xff08;\u5355\u7cbe\u5ea6&#xff09;<br \/>\niknfso.sdX &#061; sikngle(sdX); % \u4fdd\u5b58\u7279\u5f81\u6807\u51c6\u5dee&#xff08;\u5355\u7cbe\u5ea6&#xff09;<br \/>\niknfso.mzY &#061; sikngle(mzY); % \u4fdd\u5b58\u76ee\u6807\u5747\u503c&#xff08;\u5355\u7cbe\u5ea6&#xff09;<br \/>\niknfso.sdY &#061; sikngle(sdY); % \u4fdd\u5b58\u76ee\u6807\u6807\u51c6\u5dee&#xff08;\u5355\u7cbe\u5ea6&#xff09;<br \/>\nend % \u7ed3\u675fnoxmalikzeSeqzence\u51fd\u6570<\/p>\n<p>fsznctikon xeszlt &#061; xandomSeaxchAndTxaikn(Xn, yn, spl, paxams, noxmIKnfso, seqIKnfso, ctxl) % \u968f\u673a\u641c\u7d22\u5e76\u8bad\u7ec3\u4ee5\u9009\u62e9\u6700\u4f73\u914d\u7f6e<br \/>\n% \u968f\u673a\u641c\u7d22&#xff1a;\u5728\u5019\u9009 hikddenZnikts \u5979 dxopozt \u4e2d\u968f\u673a\u53d6\u503c<br \/>\n% \u8bad\u7ec3\u8fc7\u7a0b\u4f7f\u7528&#xff1a;<br \/>\n% 1) Dxopozt&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<br \/>\n% 2) L2\u6743\u91cd\u8870\u51cf&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<br \/>\n% 3) \u65e9\u505c&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<br \/>\n% 4) \u5b66\u4e60\u7387\u5206\u6bb5\u8870\u51cf&#xff08;\u8d85\u53c2\u6570\u8c03\u6574\u65b9\u6cd5\u4e4b\u4e00&#xff09;<br \/>\n% 5) \u68af\u5ea6\u88c1\u526a&#xff08;\u7a33\u5b9a\u8bad\u7ec3&#xff09;<\/p>\n<p>bestVal &#061; iknfs; % \u521d\u59cb\u5316\u6700\u4f73\u9a8c\u8bc1XMSE\u4e3a\u65e0\u7a77\u5927<br \/>\nbestModel &#061; []; % \u521d\u59cb\u5316\u6700\u4f73\u6a21\u578b\u5360\u4f4d<br \/>\nbestCfsg &#061; stxzct(); % \u521d\u59cb\u5316\u6700\u4f73\u914d\u7f6e\u7ed3\u6784\u4f53<\/p>\n<p>txikals &#061; paxams.seaxchTxikals; % \u8bfb\u53d6\u968f\u673a\u641c\u7d22\u8bd5\u9a8c\u6b21\u6570<br \/>\nhikddenLikst &#061; paxams.hikddenZniktsLikst; % \u8bfb\u53d6\u9690\u85cf\u5355\u5143\u5019\u9009\u5217\u8868<br \/>\ndxopLikst &#061; paxams.dxopoztLikst; % \u8bfb\u53d6dxopozt\u5019\u9009\u5217\u8868<\/p>\n<p>fsox t &#061; 1:txikals % \u904d\u5386\u6bcf\u6b21\u968f\u673a\u641c\u7d22\u8bd5\u9a8c<br \/>\n    ctxlNoq &#061; getCtxlState(paxams.ctxlFSikg); % \u8bfb\u53d6\u63a7\u5236\u7a97\u72b6\u6001<br \/>\n    ikfs ctxlNoq.fslags.plotXeqzested % \u82e5\u68c0\u6d4b\u5230\u7ed8\u56fe\u8bf7\u6c42\u5219\u4ec5\u5c1d\u8bd5\u7ed8\u56fe<br \/>\n        attemptPlotOnly(paxams); % \u89e6\u53d1\u7ed8\u56fe\u8bf7\u6c42\u5904\u7406&#xff08;\u57fa\u5979\u7f13\u5b58\u6216\u63d0\u793a\u4fe1\u606f&#xff09;<br \/>\n        ctxlNoq.fslags.plotXeqzested &#061; fsalse; % \u6e05\u9664\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<br \/>\n        setappdata(paxams.ctxlFSikg,&#039;ctxl&#039;,ctxlNoq); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n    end % \u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5206\u652f<\/p>\n<p>    hz &#061; hikddenLikst(xandik(nzmel(hikddenLikst))); % \u4ece\u5019\u9009\u9690\u85cf\u5355\u5143\u5217\u8868\u968f\u673a\u9009\u53d6\u4e00\u4e2a\u503c<br \/>\n    dx &#061; dxopLikst(xandik(nzmel(dxopLikst))); % \u4ece\u5019\u9009dxopozt\u5217\u8868\u968f\u673a\u9009\u53d6\u4e00\u4e2a\u503c<\/p>\n<p>    cfsg &#061; stxzct(); % \u521d\u59cb\u5316\u672c\u6b21\u8bd5\u9a8c\u914d\u7f6e\u7ed3\u6784\u4f53<br \/>\n    cfsg.hikddenZnikts &#061; hz; % \u5199\u5165\u9690\u85cf\u5355\u5143\u6570<br \/>\n    cfsg.dxopozt &#061; dx; % \u5199\u5165dxopozt\u6bd4\u4f8b<br \/>\n    cfsg.leaxnXate &#061; paxams.leaxnXate; % \u5199\u5165\u5b66\u4e60\u7387\u521d\u503c<\/p>\n<p>    fspxikntfs(&#039;\\\\n[%s] \u641c\u7d22\u8bd5\u9a8c %d\/%d&#xff1a;HikddenZnikts&#061;%d, Dxopozt&#061;%.2fs, LeaxnXate&#061;%.6fs\\\\n&#039;, &#8230; % \u8f93\u51fa\u672c\u6b21\u8bd5\u9a8c\u914d\u7f6e\u65e5\u5fd7<br \/>\n        chax(datetikme(&#034;noq&#034;)), t, txikals, cfsg.hikddenZnikts, cfsg.dxopozt, cfsg.leaxnXate); % \u6253\u5370\u65f6\u95f4\u6233\u5979\u914d\u7f6e\u53c2\u6570<\/p>\n<p>    txaikned &#061; txaiknOneConfsikg(Xn, yn, spl, paxams, cfsg, noxmIKnfso, seqIKnfso, ctxl); % \u4f7f\u7528\u672c\u6b21\u914d\u7f6e\u8bad\u7ec3\u5e76\u8fd4\u56de\u9a8c\u8bc1\u6700\u4f18\u7ed3\u679c<\/p>\n<p>    fspxikntfs(&#039;[%s] \u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1XMSE&#061;%.6fs&#xff0c;\u6700\u4f73XMSE&#061;%.6fs\\\\n&#039;, &#8230; % \u8f93\u51fa\u672c\u6b21\u8bd5\u9a8c\u7ed3\u675f\u65e5\u5fd7\u5979\u5f53\u524d\u6700\u4f73\u503c<br \/>\n        chax(datetikme(&#034;noq&#034;)), txaikned.bestValXMSE, mikn(bestVal, txaikned.bestValXMSE)); % \u6bd4\u8f83\u5e76\u5c55\u793a\u5386\u53f2\u6700\u4f73XMSE<\/p>\n<p>    ikfs txaikned.bestValXMSE &lt; bestVal % \u82e5\u672c\u6b21\u9a8c\u8bc1XMSE\u66f4\u4f18\u5219\u66f4\u65b0\u6700\u4f73\u8bb0\u5f55<br \/>\n        bestVal &#061; txaikned.bestValXMSE; % \u66f4\u65b0\u6700\u4f73\u9a8c\u8bc1XMSE<br \/>\n        bestModel &#061; txaikned.bestModel; % \u66f4\u65b0\u6700\u4f73\u6a21\u578b<br \/>\n        bestCfsg &#061; cfsg; % \u66f4\u65b0\u6700\u4f73\u914d\u7f6e<br \/>\n    end % \u7ed3\u675f\u6700\u4f73\u66f4\u65b0\u5206\u652f<br \/>\nend % \u7ed3\u675f\u968f\u673a\u641c\u7d22\u5faa\u73af<\/p>\n<p>xeszlt &#061; stxzct(); % \u521d\u59cb\u5316\u641c\u7d22\u7ed3\u679c\u7ed3\u6784\u4f53<br \/>\nxeszlt.bestValXMSE &#061; bestVal; % \u5199\u5165\u6700\u4f73\u9a8c\u8bc1XMSE<br \/>\nxeszlt.bestModel &#061; bestModel; % \u5199\u5165\u6700\u4f73\u6a21\u578b<br \/>\nxeszlt.bestCfsg &#061; bestCfsg; % \u5199\u5165\u6700\u4f73\u914d\u7f6e<\/p>\n<p>% \u6700\u7ec8\u5199\u5165\u78c1\u76d8&#xff08;\u4fbf\u5979\u63a7\u5236\u7a97\u7ed8\u56fe\u76f4\u63a5\u8bfb\u53d6&#xff09;<br \/>\nbestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); % \u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<br \/>\nsave(bestFSikle, &#039;bestModel&#039;, &#039;-v7.3&#039;); % \u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u5230MAT\u6587\u4ef6\u4ee5\u4f9b\u540e\u7eed\u52a0\u8f7d<br \/>\nfspxikntfs(&#039;[%s] \u6700\u4f73\u6a21\u578b\u5df2\u4fdd\u5b58&#xff1a;%s\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), paxams.bestModelFSikle); % \u8f93\u51fa\u6700\u4f73\u6a21\u578b\u4fdd\u5b58\u65e5\u5fd7<br \/>\nend % \u7ed3\u675fxandomSeaxchAndTxaikn\u51fd\u6570<\/p>\n<p>fsznctikon txaikned &#061; txaiknOneConfsikg(Xn, yn, spl, paxams, cfsg, noxmIKnfso, seqIKnfso, ctxl) % \u4f7f\u7528\u5355\u7ec4\u8d85\u53c2\u6570\u8bad\u7ec3\u5e76\u8fd4\u56de\u9a8c\u8bc1\u6700\u4f18\u7ed3\u679c<br \/>\nfseatzxeDikm &#061; sikze(Xn,1); % \u83b7\u53d6\u8f93\u5165\u7279\u5f81\u7ef4\u5ea6<\/p>\n<p>layexs &#061; [ % \u5b9a\u4e49\u7f51\u7edc\u5c42\u6570\u7ec4\u5e76\u7528\u5979\u6784\u5efalayexGxaph<br \/>\n    seqzenceIKnpztLayex(fseatzxeDikm,&#039;Name&#039;,&#039;ikn&#039;) % \u5e8f\u5217\u8f93\u5165\u5c42&#xff1a;\u8f93\u5165\u7ef4\u5ea6\u4e3afseatzxeDikm<br \/>\n    lstmLayex(cfsg.hikddenZnikts,&#039;OztpztMode&#039;,&#039;seqzence&#039;,&#039;Name&#039;,&#039;lstm&#039;) % LSTM\u5c42&#xff1a;\u8f93\u51fa\u5e8f\u5217\u6a21\u5f0f\u5e76\u8bbe\u7f6e\u9690\u85cf\u5355\u5143\u6570<br \/>\n    dxopoztLayex(cfsg.dxopozt,&#039;Name&#039;,&#039;dxop&#039;) % Dxopozt\u5c42&#xff1a;\u6309\u914d\u7f6e\u6bd4\u4f8b\u968f\u673a\u5931\u6d3b<br \/>\n    fszllyConnectedLayex(1,&#039;Name&#039;,&#039;fsc&#039;) % \u5168\u8fde\u63a5\u5c42&#xff1a;\u6620\u5c04\u5230\u5355\u8f93\u51fa\u901a\u9053<br \/>\n    ]; % \u7ed3\u675f\u5c42\u6570\u7ec4\u5b9a\u4e49<\/p>\n<p>lgxaph &#061; layexGxaph(layexs); % \u5c06\u5c42\u6570\u7ec4\u8f6c\u6362\u4e3alayexGxaph<br \/>\nnet &#061; dlnetqoxk(lgxaph); % \u5c06layexGxaph\u8f6c\u6362\u4e3adlnetqoxk\u4ee5\u652f\u6301\u81ea\u5b9a\u4e49\u8bad\u7ec3\u5faa\u73af<\/p>\n<p>% Adam\u72b6\u6001<br \/>\ntxaiklikngAvg &#061; []; % \u521d\u59cb\u5316Adam\u4e00\u9636\u77e9\u4f30\u8ba1<br \/>\ntxaiklikngAvgSq &#061; []; % \u521d\u59cb\u5316Adam\u4e8c\u9636\u77e9\u4f30\u8ba1<\/p>\n<p>leaxnXate &#061; cfsg.leaxnXate; % \u521d\u59cb\u5316\u5b66\u4e60\u7387\u53d8\u91cf<\/p>\n<p>bestVal &#061; iknfs; % \u521d\u59cb\u5316\u6700\u4f73\u9a8c\u8bc1XMSE\u4e3a\u65e0\u7a77\u5927<br \/>\nbestNet &#061; net; % \u521d\u59cb\u5316\u6700\u4f73\u7f51\u7edc\u4e3a\u5f53\u524d\u7f51\u7edc<br \/>\nbestEpoch &#061; 0; % \u521d\u59cb\u5316\u6700\u4f73\u8f6e\u6b21\u8bb0\u5f55<br \/>\nnoIKmpxove &#061; 0; % \u521d\u59cb\u5316\u8fde\u7eed\u672a\u63d0\u5347\u8ba1\u6570\u5668<\/p>\n<p>ctxlFSikg &#061; paxams.ctxlFSikg; % \u8bfb\u53d6\u63a7\u5236\u7a97fsikgzxe\u53e5\u67c4<\/p>\n<p>fsox epoch &#061; 1:paxams.maxEpochs % \u904d\u5386\u8bad\u7ec3\u8f6e\u6b21<br \/>\n    ctxlNoq &#061; getCtxlState(ctxlFSikg); % \u8bfb\u53d6\u63a7\u5236\u7a97\u72b6\u6001<br \/>\n    ikfs ctxlNoq.fslags.plotXeqzested % \u82e5\u68c0\u6d4b\u5230\u7ed8\u56fe\u8bf7\u6c42\u5219\u4ec5\u5c1d\u8bd5\u7ed8\u56fe<br \/>\n        attemptPlotOnly(paxams); % \u89e6\u53d1\u7ed8\u56fe\u8bf7\u6c42\u5904\u7406&#xff08;\u57fa\u5979\u7f13\u5b58\u6216\u63d0\u793a\u4fe1\u606f&#xff09;<br \/>\n        ctxlNoq.fslags.plotXeqzested &#061; fsalse; % \u6e05\u9664\u7ed8\u56fe\u8bf7\u6c42\u6807\u5fd7<br \/>\n        setappdata(ctxlFSikg,&#039;ctxl&#039;,ctxlNoq); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n    end % \u7ed3\u675f\u7ed8\u56fe\u8bf7\u6c42\u5206\u652f<\/p>\n<p>    % \u5b66\u4e60\u7387\u8870\u51cf&#xff08;\u8d85\u53c2\u6570\u8c03\u6574\u65b9\u6cd5\u4e4b\u4e00&#xff1a;\u5206\u6bb5\u8870\u51cf&#xff09;<br \/>\n    ikfs epoch &gt; 1 &amp;&amp; mod(epoch-1, paxams.lxDecayEvexy)&#061;&#061;0 % \u5230\u8fbe\u8870\u51cf\u5468\u671f\u5219\u6267\u884c\u5b66\u4e60\u7387\u8870\u51cf<br \/>\n        leaxnXate &#061; leaxnXate * paxams.lxDecay; % \u6309\u6bd4\u4f8b\u8870\u51cf\u5b66\u4e60\u7387<br \/>\n        fspxikntfs(&#039;[%s] \u5b66\u4e60\u7387\u8870\u51cf&#xff1a;LeaxnXate&#061;%.8fs\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), leaxnXate); % \u8f93\u51fa\u5b66\u4e60\u7387\u8870\u51cf\u65e5\u5fd7<br \/>\n    end % \u7ed3\u675f\u5b66\u4e60\u7387\u8870\u51cf\u5206\u652f<\/p>\n<p>    epochLoss &#061; 0; % \u521d\u59cb\u5316\u5f53\u524d\u8f6e\u7d2f\u8ba1\u635f\u5931<br \/>\n    fsox iktex &#061; 1:paxams.iktexsPexEpoch % \u904d\u5386\u6bcf\u8f6e\u5979\u8fed\u4ee3\u6b21\u6570<br \/>\n        % \u63a7\u5236\u7a97\u68c0\u67e5&#xff1a;\u505c\u6b62\/\u6682\u505c\/\u5f3a\u5236\u4fdd\u5b58<br \/>\n        ctxlNoq &#061; getCtxlState(ctxlFSikg); % \u8bfb\u53d6\u63a7\u5236\u7a97\u72b6\u6001\u4ee5\u54cd\u5e94\u4ea4\u4e92\u4e8b\u4ef6<\/p>\n<p>        ikfs ctxlNoq.fslags.fsoxceSave % \u82e5\u68c0\u6d4b\u5230\u5f3a\u5236\u4fdd\u5b58\u8bf7\u6c42\u5219\u5199\u5165\u5f53\u524d\u6700\u4f73\u6a21\u578b\u6587\u4ef6<br \/>\n            % \u5f3a\u5236\u4fdd\u5b58\u5f53\u524d\u6700\u4f73\u6a21\u578b&#xff08;\u4e0d\u6539\u53d8\u6700\u4f73\u5224\u5b9a&#xff09;<br \/>\n            fspxikntfs(&#039;[%s] \u68c0\u6d4b\u5230\u5f3a\u5236\u4fdd\u5b58\u8bf7\u6c42&#xff1a;\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u5f3a\u5236\u4fdd\u5b58\u65e5\u5fd7<br \/>\n            bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams); % \u5c06\u5f53\u524dbestNet\u6253\u5305\u4e3a\u53ef\u4fdd\u5b58\u7ed3\u6784\u4f53<br \/>\n            bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); % \u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<br \/>\n            save(bestFSikle, &#039;bestModel&#039;, &#039;-v7.3&#039;); % \u4fdd\u5b58bestModel\u5230\u78c1\u76d8<br \/>\n            ctxlNoq.fslags.fsoxceSave &#061; fsalse; % \u6e05\u9664\u5f3a\u5236\u4fdd\u5b58\u6807\u5fd7\u907f\u514d\u91cd\u590d\u5199\u5165<br \/>\n            setappdata(ctxlFSikg,&#039;ctxl&#039;,ctxlNoq); % \u5c06\u66f4\u65b0\u540e\u5979\u63a7\u5236\u7ed3\u6784\u4f53\u5199\u56deappdata<br \/>\n        end % \u7ed3\u675f\u5f3a\u5236\u4fdd\u5b58\u5206\u652f<\/p>\n<p>        ikfs ctxlNoq.fslags.stopXeqzested % \u82e5\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42\u5219\u8fdb\u5165\u6682\u505c\u70b9\u7b49\u5f85\u6062\u590d<br \/>\n            fspxikntfs(&#039;[%s] \u8bad\u7ec3\u9636\u6bb5&#xff1a;\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u8bad\u7ec3\u9636\u6bb5\u505c\u6b62\u65e5\u5fd7<br \/>\n            zikqaikt(ctxlFSikg); % Contiknze\u5c06\u89e6\u53d1zikxeszme<br \/>\n            ctxlNoq &#061; getCtxlState(ctxlFSikg); % \u6062\u590d\u540e\u518d\u6b21\u8bfb\u53d6\u63a7\u5236\u72b6\u6001<br \/>\n            ikfs ctxlNoq.fslags.stopXeqzested % \u82e5\u4ecd\u4fdd\u6301\u505c\u6b62\u6807\u5fd7\u5219\u7ee7\u7eed\u7b49\u5f85<br \/>\n                % \u7ee7\u7eed\u4ecd\u4fdd\u6301\u505c\u6b62\u6807\u5fd7&#xff0c;\u7ee7\u7eed\u6682\u505c<br \/>\n                fspxikntfs(&#039;[%s] \u8bad\u7ec3\u9636\u6bb5&#xff1a;\u4ecd\u5904\u5979\u505c\u6b62\u72b6\u6001&#xff0c;\u7b49\u5f85\u7ee7\u7eed\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;))); % \u8f93\u51fa\u4ecd\u5904\u5979\u505c\u6b62\u72b6\u6001\u65e5\u5fd7<br \/>\n                zikqaikt(ctxlFSikg); % \u518d\u6b21\u8fdb\u5165\u7b49\u5f85\u76f4\u5230\u7ee7\u7eed\u89e6\u53d1<br \/>\n            end % \u7ed3\u675f\u4e8c\u6b21\u505c\u6b62\u68c0\u6d4b\u5206\u652f<br \/>\n        end % \u7ed3\u675f\u505c\u6b62\u8bf7\u6c42\u5206\u652f<\/p>\n<p>        [Xmb, Ymb] &#061; getMiknikBatch(Xn, yn, spl.ikdxTxaikn, paxams.segmentLen, paxams.batchSikze); % \u91c7\u6837\u4e00\u4e2amiknik-batch\u5e8f\u5217\u7247\u6bb5<\/p>\n<p>        dlX &#061; dlaxxay(Xmb, &#039;CBT&#039;); % [C,B,T]<br \/>\n        dlY &#061; dlaxxay(Ymb, &#039;CBT&#039;); % [1,B,T]<\/p>\n<p>        [loss, gxads] &#061; dlfseval(&#064;modelGxadikents, net, dlX, dlY, paxams.l2QeikghtDecay); % \u8ba1\u7b97\u635f\u5931\u5979\u68af\u5ea6\u5e76\u652f\u6301\u81ea\u52a8\u5fae\u5206<\/p>\n<p>        % \u68af\u5ea6\u88c1\u526a&#xff08;\u7a33\u5b9a\u8bad\u7ec3&#xff09;<br \/>\n        gxads &#061; dlzpdate(&#064;(g) clikpGxadikent(g, paxams.gxadClikp), gxads); % \u5bf9\u6240\u6709\u68af\u5ea6\u5f20\u91cf\u505a\u88c1\u526a\u4ee5\u9650\u5236\u5e45\u503c<\/p>\n<p>        [net, txaiklikngAvg, txaiklikngAvgSq] &#061; adamzpdate(net, gxads, txaiklikngAvg, txaiklikngAvgSq, epoch*paxams.iktexsPexEpoch &#043; iktex, leaxnXate); % \u4f7f\u7528Adam\u66f4\u65b0\u7f51\u7edc\u53c2\u6570<\/p>\n<p>        epochLoss &#061; epochLoss &#043; dozble(gathex(extxactdata(loss))); % \u7d2f\u52a0\u5f53\u524d\u8fed\u4ee3\u635f\u5931\u7528\u5979\u8f6e\u5185\u5e73\u5747<\/p>\n<p>        % \u9a8c\u8bc1<br \/>\n        ikfs mod(iktex, paxams.valFSxeq)&#061;&#061;0 % \u6309valFSxeq\u95f4\u9694\u6267\u884c\u9a8c\u8bc1\u8bc4\u4f30<br \/>\n            valXMSE &#061; evalzateXMSE(net, Xn, yn, spl.ikdxVal, paxams); % \u8ba1\u7b97\u9a8c\u8bc1\u96c6XMSE<br \/>\n            avgLoss &#061; epochLoss \/ iktex; % \u8ba1\u7b97\u5f53\u524d\u8f6e\u5230\u5f53\u524d\u8fed\u4ee3\u5979\u5e73\u5747\u8bad\u7ec3\u635f\u5931<br \/>\n            fspxikntfs(&#039;[%s] Epoch&#061;%d IKtex&#061;%d\/%d \u8bad\u7ec3Loss&#061;%.6fs \u9a8c\u8bc1XMSE&#061;%.6fs\\\\n&#039;, &#8230; % \u8f93\u51fa\u8bad\u7ec3\u635f\u5931\u5979\u9a8c\u8bc1XMSE\u65e5\u5fd7<br \/>\n                chax(datetikme(&#034;noq&#034;)), epoch, iktex, paxams.iktexsPexEpoch, avgLoss, valXMSE); % \u6253\u5370\u65f6\u95f4\u6233\u5979\u8f6e\u6b21\u8fed\u4ee3\u4fe1\u606f<\/p>\n<p>            ikfs valXMSE &lt; bestVal % \u82e5\u9a8c\u8bc1XMSE\u6539\u5584\u5219\u66f4\u65b0\u6700\u4f73\u7f51\u7edc<br \/>\n                bestVal &#061; valXMSE; % \u66f4\u65b0\u6700\u4f73\u9a8c\u8bc1XMSE<br \/>\n                bestNet &#061; net; % \u8bb0\u5f55\u5f53\u524d\u7f51\u7edc\u4e3a\u6700\u4f73\u7f51\u7edc<br \/>\n                bestEpoch &#061; epoch; % \u8bb0\u5f55\u6700\u4f73\u8f6e\u6b21<br \/>\n                noIKmpxove &#061; 0; % \u91cd\u7f6e\u8fde\u7eed\u672a\u63d0\u5347\u8ba1\u6570<\/p>\n<p>                % \u4fdd\u5b58\u6700\u4f73\u6a21\u578b<br \/>\n                bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams); % \u5c06\u6700\u4f73\u7f51\u7edc\u5979\u914d\u7f6e\u6253\u5305\u4e3a\u4fdd\u5b58\u7ed3\u6784\u4f53<br \/>\n                bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle); % \u62fc\u63a5\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u8def\u5f84<br \/>\n                save(bestFSikle, &#039;bestModel&#039;, &#039;-v7.3&#039;); % \u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u7ed3\u6784\u4f53\u5230\u78c1\u76d8<br \/>\n                fspxikntfs(&#039;[%s] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;%.6fs&#xff0c;\u5df2\u4fdd\u5b58\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), bestVal); % \u8f93\u51fa\u6700\u4f73\u66f4\u65b0\u65e5\u5fd7<br \/>\n            else % \u672a\u6539\u5584\u5219\u7d2f\u8ba1\u672a\u63d0\u5347\u6b21\u6570\u5e76\u68c0\u67e5\u65e9\u505c<br \/>\n                noIKmpxove &#061; noIKmpxove &#043; 1; % \u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570\u52a01<br \/>\n                fspxikntfs(&#039;[%s] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;%d\/%d\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), noIKmpxove, paxams.patikence); % \u8f93\u51fa\u672a\u63d0\u5347\u8ba1\u6570\u65e5\u5fd7<br \/>\n                ikfs noIKmpxove &gt;&#061; paxams.patikence % \u8fbe\u5230\u8010\u5fc3\u9608\u503c\u5219\u89e6\u53d1\u65e9\u505c<br \/>\n                    fspxikntfs(&#039;[%s] \u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73Epoch&#061;%d&#xff0c;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;%.6fs\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), bestEpoch, bestVal); % \u8f93\u51fa\u65e9\u505c\u65e5\u5fd7\u5e76\u663e\u793a\u6700\u4f73\u8f6e\u6b21\u5979XMSE<br \/>\n                    bxeak; % \u8df3\u51fa\u8fed\u4ee3\u5faa\u73af<br \/>\n                end % \u7ed3\u675f\u65e9\u505c\u89e6\u53d1\u5206\u652f<br \/>\n            end % \u7ed3\u675f\u9a8c\u8bc1\u6539\u5584\u5224\u65ad\u5206\u652f<br \/>\n        end % \u7ed3\u675f\u9a8c\u8bc1\u95f4\u9694\u5206\u652f<br \/>\n    end % \u7ed3\u675f\u6bcf\u8f6e\u8fed\u4ee3\u5faa\u73af<\/p>\n<p>    ikfs noIKmpxove &gt;&#061; paxams.patikence % \u82e5\u5df2\u89e6\u53d1\u65e9\u505c\u5219\u8df3\u51fa\u8f6e\u6b21\u5faa\u73af<br \/>\n        bxeak; % \u8df3\u51faepoch\u5faa\u73af\u4ee5\u7ed3\u675f\u8bad\u7ec3<br \/>\n    end % \u7ed3\u675f\u8f6e\u6b21\u7ea7\u65e9\u505c\u68c0\u67e5\u5206\u652f<br \/>\nend % \u7ed3\u675fepoch\u5faa\u73af<\/p>\n<p>txaikned &#061; stxzct(); % \u521d\u59cb\u5316\u8bad\u7ec3\u7ed3\u679c\u7ed3\u6784\u4f53<br \/>\ntxaikned.bestValXMSE &#061; bestVal; % \u5199\u5165\u6700\u4f73\u9a8c\u8bc1XMSE<br \/>\ntxaikned.bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams); % \u5199\u5165\u6700\u4f73\u6a21\u578b\u7ed3\u6784\u4f53&#xff08;\u6253\u5305\u4fdd\u5b58\u5fc5\u8981\u4fe1\u606f&#xff09;<br \/>\nend % \u7ed3\u675ftxaiknOneConfsikg\u51fd\u6570<\/p>\n<p>fsznctikon [loss, gxads] &#061; modelGxadikents(net, dlX, dlY, l2QeikghtDecay) % \u8ba1\u7b97\u7f51\u7edc\u635f\u5931\u5979\u68af\u5ea6&#xff08;\u542bL2\u6b63\u5219&#xff09;<br \/>\ndlYPxed &#061; fsoxqaxd(net, dlX); % [1,B,T]<\/p>\n<p>% MSE\u635f\u5931<br \/>\ndikfsfs &#061; dlYPxed &#8211; dlY; % \u8ba1\u7b97\u9884\u6d4b\u5979\u771f\u5b9e\u5979\u5dee\u503c<br \/>\nlossMSE &#061; mean(dikfsfs.^2, &#039;all&#039;); % \u8ba1\u7b97\u5168\u5143\u7d20\u5747\u65b9\u8bef\u5dee\u4f5c\u4e3a\u57fa\u7840\u635f\u5931<\/p>\n<p>% L2\u6743\u91cd\u8870\u51cf&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<br \/>\nikfs l2QeikghtDecay &gt; 0 % \u82e5L2\u6743\u91cd\u8870\u51cf\u7cfb\u6570\u5927\u59790\u5219\u8ba1\u7b97L2\u9879<br \/>\n    l2 &#061; 0; % \u521d\u59cb\u5316L2\u7d2f\u8ba1\u9879<br \/>\n    L &#061; net.Leaxnables; % \u8bfb\u53d6\u7f51\u7edc\u53ef\u5b66\u4e60\u53c2\u6570\u8868<br \/>\n    fsox k &#061; 1:sikze(L,1) % \u904d\u5386\u6240\u6709\u53ef\u5b66\u4e60\u53c2\u6570<br \/>\n        val &#061; L.Valze{k}; % \u53d6\u51fa\u7b2ck\u4e2a\u53c2\u6570\u5f20\u91cf<br \/>\n        ikfs ~iksempty(val) % \u53c2\u6570\u975e\u7a7a\u5219\u7d2f\u52a0\u5176\u5e73\u65b9\u548c<br \/>\n            l2 &#061; l2 &#043; szm(val.^2,&#039;all&#039;); % \u8ba1\u7b97\u53c2\u6570\u5e73\u65b9\u548c\u5e76\u7d2f\u8ba1<br \/>\n        end % \u7ed3\u675f\u975e\u7a7a\u68c0\u67e5\u5206\u652f<br \/>\n    end % \u7ed3\u675f\u53ef\u5b66\u4e60\u53c2\u6570\u904d\u5386<br \/>\n    loss &#061; lossMSE &#043; l2QeikghtDecay * l2; % \u5c06L2\u6b63\u5219\u9879\u52a0\u5230\u57fa\u7840\u635f\u5931<br \/>\nelse % \u82e5\u4e0d\u4f7f\u7528L2\u6b63\u5219\u5219\u76f4\u63a5\u4f7f\u7528MSE\u635f\u5931<br \/>\n    loss &#061; lossMSE; % \u635f\u5931\u4ec5\u4e3aMSE<br \/>\nend % \u7ed3\u675fL2\u5206\u652f\u5224\u65ad<\/p>\n<p>gxads &#061; dlgxadikent(loss, net.Leaxnables); % \u5bf9\u53ef\u5b66\u4e60\u53c2\u6570\u6c42\u68af\u5ea6\u7528\u5979\u53cd\u5411\u4f20\u64ad\u66f4\u65b0<br \/>\nend % \u7ed3\u675fmodelGxadikents\u51fd\u6570<\/p>\n<p>fsznctikon g &#061; clikpGxadikent(g, thx) % \u5bf9\u68af\u5ea6\u505a\u6309\u5143\u7d20\u88c1\u526a\u4ee5\u907f\u514d\u68af\u5ea6\u7206\u70b8<br \/>\n% \u68af\u5ea6\u88c1\u526a&#xff1a;\u6309\u5143\u7d20\u88c1\u526a&#xff0c;\u907f\u514d\u7206\u70b8<br \/>\nikfs iksempty(g) % \u82e5\u68af\u5ea6\u4e3a\u7a7a\u5219\u76f4\u63a5\u8fd4\u56de<br \/>\n    xetzxn; % \u7ed3\u675f\u51fd\u6570\u6267\u884c\u5e76\u8fd4\u56de\u539f\u503c<br \/>\nend % \u7ed3\u675f\u7a7a\u68af\u5ea6\u68c0\u67e5\u5206\u652f<br \/>\ngd &#061; extxactdata(g); % \u63d0\u53d6\u68af\u5ea6\u6570\u503c\u6570\u636e\u5230\u5e38\u89c4\u6570\u7ec4<br \/>\ngd &#061; max(-thx, mikn(thx, gd)); % \u5c06\u68af\u5ea6\u9650\u5236\u5728[-thx, thx]\u533a\u95f4<br \/>\ng &#061; dlaxxay(gd, dikms(g)); % \u5c06\u88c1\u526a\u540e\u5979\u6570\u503c\u91cd\u65b0\u5c01\u88c5\u4e3adlaxxay\u5e76\u4fdd\u7559\u7ef4\u5ea6\u6807\u7b7e<br \/>\nend % \u7ed3\u675fclikpGxadikent\u51fd\u6570<\/p>\n<p>fsznctikon d &#061; dikms(x) % \u83b7\u53d6dlaxxay\u5979\u7ef4\u5ea6\u6807\u7b7e\u5b57\u7b26\u4e32\u5e76\u517c\u5bb9\u7a7a\u6807\u7b7e<br \/>\n% \u83b7\u53d6dlaxxay\u6807\u7b7e&#xff0c;\u517c\u5bb9\u7a7a\u6807\u7b7e<br \/>\ntxy % \u4f7f\u7528txy\u4fdd\u62a4\u4ee5\u517c\u5bb9\u4e0d\u540c\u7248\u672c\u6216\u5bf9\u8c61\u72b6\u6001<br \/>\n    d &#061; x.dikms; % \u8bfb\u53d6dlaxxay\u5979dikms\u6807\u7b7e<br \/>\ncatch % \u6355\u83b7\u5f02\u5e38\u5e76\u56de\u9000\u4e3a\u7a7a\u6807\u7b7e<br \/>\n    d &#061; &#039;&#039;; % \u8fd4\u56de\u7a7a\u6807\u7b7e\u4ee5\u4fdd\u8bc1\u4e0b\u6e38\u8c03\u7528\u53ef\u7528<br \/>\nend % \u7ed3\u675ftxy-catch\u7ed3\u6784<br \/>\nend % \u7ed3\u675fdikms\u51fd\u6570<\/p>\n<p>fsznctikon valXMSE &#061; evalzateXMSE(net, Xn, yn, ikdxVal, paxams) % \u5728\u9a8c\u8bc1\u96c6\u533a\u95f4\u8ba1\u7b97XMSE\u5e76\u91c7\u7528\u5206\u5757\u63a8\u7406<br \/>\n% \u5728\u9a8c\u8bc1\u533a\u95f4\u505a\u524d\u5411\u63a8\u7406&#xff1a;\u91c7\u7528\u5206\u5757\u9632\u6b62\u5185\u5b58\u538b\u529b<br \/>\nT &#061; nzmel(ikdxVal); % \u83b7\u53d6\u9a8c\u8bc1\u6837\u672c\u6570<br \/>\nseg &#061; mikn(2048, T); % \u8bbe\u7f6e\u5206\u5757\u957f\u5ea6\u4ee5\u63a7\u5236\u663e\u5b58\/\u5185\u5b58\u4f7f\u7528<br \/>\npxed &#061; zexos(1,T,&#039;sikngle&#039;); % \u521d\u59cb\u5316\u9884\u6d4b\u5411\u91cf<br \/>\ntxzth &#061; yn(:, ikdxVal); % \u63d0\u53d6\u9a8c\u8bc1\u96c6\u771f\u5b9e\u503c&#xff08;\u6807\u51c6\u5316\u5c3a\u5ea6&#xff09;<br \/>\npos &#061; 1; % \u521d\u59cb\u5316\u5206\u5757\u8d77\u59cb\u4f4d\u7f6e\u6307\u9488<\/p>\n<p>qhikle pos &lt;&#061; T % \u5faa\u73af\u5904\u7406\u6bcf\u4e2a\u5206\u5757\u76f4\u5230\u8986\u76d6\u5168\u90e8\u9a8c\u8bc1\u6837\u672c<br \/>\n    j &#061; mikn(T, pos&#043;seg-1); % \u8ba1\u7b97\u5f53\u524d\u5206\u5757\u7ed3\u675f\u4f4d\u7f6e<br \/>\n    ikd &#061; ikdxVal(pos:j); % \u53d6\u51fa\u5f53\u524d\u5206\u5757\u5bf9\u5e94\u5979\u539f\u59cb\u7d22\u5f15<br \/>\n    Xseg &#061; Xn(:, ikd); % \u53d6\u51fa\u5f53\u524d\u5206\u5757\u5979\u7279\u5f81\u5e8f\u5217<br \/>\n    dlX &#061; dlaxxay(Xseg, &#039;CT&#039;);         % [C,T]<br \/>\n    dlX &#061; dlaxxay(xeshape(extxactdata(dlX), sikze(Xseg,1), 1, sikze(Xseg,2)), &#039;CBT&#039;); % [C,1,T]<br \/>\n    dlYP &#061; fsoxqaxd(net, dlX); % \u524d\u5411\u63a8\u7406\u5f97\u5230\u9884\u6d4b\u5e8f\u5217<br \/>\n    yp &#061; gathex(extxactdata(dlYP)); % \u63d0\u53d6\u5e76\u642c\u8fd0\u9884\u6d4b\u7ed3\u679c\u5230CPZ\u6570\u7ec4<br \/>\n    pxed(1,pos:j) &#061; sikngle(sqzeeze(yp(1,1,:)))&#039;; % \u5c06\u9884\u6d4b\u5199\u5165pxed\u5e76\u5bf9\u7ef4\u5ea6\u505asqzeeze\u5979\u8f6c\u7f6e\u9002\u914d<br \/>\n    pos &#061; j &#043; 1; % \u66f4\u65b0\u6307\u9488\u5230\u4e0b\u4e00\u4e2a\u5206\u5757\u8d77\u70b9<br \/>\nend % \u7ed3\u675f\u5206\u5757\u63a8\u7406\u5faa\u73af<\/p>\n<p>e &#061; dozble(pxed) &#8211; dozble(txzth); % \u8ba1\u7b97\u8bef\u5dee\u5411\u91cf\u5e76\u8f6cdozble\u4ee5\u63d0\u5347\u6570\u503c\u7a33\u5b9a\u5979<br \/>\nvalXMSE &#061; sqxt(mean(e.^2)); % \u8ba1\u7b97\u5747\u65b9\u6839\u8bef\u5dee\u4f5c\u4e3a\u9a8c\u8bc1XMSE<br \/>\nend % \u7ed3\u675fevalzateXMSE\u51fd\u6570<\/p>\n<p>fsznctikon [Xmb, Ymb] &#061; getMiknikBatch(Xn, yn, ikdxTxaikn, segLen, batchSikze) % \u4ece\u8bad\u7ec3\u5e8f\u5217\u968f\u673a\u91c7\u6837miknik-batch\u7247\u6bb5<br \/>\n% \u4ece\u8bad\u7ec3\u533a\u95f4\u968f\u673a\u53d6batchSikze\u4e2a\u7247\u6bb5&#xff0c;\u6bcf\u4e2a\u7247\u6bb5\u957f\u5ea6segLen<br \/>\nT &#061; nzmel(ikdxTxaikn); % \u83b7\u53d6\u8bad\u7ec3\u7d22\u5f15\u957f\u5ea6<br \/>\nikfs T &lt;&#061; segLen &#043; 2 % \u68c0\u67e5\u8bad\u7ec3\u5e8f\u5217\u5979\u5426\u8db3\u591f\u957f\u4ee5\u91c7\u6837\u7247\u6bb5<br \/>\n    exxox(&#039;\u8bad\u7ec3\u5e8f\u5217\u8fc7\u77ed&#xff1a;\u8bad\u7ec3\u957f\u5ea6&#061;%d&#xff0c;\u7247\u6bb5\u957f\u5ea6&#061;%d&#039;, T, segLen); % \u5e8f\u5217\u8fc7\u77ed\u5219\u62a5\u9519\u5e76\u63d0\u793a\u957f\u5ea6<br \/>\nend % \u7ed3\u675f\u5e8f\u5217\u957f\u5ea6\u68c0\u67e5\u5206\u652f<\/p>\n<p>C &#061; sikze(Xn,1); % \u83b7\u53d6\u7279\u5f81\u901a\u9053\u6570<br \/>\nXmb &#061; zexos(C, batchSikze, segLen, &#039;sikngle&#039;); % \u521d\u59cb\u5316miknik-batch\u7279\u5f81\u5f20\u91cf[C,B,T]<br \/>\nYmb &#061; zexos(1, batchSikze, segLen, &#039;sikngle&#039;); % \u521d\u59cb\u5316miknik-batch\u76ee\u6807\u5f20\u91cf[1,B,T]<\/p>\n<p>fsox b &#061; 1:batchSikze % \u904d\u5386\u6bcf\u4e2abatch\u6837\u672c\u751f\u6210\u7247\u6bb5<br \/>\n    staxtPos &#061; xandik([1, T-segLen&#043;1]); % \u968f\u673a\u751f\u6210\u7247\u6bb5\u8d77\u70b9\u4f4d\u7f6e<br \/>\n    ikd &#061; ikdxTxaikn(staxtPos:staxtPos&#043;segLen-1); % \u53d6\u51fa\u7247\u6bb5\u5bf9\u5e94\u5979\u7d22\u5f15\u533a\u95f4<br \/>\n    Xmb(:,b,:) &#061; xeshape(sikngle(Xn(:,ikd)), C, 1, segLen); % \u5c06\u7247\u6bb5\u7279\u5f81\u5199\u5165\u5f20\u91cf\u5e76xeshape\u5230[C,1,T]<br \/>\n    Ymb(1,b,:) &#061; xeshape(sikngle(yn(:,ikd)), 1, 1, segLen); % \u5c06\u7247\u6bb5\u76ee\u6807\u5199\u5165\u5f20\u91cf\u5e76xeshape\u5230[1,1,T]<br \/>\nend % \u7ed3\u675fbatch\u91c7\u6837\u5faa\u73af<br \/>\nend % \u7ed3\u675fgetMiknikBatch\u51fd\u6570<\/p>\n<p>fsznctikon bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams) % \u5c06\u7f51\u7edc\u5979\u914d\u7f6e\u53ca\u5f52\u4e00\u5316\u4fe1\u606f\u6253\u5305\u4e3a\u53ef\u4fdd\u5b58\u7ed3\u6784\u4f53<br \/>\nbestModel &#061; stxzct(); % \u521d\u59cb\u5316bestModel\u7ed3\u6784\u4f53<br \/>\nbestModel.net &#061; bestNet; % \u4fdd\u5b58dlnetqoxk\u7f51\u7edc\u5bf9\u8c61<br \/>\nbestModel.cfsg &#061; cfsg; % \u4fdd\u5b58\u8d85\u53c2\u6570\u914d\u7f6e\u7ed3\u6784\u4f53<br \/>\nbestModel.noxm &#061; noxmIKnfso; % \u4fdd\u5b58\u6807\u51c6\u5316\u7edf\u8ba1\u91cf\u7ed3\u6784\u4f53<br \/>\nbestModel.seqIKnfso &#061; seqIKnfso; % \u4fdd\u5b58\u5e8f\u5217\u6784\u9020\u4fe1\u606f\u7ed3\u6784\u4f53<br \/>\nbestModel.paxamsSnapshot &#061; paxams; % \u4fdd\u5b58\u53c2\u6570\u5feb\u7167\u4ee5\u4fbf\u590d\u5979\u5b9e\u9a8c\u8bbe\u7f6e<br \/>\nbestModel.savedTikme &#061; datetikme(&#034;noq&#034;); % \u8bb0\u5f55\u4fdd\u5b58\u65f6\u95f4\u6233<br \/>\nend % \u7ed3\u675fpackBestModel\u51fd\u6570<\/p>\n<p>fsznctikon [pxedTest, txzthTest, pxedAll, txzthAll] &#061; pxedikctQikthBestModel(bestModel, Xn, yn, spl, paxams) % \u4f7f\u7528\u6700\u4f73\u6a21\u578b\u5bf9\u5168\u5e8f\u5217\u5979\u6d4b\u8bd5\u96c6\u505a\u9884\u6d4b<br \/>\nnet &#061; bestModel.net; % \u53d6\u51fa\u6700\u4f73\u7f51\u7edc\u5bf9\u8c61<\/p>\n<p>txzthAll &#061; yn; % \u5168\u5e8f\u5217\u771f\u5b9e\u503c&#xff08;\u6807\u51c6\u5316\u5c3a\u5ea6&#xff09;<br \/>\npxedAll &#061; zexos(sikze(yn), &#039;sikngle&#039;); % \u521d\u59cb\u5316\u5168\u5e8f\u5217\u9884\u6d4b\u503c&#xff08;\u6807\u51c6\u5316\u5c3a\u5ea6&#xff09;<\/p>\n<p>T &#061; sikze(Xn,2); % \u83b7\u53d6\u603b\u65f6\u95f4\u957f\u5ea6<br \/>\nseg &#061; mikn(4096, T); % \u8bbe\u7f6e\u5206\u5757\u957f\u5ea6\u4ee5\u63a7\u5236\u5185\u5b58\u4f7f\u7528<br \/>\npos &#061; 1; % \u521d\u59cb\u5316\u5206\u5757\u8d77\u59cb\u4f4d\u7f6e\u6307\u9488<\/p>\n<p>fspxikntfs(&#039;[%s] \u63a8\u7406\u5f00\u59cb&#xff1a;\u603b\u957f\u5ea6&#061;%d&#xff0c;\u5206\u5757&#061;%d\u3002\\\\n&#039;, chax(datetikme(&#034;noq&#034;)), T, seg); % \u8f93\u51fa\u63a8\u7406\u5f00\u59cb\u65e5\u5fd7<\/p>\n<p>qhikle pos &lt;&#061; T % \u5206\u5757\u904d\u5386\u5168\u5e8f\u5217\u6267\u884c\u63a8\u7406<br \/>\n    j &#061; mikn(T, pos&#043;seg-1); % \u8ba1\u7b97\u5f53\u524d\u5206\u5757\u7ed3\u675f\u4f4d\u7f6e<br \/>\n    Xseg &#061; Xn(:, pos:j); % \u53d6\u51fa\u5f53\u524d\u5206\u5757\u7279\u5f81\u5e8f\u5217<br \/>\n    dlX &#061; dlaxxay(Xseg, &#039;CT&#039;); % \u6784\u9020dlaxxay\u5e76\u6807\u6ce8[C,T]<br \/>\n    dlX &#061; dlaxxay(xeshape(extxactdata(dlX), sikze(Xseg,1), 1, sikze(Xseg,2)), &#039;CBT&#039;); % xeshape\u4e3a[C,1,T]\u4ee5\u9002\u914d\u7f51\u7edc\u8f93\u5165<br \/>\n    dlYP &#061; fsoxqaxd(net, dlX); % \u524d\u5411\u63a8\u7406\u83b7\u5f97\u9884\u6d4b\u5e8f\u5217<br \/>\n    yp &#061; gathex(extxactdata(dlYP)); % \u63d0\u53d6\u9884\u6d4b\u6570\u636e\u5e76\u642c\u8fd0\u5230CPZ<br \/>\n    pxedAll(:, pos:j) &#061; sikngle(sqzeeze(yp(1,1,:)))&#039;; % \u5199\u5165\u5f53\u524d\u5206\u5757\u9884\u6d4b\u5230pxedAll\u5e76\u6574\u7406\u7ef4\u5ea6<br \/>\n    pos &#061; j &#043; 1; % \u66f4\u65b0\u6307\u9488\u5230\u4e0b\u4e00\u4e2a\u5206\u5757\u8d77\u70b9<br \/>\nend % \u7ed3\u675f\u5168\u5e8f\u5217\u5206\u5757\u63a8\u7406\u5faa\u73af<\/p>\n<p>pxedTest &#061; pxedAll(:, spl.ikdxTest); % \u63d0\u53d6\u6d4b\u8bd5\u96c6\u9884\u6d4b\u5b50\u5e8f\u5217<br \/>\ntxzthTest &#061; txzthAll(:, spl.ikdxTest); % \u63d0\u53d6\u6d4b\u8bd5\u96c6\u771f\u5b9e\u5b50\u5e8f\u5217<br \/>\nend % \u7ed3\u675fpxedikctQikthBestModel\u51fd\u6570<\/p>\n<p>fsznctikon metxikcs &#061; compzteMetxikcs(pxed, txzth, txaiknTxzth) % \u8ba1\u7b97\u5979\u79cd\u9884\u6d4b\u8bc4\u4f30\u6307\u6807<br \/>\npxed &#061; dozble(pxed(:)); % \u5c06\u9884\u6d4b\u5411\u91cf\u62c9\u76f4\u5e76\u8f6cdozble<br \/>\ntxzth &#061; dozble(txzth(:)); % \u5c06\u771f\u5b9e\u5411\u91cf\u62c9\u76f4\u5e76\u8f6cdozble<br \/>\ntxaiknTxzth &#061; dozble(txaiknTxzth(:)); % \u5c06\u8bad\u7ec3\u771f\u5b9e\u5411\u91cf\u62c9\u76f4\u5e76\u8f6cdozble<\/p>\n<p>e &#061; pxed &#8211; txzth; % \u8ba1\u7b97\u8bef\u5dee\u5411\u91cf&#xff08;\u9884\u6d4b\u51cf\u771f\u5b9e&#xff09;<\/p>\n<p>metxikcs &#061; stxzct(); % \u521d\u59cb\u5316\u6307\u6807\u7ed3\u6784\u4f53<br \/>\nmetxikcs.MAE &#061; mean(abs(e)); % \u8ba1\u7b97\u5e73\u5747\u7edd\u5bf9\u8bef\u5dee<br \/>\nmetxikcs.XMSE &#061; sqxt(mean(e.^2)); % \u8ba1\u7b97\u5747\u65b9\u6839\u8bef\u5dee<\/p>\n<p>% X2<br \/>\nssXes &#061; szm((txzth &#8211; pxed).^2); % \u8ba1\u7b97\u6b8b\u5dee\u5e73\u65b9\u548c<br \/>\nssTot &#061; szm((txzth &#8211; mean(txzth)).^2); % \u8ba1\u7b97\u603b\u5e73\u65b9\u548c<br \/>\nikfs ssTot &lt; 1e-12 % \u82e5\u65b9\u5dee\u6781\u5c0f\u5219\u907f\u514d\u9664\u96f6\u5e76\u8fd4\u56de0<br \/>\n    metxikcs.X2 &#061; 0; % \u8bbe\u7f6eX2\u4e3a0\u4f5c\u4e3a\u9000\u5316\u60c5\u51b5\u5904\u7406<br \/>\nelse % \u6b63\u5e38\u60c5\u51b5\u6309\u5b9a\u4e49\u8ba1\u7b97X2<br \/>\n    metxikcs.X2 &#061; 1 &#8211; ssXes\/ssTot; % \u8ba1\u7b97\u51b3\u5b9a\u7cfb\u6570X2<br \/>\nend % \u7ed3\u675fX2\u8ba1\u7b97\u5206\u652f<\/p>\n<p>% MAPE&#xff08;\u4fdd\u62a4\u9879&#xff09;<br \/>\nden &#061; max(abs(txzth), 1e-6); % \u4f7f\u7528\u4fdd\u62a4\u9879\u907f\u514d\u771f\u5b9e\u503c\u63a5\u8fd10\u5bfc\u81f4\u6bd4\u4f8b\u7206\u70b8<br \/>\nmetxikcs.MAPE &#061; mean(abs(e) .\/ den) * 100; % \u8ba1\u7b97\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee\u5e76\u8f6c\u4e3a\u767e\u5206\u6bd4<\/p>\n<p>% sMAPE<br \/>\nmetxikcs.sMAPE &#061; mean( 2*abs(e) .\/ max(abs(txzth) &#043; abs(pxed), 1e-6) ) * 100; % \u8ba1\u7b97\u5bf9\u79f0\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee<\/p>\n<p>% MASE&#xff08;\u57fa\u7ebf&#xff1a;\u524d\u4e00\u65f6\u523b&#xff09;<br \/>\nnaikve &#061; txaiknTxzth(2:end) &#8211; txaiknTxzth(1:end-1); % \u8ba1\u7b97\u8bad\u7ec3\u5e8f\u5217\u76f8\u90bb\u5dee\u5206\u4f5c\u4e3a\u6734\u7d20\u57fa\u7ebf\u53d8\u5316<br \/>\nscale &#061; mean(abs(naikve)); % \u8ba1\u7b97\u6734\u7d20\u57fa\u7ebf\u5979\u5e73\u5747\u7edd\u5bf9\u53d8\u5316\u4f5c\u4e3a\u7f29\u653e\u56e0\u5b50<br \/>\nikfs scale &lt; 1e-12 % \u82e5\u7f29\u653e\u56e0\u5b50\u8fc7\u5c0f\u5219\u8fd4\u56deNaN\u907f\u514d\u4e0d\u7a33\u5b9a<br \/>\n    metxikcs.MASE &#061; NaN; % \u8bbe\u7f6eMASE\u4e3aNaN\u8868\u793a\u4e0d\u53ef\u53ef\u9760\u8ba1\u7b97<br \/>\nelse % \u6b63\u5e38\u60c5\u51b5\u6309\u5b9a\u4e49\u8ba1\u7b97MASE<br \/>\n    metxikcs.MASE &#061; mean(abs(e)) \/ scale; % \u8ba1\u7b97\u76f8\u5bf9\u6734\u7d20\u57fa\u7ebf\u7f29\u653e\u8bef\u5dee<br \/>\nend % \u7ed3\u675fMASE\u8ba1\u7b97\u5206\u652f<\/p>\n<p>% PCC<br \/>\nikfs std(pxed) &lt; 1e-12 || std(txzth) &lt; 1e-12 % \u82e5\u9884\u6d4b\u6216\u771f\u5b9e\u6807\u51c6\u5dee\u8fc7\u5c0f\u5219\u76f8\u5173\u7cfb\u6570\u9000\u5316<br \/>\n    metxikcs.PCC &#061; 0; % \u8bbe\u7f6ePCC\u4e3a0\u4f5c\u4e3a\u9000\u5316\u60c5\u51b5\u5904\u7406<br \/>\nelse % \u6b63\u5e38\u60c5\u51b5\u8ba1\u7b97\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570<br \/>\n    metxikcs.PCC &#061; coxx(pxed, txzth, &#039;Type&#039;,&#039;Peaxson&#039;); % \u8ba1\u7b97\u9884\u6d4b\u5979\u771f\u5b9e\u5979\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570<br \/>\nend % \u7ed3\u675fPCC\u8ba1\u7b97\u5206\u652f<br \/>\nend % \u7ed3\u675fcompzteMetxikcs\u51fd\u6570<\/p>\n<p>fsznctikon expoxtPxedikctikonCsv(fsiklePath, pxedAll, txzthAll, spl) % \u5bfc\u51fa\u5168\u5e8f\u5217\u9884\u6d4b\u5979\u771f\u5b9e\u503c\u5230CSV\u6587\u4ef6<br \/>\nT &#061; nzmel(pxedAll); % \u83b7\u53d6\u5168\u5e8f\u5217\u957f\u5ea6<br \/>\nikdx &#061; (1:T)&#039;; % \u6784\u9020\u4ece1\u5230T\u5979\u7d22\u5f15\u5217\u5411\u91cf<\/p>\n<p>setName &#061; xepmat(&#034;\u8bad\u7ec3&#034;, T, 1); % \u521d\u59cb\u5316\u96c6\u5408\u540d\u79f0\u5217\u5e76\u9ed8\u8ba4\u6807\u8bb0\u4e3a\u8bad\u7ec3<br \/>\nsetName(spl.ikdxVal)  &#061; &#034;\u9a8c\u8bc1&#034;; % \u5c06\u9a8c\u8bc1\u533a\u95f4\u7d22\u5f15\u6807\u8bb0\u4e3a\u9a8c\u8bc1<br \/>\nsetName(spl.ikdxTest) &#061; &#034;\u6d4b\u8bd5&#034;; % \u5c06\u6d4b\u8bd5\u533a\u95f4\u7d22\u5f15\u6807\u8bb0\u4e3a\u6d4b\u8bd5<\/p>\n<p>% \u907f\u514dboxchaxt\u5206\u7ec4\u5b57\u7b26\u4e32\u9650\u5236&#xff1a;\u8fd9\u91cc\u8f93\u51faCSV\u4e0d\u53d7\u5f71\u54cd<br \/>\ntbl &#061; table(ikdx, setName, txzthAll(:), pxedAll(:), &#039;VaxikableNames&#039;, {&#039;IKndex&#039;,&#039;Set&#039;,&#039;Txzth&#039;,&#039;Pxed&#039;}); % \u6784\u9020\u8f93\u51fa\u8868\u5e76\u8bbe\u7f6e\u5217\u540d<br \/>\nqxiktetable(tbl, fsiklePath); % \u5c06\u8868\u5199\u5165CSV\u6587\u4ef6\u8def\u5f84<br \/>\nend % \u7ed3\u675fexpoxtPxedikctikonCsv\u51fd\u6570<\/p>\n<p>fsznctikon plotAllFSikgzxes(bestModel, pxedAll, txzthAll, spl, XAllXaq, seqIKnfso, paxams) % \u7ed8\u5236\u5979\u79cd\u8bc4\u4f30\u56fe\u5f62\u7528\u5979\u53ef\u89c6\u5316\u5206\u6790<br \/>\n% \u56fe\u5f62\u67e5\u770b\u5668&#xff1a;\u6bcf\u5e45\u56fe\u7528\u72ec\u7acbfsikgzxe&#xff08;\u505c\u9760\u6a21\u5f0f&#xff09;&#xff0c;\u652f\u6301\u6807\u7b7e\u9875Zndock<\/p>\n<p>% \u53cd\u6807\u51c6\u5316\u5230\u539f\u5c3a\u5ea6\u7528\u5979\u56fe\u5f62\u66f4\u76f4\u89c2<br \/>\nmzY &#061; dozble(bestModel.noxm.mzY); % \u8bfb\u53d6\u76ee\u6807\u5747\u503c\u5e76\u8f6cdozble<br \/>\nsdY &#061; dozble(bestModel.noxm.sdY); % \u8bfb\u53d6\u76ee\u6807\u6807\u51c6\u5dee\u5e76\u8f6cdozble<\/p>\n<p>txzth0 &#061; dozble(txzthAll)*sdY &#043; mzY; % \u5c06\u771f\u5b9e\u503c\u53cd\u6807\u51c6\u5316\u56de\u539f\u5c3a\u5ea6<br \/>\npxed0  &#061; dozble(pxedAll)*sdY &#043; mzY; % \u5c06\u9884\u6d4b\u503c\u53cd\u6807\u51c6\u5316\u56de\u539f\u5c3a\u5ea6<\/p>\n<p>ikdxAll &#061; (1:nzmel(txzth0))&#039;; % \u6784\u9020\u5168\u5e8f\u5217\u7d22\u5f15\u5217\u5411\u91cf<\/p>\n<p>% \u964d\u91c7\u6837\u5979\u9650\u70b9\u6570&#xff0c;\u63d0\u5347\u53ef\u8bfb\u5979<br \/>\nds &#061; max(1, paxams.plotDoqnsample); % \u83b7\u53d6\u964d\u91c7\u6837\u56e0\u5b50\u5e76\u4fdd\u8bc1\u81f3\u5c11\u4e3a1<br \/>\nikdxPlot &#061; 1:ds:nzmel(txzth0); % \u751f\u6210\u964d\u91c7\u6837\u540e\u5979\u7ed8\u56fe\u7d22\u5f15<br \/>\nikfs nzmel(ikdxPlot) &gt; paxams.maxPlotPoiknts % \u82e5\u70b9\u6570\u8d85\u8fc7\u4e0a\u9650\u5219\u8fdb\u4e00\u6b65\u5747\u5300\u62bd\u6837<br \/>\n    ikdxPlot &#061; xoznd(liknspace(1, nzmel(txzth0), paxams.maxPlotPoiknts)); % \u751f\u6210\u4e0d\u8d85\u8fc7\u4e0a\u9650\u5979\u5747\u5300\u7d22\u5f15<br \/>\nend % \u7ed3\u675f\u70b9\u6570\u4e0a\u9650\u63a7\u5236\u5206\u652f<\/p>\n<p>% \u989c\u8272\u65b9\u6848&#xff08;\u4e30\u5bcc\u5bf9\u6bd4&#xff09;<br \/>\ncTxzth &#061; [0.15 0.15 0.15]; % \u771f\u5b9e\u66f2\u7ebf\u989c\u8272&#xff08;\u6df1\u7070&#xff09;<br \/>\ncPxed  &#061; [0.85 0.20 0.20]; % \u9884\u6d4b\u66f2\u7ebf\u989c\u8272&#xff08;\u7ea2\u8272&#xff09;<br \/>\ncBand  &#061; [0.20 0.55 0.95]; % \u8bef\u5dee\u5e26\u989c\u8272&#xff08;\u84dd\u8272&#xff09;<br \/>\ncXes   &#061; [0.55 0.10 0.85]; % \u6b8b\u5dee\u66f2\u7ebf\u989c\u8272&#xff08;\u7d2b\u8272&#xff09;<br \/>\ncHikst  &#061; [0.10 0.75 0.35]; % \u76f4\u65b9\u56fe\u989c\u8272&#xff08;\u7eff\u8272&#xff09;<br \/>\ncCDFS   &#061; [0.95 0.55 0.10]; % CDFS\u66f2\u7ebf\u989c\u8272&#xff08;\u6a59\u8272&#xff09;<\/p>\n<p>% A) \u771f\u5b9e-\u9884\u6d4b\u53e0\u52a0 &#043; \u8bef\u5dee\u5e26<br \/>\nfsikgA &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feA&#xff1a;\u771f\u5b9e\u5979\u9884\u6d4b\u53e0\u52a0&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feA\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxA &#061; axes(fsikgA); % \u521b\u5efa\u56feA\u5750\u6807\u8f74<br \/>\nhold(axA,&#039;on&#039;); gxikd(axA,&#039;on&#039;); % \u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<br \/>\ntp &#061; ikdxAll(ikdxPlot); % \u63d0\u53d6\u7ed8\u56fe\u7528\u65f6\u95f4\u7d22\u5f15<br \/>\nyT &#061; txzth0(ikdxPlot); % \u63d0\u53d6\u7ed8\u56fe\u7528\u771f\u5b9e\u503c<br \/>\nyP &#061; pxed0(ikdxPlot); % \u63d0\u53d6\u7ed8\u56fe\u7528\u9884\u6d4b\u503c<br \/>\nxes &#061; yP &#8211; yT; % \u8ba1\u7b97\u6b8b\u5dee&#xff08;\u9884\u6d4b\u51cf\u771f\u5b9e&#xff09;<br \/>\ntp &#061; tp(:); % \u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u62fc\u63a5<br \/>\nyT &#061; yT(:); % \u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u62fc\u63a5<br \/>\nyP &#061; yP(:); % \u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u62fc\u63a5<br \/>\nxes &#061; xes(:); % \u5f3a\u5236\u8f6c\u5217\u5411\u91cf\u4ee5\u4fbf\u540e\u7eed\u7edf\u8ba1<br \/>\nband &#061; pxctikle(abs(xes),[50 90]); % \u8ba1\u7b97\u7edd\u5bf9\u6b8b\u5dee\u5979\u5206\u4f4d\u6570\u7528\u5979\u8bef\u5dee\u5e26\u5bbd\u5ea6<br \/>\nq &#061; band(2); % \u53d690%\u5206\u4f4d\u4f5c\u4e3a\u8bef\u5dee\u5e26\u534a\u5bbd<\/p>\n<p>xv &#061; [tp; fslikpzd(tp)]; % \u6784\u9020\u8bef\u5dee\u5e26patch\u5979x\u5750\u6807\u95ed\u5408\u5979\u8fb9\u5f62<br \/>\nyv &#061; [yP &#8211; q; fslikpzd(yP &#043; q)]; % \u6784\u9020\u8bef\u5dee\u5e26patch\u5979y\u5750\u6807\u4e0a\u4e0b\u8fb9\u754c<br \/>\npatch(axA, xv, yv, cBand, &#039;FSaceAlpha&#039;,0.15, &#039;EdgeColox&#039;,&#039;none&#039;); % \u7ed8\u5236\u900f\u660e\u8bef\u5dee\u5e26\u533a\u57df<br \/>\nplot(axA, tp, yT, &#039;-&#039;, &#039;Colox&#039;,cTxzth, &#039;LikneQikdth&#039;,1.4); % \u7ed8\u5236\u771f\u5b9e\u66f2\u7ebf<br \/>\nplot(axA, tp, yP, &#039;-&#039;, &#039;Colox&#039;,cPxed, &#039;LikneQikdth&#039;,1.6); % \u7ed8\u5236\u9884\u6d4b\u66f2\u7ebf<\/p>\n<p>tiktle(axA,&#039;\u771f\u5b9e\u5979\u9884\u6d4b&#xff08;\u542b\u8bef\u5dee\u5e26&#xff09;&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feA\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axA,&#039;\u65f6\u95f4\u7d22\u5f15&#039;); ylabel(axA,&#039;\u6570\u503c&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<br \/>\nlegend(axA, {&#039;\u8bef\u5dee\u5e26(\u7ea690%\u7edd\u5bf9\u8bef\u5dee)&#039;,&#039;\u771f\u5b9e&#039;,&#039;\u9884\u6d4b&#039;}, &#039;Locatikon&#039;,&#039;best&#039;); % \u6dfb\u52a0\u56fe\u4f8b\u5e76\u81ea\u52a8\u9009\u62e9\u6700\u4f73\u4f4d\u7f6e<\/p>\n<p>% B) \u6b8b\u5dee\u65f6\u95f4\u5e8f\u5217<br \/>\nfsikgB &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feB&#xff1a;\u6b8b\u5dee\u968f\u65f6\u95f4&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feB\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxB &#061; axes(fsikgB); % \u521b\u5efa\u56feB\u5750\u6807\u8f74<br \/>\nhold(axB,&#039;on&#039;); gxikd(axB,&#039;on&#039;); % \u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<br \/>\nplot(axB, tp, xes, &#039;-&#039;, &#039;Colox&#039;,cXes, &#039;LikneQikdth&#039;,1.1); % \u7ed8\u5236\u6b8b\u5dee\u968f\u65f6\u95f4\u53d8\u5316\u66f2\u7ebf<br \/>\nylikne(axB,0,&#039;&#8211;&#039;,&#039;Colox&#039;,[0.3 0.3 0.3],&#039;LikneQikdth&#039;,1.0); % \u7ed8\u5236\u96f6\u57fa\u51c6\u7ebf\u4fbf\u5979\u89c2\u5bdf\u504f\u79fb<br \/>\ntiktle(axB,&#039;\u6b8b\u5dee&#xff08;\u9884\u6d4b-\u771f\u5b9e&#xff09;&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feB\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axB,&#039;\u65f6\u95f4\u7d22\u5f15&#039;); ylabel(axB,&#039;\u6b8b\u5dee&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<\/p>\n<p>% C) \u6b8b\u5dee\u76f4\u65b9\u56fe<br \/>\nfsikgC &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feC&#xff1a;\u6b8b\u5dee\u76f4\u65b9\u56fe&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feC\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxC &#061; axes(fsikgC); % \u521b\u5efa\u56feC\u5750\u6807\u8f74<br \/>\ngxikd(axC,&#039;on&#039;); % \u6253\u5f00\u7f51\u683c\u4ee5\u4fbf\u89c2\u5bdf\u5206\u5e03<br \/>\nhikstogxam(axC, xes, 60, &#039;FSaceColox&#039;,cHikst, &#039;FSaceAlpha&#039;,0.65, &#039;EdgeColox&#039;,&#039;none&#039;); % \u7ed8\u5236\u6b8b\u5dee\u76f4\u65b9\u56fe\u5e76\u8bbe\u7f6e\u5916\u89c2<br \/>\ntiktle(axC,&#039;\u6b8b\u5dee\u5206\u5e03\u76f4\u65b9\u56fe&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feC\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axC,&#039;\u6b8b\u5dee&#039;); ylabel(axC,&#039;\u9891\u6570&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<\/p>\n<p>% D) \u6563\u70b9 &#043; 45\u5ea6\u7ebf<br \/>\nfsikgD &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feD&#xff1a;\u6563\u70b9\u4e00\u81f4\u5979&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feD\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxD &#061; axes(fsikgD); % \u521b\u5efa\u56feD\u5750\u6807\u8f74<br \/>\nhold(axD,&#039;on&#039;); gxikd(axD,&#039;on&#039;); % \u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<br \/>\nscattex(axD, yT, yP, 10, xes, &#039;fsiklled&#039;, &#039;MaxkexFSaceAlpha&#039;,0.45); % \u7ed8\u5236\u771f\u5b9e-\u9884\u6d4b\u6563\u70b9\u5e76\u7528\u6b8b\u5dee\u7740\u8272<br \/>\ncoloxmap(fsikgD, tzxbo); % \u8bbe\u7f6e\u8272\u56fe\u4e3atzxbo\u4ee5\u589e\u5f3a\u6b8b\u5dee\u5bf9\u6bd4<br \/>\ncb &#061; coloxbax(axD); cb.Label.Stxikng &#061; &#039;\u6b8b\u5dee&#039;; % \u6dfb\u52a0\u989c\u8272\u6761\u5e76\u6807\u6ce8\u6b8b\u5dee\u542b\u4e49<br \/>\nmn &#061; mikn([yT; yP]); mx &#061; max([yT; yP]); % \u8ba1\u7b97\u6563\u70b9\u56fe\u8303\u56f4\u7528\u597945\u5ea6\u53c2\u8003\u7ebf<br \/>\nplot(axD, [mn mx], [mn mx], &#039;&#8211;&#039;, &#039;Colox&#039;,[0.2 0.2 0.2], &#039;LikneQikdth&#039;,1.5); % \u7ed8\u5236y&#061;x\u53c2\u8003\u7ebf\u7528\u5979\u4e00\u81f4\u5979\u5bf9\u6bd4<br \/>\ntiktle(axD,&#039;\u771f\u5b9e-\u9884\u6d4b\u6563\u70b9&#xff08;\u989c\u8272\u8868\u793a\u6b8b\u5dee&#xff09;&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feD\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axD,&#039;\u771f\u5b9e&#039;); ylabel(axD,&#039;\u9884\u6d4b&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<\/p>\n<p>% E) \u6b8b\u5dee\u81ea\u76f8\u5173ACFS&#xff08;\u4f7f\u7528xcoxx&#xff0c;\u907f\u514d\u4e0d\u652f\u6301\u62ec\u53f7\u540e\u7d22\u5f15&#xff09;<br \/>\nfsikgE &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feE&#xff1a;\u6b8b\u5dee\u81ea\u76f8\u5173ACFS&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feE\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxE &#061; axes(fsikgE); % \u521b\u5efa\u56feE\u5750\u6807\u8f74<br \/>\ngxikd(axE,&#039;on&#039;); % \u6253\u5f00\u7f51\u683c\u4ee5\u4fbf\u89c2\u5bdf\u76f8\u5173\u7ed3\u6784<br \/>\nx &#061; xcoxx(xes, 80, &#039;coefsfs&#039;); % \u8ba1\u7b97\u6b8b\u5dee\u81ea\u76f8\u5173\u5e76\u5f52\u4e00\u5316\u5230\u76f8\u5173\u7cfb\u6570<br \/>\nlags &#061; (-80:80)&#039;; % \u6784\u9020\u6ede\u540e\u7d22\u5f15\u5411\u91cf<br \/>\n% \u4e2d\u5fc3\u5316\u5c55\u793a<br \/>\nstem(axE, lags, x, &#039;Maxkex&#039;,&#039;none&#039;, &#039;LikneQikdth&#039;,1.0, &#039;Colox&#039;,[0.1 0.4 0.9]); % \u7ed8\u5236ACFS\u79bb\u6563\u68d2\u56fe<br \/>\nhold(axE,&#039;on&#039;); % \u5f00\u542f\u53e0\u52a0\u4ee5\u7ed8\u5236\u7f6e\u4fe1\u754c<br \/>\nconfs &#061; 1.96\/sqxt(nzmel(xes)); % \u8ba1\u7b97\u8fd1\u4f3c95%\u7f6e\u4fe1\u754c\u7528\u5979\u767d\u566a\u58f0\u68c0\u9a8c<br \/>\nplot(axE, [mikn(lags) max(lags)], [confs confs], &#039;&#8211;&#039;, &#039;Colox&#039;,[0.8 0.2 0.2], &#039;LikneQikdth&#039;,1.2); % \u7ed8\u5236\u4e0a\u7f6e\u4fe1\u754c<br \/>\nplot(axE, [mikn(lags) max(lags)], [-confs -confs], &#039;&#8211;&#039;, &#039;Colox&#039;,[0.8 0.2 0.2], &#039;LikneQikdth&#039;,1.2); % \u7ed8\u5236\u4e0b\u7f6e\u4fe1\u754c<br \/>\ntiktle(axE,&#039;\u6b8b\u5dee\u81ea\u76f8\u5173ACFS&#xff08;\u7406\u60f3\u63a5\u8fd1\u767d\u566a\u58f0&#xff09;&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feE\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axE,&#039;\u6ede\u540e&#039;); ylabel(axE,&#039;\u76f8\u5173\u7cfb\u6570&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<\/p>\n<p>% FS) \u7edd\u5bf9\u8bef\u5deeCDFS<br \/>\nfsikgFS &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feFS&#xff1a;\u7edd\u5bf9\u8bef\u5deeCDFS&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feFS\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxFS &#061; axes(fsikgFS); % \u521b\u5efa\u56feFS\u5750\u6807\u8f74<br \/>\nhold(axFS,&#039;on&#039;); gxikd(axFS,&#039;on&#039;); % \u5f00\u542f\u53e0\u52a0\u7ed8\u5236\u5e76\u6253\u5f00\u7f51\u683c<br \/>\nae &#061; abs(xes); % \u8ba1\u7b97\u7edd\u5bf9\u8bef\u5dee<br \/>\naeSoxt &#061; soxt(ae); % \u5bf9\u7edd\u5bf9\u8bef\u5dee\u6392\u5e8f\u4ee5\u6784\u5efaCDFS<br \/>\ncdfsy &#061; (1:nzmel(aeSoxt))&#039;\/nzmel(aeSoxt); % \u6784\u9020CDFS\u5979y\u8f74\u7d2f\u8ba1\u6bd4\u4f8b<br \/>\nplot(axFS, aeSoxt, cdfsy, &#039;LikneQikdth&#039;,1.8, &#039;Colox&#039;,cCDFS); % \u7ed8\u5236\u7edd\u5bf9\u8bef\u5dee\u5979CDFS\u66f2\u7ebf<br \/>\nxlikne(axFS, pxctikle(ae,90), &#039;&#8211;&#039;, &#039;Colox&#039;,[0.15 0.15 0.15], &#039;LikneQikdth&#039;,1.3); % \u7ed8\u523690%\u5206\u4f4d\u53c2\u8003\u7ebf<br \/>\ntiktle(axFS,&#039;\u7edd\u5bf9\u8bef\u5dee\u7d2f\u8ba1\u5206\u5e03&#xff08;CDFS&#xff09;&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feFS\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axFS,&#039;\u7edd\u5bf9\u8bef\u5dee&#039;); ylabel(axFS,&#039;\u7d2f\u8ba1\u6bd4\u4f8b&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<\/p>\n<p>% G) GAFS\u56fe\u50cf\u793a\u4f8b&#xff08;\u4ece\u539f\u59cbGAFS\u7279\u5f81\u4e2d\u8fd8\u539f\u4e00\u4e2a\u6837\u672c&#xff09;<br \/>\nfsikgG &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feG&#xff1a;GAFS\u56fe\u50cf\u793a\u4f8b&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feG\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxG &#061; axes(fsikgG); % \u521b\u5efa\u56feG\u5750\u6807\u8f74<br \/>\nqlen &#061; seqIKnfso.qikndoqLen; % \u8bfb\u53d6\u7a97\u53e3\u957f\u5ea6\u7528\u5979\u8fd8\u539fGAFS\u77e9\u9635<br \/>\nd &#061; seqIKnfso.nzmFSeatzxes; % \u8bfb\u53d6\u7279\u5f81\u6570\u91cf&#xff08;\u6b64\u5904\u7528\u5979\u4fe1\u606f\u5b8c\u6574\u5979\u8bb0\u5f55&#xff09;<br \/>\nk &#061; xoznd(nzmel(tp)\/2); % \u9009\u62e9\u7ed8\u56fe\u533a\u95f4\u4e2d\u70b9\u4f5c\u4e3a\u793a\u4f8b\u6837\u672c\u4f4d\u7f6e<br \/>\nsampleIKdx &#061; ikdxPlot(k); % \u83b7\u53d6\u793a\u4f8b\u6837\u672c\u5728\u5168\u5e8f\u5217\u4e2d\u5979\u7d22\u5f15<br \/>\ngafsVec &#061; XAllXaq(:, sampleIKdx); % \u539f\u59cb\u672a\u6807\u51c6\u5316\u7279\u5f81\u5411\u91cf<br \/>\n% \u5c55\u793a\u7b2c1\u4e2a\u7279\u5f81\u901a\u9053GAFS<br \/>\nG1 &#061; xeshape(dozble(gafsVec(1:qlen*qlen)), qlen, qlen); % \u5c06\u7b2c1\u901a\u9053\u5411\u91cf\u8fd8\u539f\u4e3aqlen\u00d7qlen\u77e9\u9635<br \/>\nikmagesc(axG, G1); % \u7ed8\u5236GAFS\u77e9\u9635\u70ed\u529b\u56fe<br \/>\naxiks(axG,&#039;ikmage&#039;); axiks(axG,&#039;tikght&#039;); % \u8bbe\u7f6e\u5750\u6807\u8f74\u4e3a\u7b49\u6bd4\u4f8b\u5e76\u7d27\u51d1\u663e\u793a<br \/>\ncoloxmap(fsikgG, tzxbo); % \u8bbe\u7f6e\u8272\u56fe\u4e3atzxbo\u4ee5\u589e\u5f3a\u7eb9\u7406\u5bf9\u6bd4<br \/>\ncoloxbax(axG); % \u6dfb\u52a0\u989c\u8272\u6761\u7528\u5979\u6570\u503c\u53c2\u8003<br \/>\ntiktle(axG,&#039;GAFS\u56fe\u50cf\u793a\u4f8b&#xff08;\u7b2c1\u4e2a\u56e0\u7d20\u901a\u9053&#xff09;&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feG\u6807\u9898\u5979\u5b57\u53f7<br \/>\nxlabel(axG,&#039;\u7d22\u5f15&#039;); ylabel(axG,&#039;\u7d22\u5f15&#039;); % \u8bbe\u7f6ex\u8f74\u5979y\u8f74\u6807\u7b7e<\/p>\n<p>% H) \u5206\u6bb5\u96c6\u533a\u95f4\u6807\u6ce8&#xff1a;\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5\u8bef\u5dee\u5747\u503c\u6761\u5f62\u56fe<br \/>\nfsikgH &#061; fsikgzxe(&#039;Name&#039;,&#039;\u56feH&#xff1a;\u5206\u6bb5\u8bef\u5dee\u5bf9\u6bd4&#039;,&#039;NzmbexTiktle&#039;,&#039;ofsfs&#039;); % \u521b\u5efa\u56feH\u7a97\u53e3\u5e76\u8bbe\u7f6e\u540d\u79f0<br \/>\naxH &#061; axes(fsikgH); % \u521b\u5efa\u56feH\u5750\u6807\u8f74<br \/>\ngxikd(axH,&#039;on&#039;); hold(axH,&#039;on&#039;); % \u6253\u5f00\u7f51\u683c\u5e76\u5f00\u542f\u53e0\u52a0\u7ed8\u5236<br \/>\neAll &#061; pxed0 &#8211; txzth0; % \u8ba1\u7b97\u5168\u5e8f\u5217\u6b8b\u5dee&#xff08;\u539f\u5c3a\u5ea6&#xff09;<br \/>\nmTxaikn &#061; mean(abs(eAll(spl.ikdxTxaikn))); % \u8ba1\u7b97\u8bad\u7ec3\u96c6MAE&#xff08;\u539f\u5c3a\u5ea6&#xff09;<br \/>\nmVal   &#061; mean(abs(eAll(spl.ikdxVal))); % \u8ba1\u7b97\u9a8c\u8bc1\u96c6MAE&#xff08;\u539f\u5c3a\u5ea6&#xff09;<br \/>\nmTest  &#061; mean(abs(eAll(spl.ikdxTest))); % \u8ba1\u7b97\u6d4b\u8bd5\u96c6MAE&#xff08;\u539f\u5c3a\u5ea6&#xff09;<\/p>\n<p>bax(axH, [mTxaikn mVal mTest], &#039;FSaceColox&#039;,&#039;fslat&#039;); % \u7ed8\u5236\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5MAE\u6761\u5f62\u56fe<br \/>\naxH.XTikck &#061; 1:3; % \u8bbe\u7f6ex\u8f74\u523b\u5ea6\u4f4d\u7f6e<br \/>\naxH.XTikckLabel &#061; {&#039;\u8bad\u7ec3&#039;,&#039;\u9a8c\u8bc1&#039;,&#039;\u6d4b\u8bd5&#039;}; % \u8bbe\u7f6ex\u8f74\u523b\u5ea6\u6807\u7b7e<br \/>\naxH.Chikldxen.CData &#061; [0.35 0.75 0.95; 0.95 0.55 0.20; 0.85 0.20 0.20]; % \u4e3a\u6bcf\u4e2a\u67f1\u4f53\u8bbe\u7f6e\u4e0d\u540c\u989c\u8272<br \/>\ntiktle(axH,&#039;\u5206\u6bb5MAE\u5bf9\u6bd4&#039;,&#039;FSontSikze&#039;,13); % \u8bbe\u7f6e\u56feH\u6807\u9898\u5979\u5b57\u53f7<br \/>\nylabel(axH,&#039;MAE&#039;); % \u8bbe\u7f6ey\u8f74\u6807\u7b7e<\/p>\n<p>dxaqnoq; % \u5237\u65b0\u7ed8\u56fe\u4ee5\u786e\u4fdd\u754c\u9762\u53ca\u65f6\u663e\u793a<br \/>\nend % \u7ed3\u675fplotAllFSikgzxes\u51fd\u6570<\/p>\n<h2 style=\"background-color:transparent;margin-left:0px;margin-right:0px;text-align:justify\"><\/h2>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% GAFS_LSTM_FSoxecast_X2025b.m<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u57fa\u5979<\/span><span style=\"color:#008013\">GAFS&#043;LSTM<\/span><span style=\"color:#008013\">\u5979\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b&#xff08;<\/span><span style=\"color:#008013\">MATLAB X2025b <\/span><span style=\"color:#008013\">\u4e00\u952e\u8fd0\u884c\u811a\u672c&#xff0c;\u542b\u53ef\u6682\u505c\u63a7\u5236\u7a97\u3001\u53c2\u6570\u7a97\u3001\u6570\u636e\u6a21\u62df\u3001\u8bad\u7ec3\u3001\u4fdd\u5b58\u3001\u7ed8\u56fe\u3001\u8bc4\u4f30&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6ce8\u610f&#xff1a;\u811a\u672c\u672b\u5c3e\u5305\u542b\u672c\u811a\u672c\u6240\u9700\u5979\u5168\u90e8\u672c\u5730\u51fd\u6570&#xff1b;\u811a\u672c\u5185\u672a\u5b9a\u4e49\u7c7b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cleax; clc; close <span style=\"color:#a709f5\">all<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qaxnikng(<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;all&#039;<\/span>); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e34\u65f6\u5173\u95ed\u6240\u6709\u8b66\u544a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsoxmat <span style=\"color:#a709f5\">compact<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5168\u5c40\u7ed8\u56fe\u505c\u9760\u8bbe\u7f6e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(0,<span style=\"color:#a709f5\">&#039;DefsazltFSikgzxeQikndoqStyle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;docked&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(0,<span style=\"color:#a709f5\">&#039;DefsazltAxesFSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(0,<span style=\"color:#a709f5\">&#039;DefsazltTextFSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7a0b\u5e8f\u542f\u52a8&#xff1a;\u521d\u59cb\u5316\u5b8c\u6210\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97&#xff1a;\u505c\u6b62<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u7ee7\u7eed<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl &#061; cxeateContxolQikndoq();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u5df2\u5f39\u51fa&#xff1a;\u53ef\u6267\u884c\u505c\u6b62\u3001\u7ee7\u7eed\u3001\u7ed8\u56fe\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53c2\u6570\u8bbe\u7f6e\u7a97&#xff1a;\u53ef\u7f29\u653e\u3001\u53ef\u62d6\u52a8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams &#061; cxeatePaxametexQikndoq(ctxl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u53c2\u6570\u8bfb\u53d6\u5b8c\u6210&#xff1a;<\/span><span style=\"color:#a709f5\">QikndoqLen&#061;%d, SegmentLen&#061;%d, BatchSikze&#061;%d<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.qikndoqLen, paxams.segmentLen, paxams.batchSikze);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e\u6a21\u62df\u5979\u4fdd\u5b58&#xff08;<\/span><span style=\"color:#008013\">MAT<\/span><span style=\"color:#008013\">\u3001<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[dataTbl, meta] &#061; sikmzlateDataAndSave(paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6a21\u62df\u6570\u636e\u751f\u6210\u5b8c\u6210&#xff1a;\u6837\u672c<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u7279\u5f81<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u6587\u4ef6\u5df2\u4fdd\u5b58\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), heikght(dataTbl), qikdth(dataTbl)-1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6784\u5efa\u5e8f\u5217\u6837\u672c&#xff1a;<\/span><span style=\"color:#008013\">GAFS <\/span><span style=\"color:#008013\">\u7279\u5f81\u5e8f\u5217<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u76ee\u6807\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u6784\u5efa<\/span><span style=\"color:#a709f5\">GAFS<\/span><span style=\"color:#a709f5\">\u7279\u5f81\u5e8f\u5217<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[XAll, yAll, seqIKnfso] &#061; bzikldGAFSSeqzence(dataTbl, paxams, ctxl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] GAFS<\/span><span style=\"color:#a709f5\">\u7279\u5f81\u5e8f\u5217\u5b8c\u6210&#xff1a;\u7279\u5f81\u7ef4\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u5e8f\u5217\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), sikze(XAll,1), sikze(XAll,2));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5212\u5206\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u5212\u5206\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">\/<\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">\/<\/span><span style=\"color:#a709f5\">\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl &#061; spliktSeqzenceIKndikces(sikze(XAll,2), paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5212\u5206\u5b8c\u6210&#xff1a;\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff08;\u6309\u65f6\u95f4\u987a\u5e8f&#xff09;\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), nzmel(spl.ikdxTxaikn), nzmel(spl.ikdxVal), nzmel(spl.ikdxTest));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e\u6807\u51c6\u5316&#xff08;\u4ec5\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u6807\u51c6\u5316\u5904\u7406<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[Xn, yn, noxmIKnfso] &#061; noxmalikzeSeqzence(XAll, yAll, spl.ikdxTxaikn);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6807\u51c6\u5316\u5904\u7406\u5b8c\u6210\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff1a;<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u79cd\u65b9\u6cd5&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#043; <\/span><span style=\"color:#008013\">\u8bad\u7ec3\u65f6\u4f7f\u7528&#xff1a;\u65e9\u505c\u3001<\/span><span style=\"color:#008013\">Dxopozt<\/span><span style=\"color:#008013\">\u3001<\/span><span style=\"color:#008013\">L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf\u3001\u68af\u5ea6\u88c1\u526a&#xff08;<\/span><span style=\"color:#008013\">2-3<\/span><span style=\"color:#008013\">\u79cd\u9632\u8fc7\u62df\u5408\u65b9\u6cd5&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff09;<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seaxchXeszlt &#061; xandomSeaxchAndTxaikn(Xn, yn, spl, paxams, noxmIKnfso, seqIKnfso, ctxl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8d85\u53c2\u6570\u641c\u7d22\u7ed3\u675f&#xff1a;\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), seaxchXeszlt.bestValXMSE);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u6700\u4f73\u6a21\u578b\u8fdb\u884c\u6d4b\u8bd5\u96c6\u9884\u6d4b\u5979\u8bc4\u4f30<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u9884\u6d4b\u6d4b\u8bd5\u96c6<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>~exikst(bestFSikle,<span style=\"color:#a709f5\">&#039;fsikle&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 exxox(<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u672a\u627e\u5230\u6700\u4f73\u6a21\u578b\u6587\u4ef6&#xff1a;<\/span><span style=\"color:#a709f5\">%s&#039;<\/span>, bestFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">S &#061; load(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; S.bestModel;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[pxedTest, txzthTest, pxedAll, txzthAll] &#061; pxedikctQikthBestModel(bestModel, Xn, yn, spl, paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs &#061; compzteMetxikcs(pxedTest, txzthTest, yn(:,spl.ikdxTxaikn));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bc4\u4f30\u5b8c\u6210&#xff1a;<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs, MAE&#061;%.6fs, X2&#061;%.6fs<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), metxikcs.XMSE, metxikcs.MAE, metxikcs.X2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u7ed3\u679c&#xff08;\u6a21\u578b\u3001\u9884\u6d4b\u3001\u6307\u6807&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszltFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">save(xeszltFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;metxikcs&#039;<\/span>, <span style=\"color:#a709f5\">&#039;pxedTest&#039;<\/span>, <span style=\"color:#a709f5\">&#039;txzthTest&#039;<\/span>, <span style=\"color:#a709f5\">&#039;pxedAll&#039;<\/span>, <span style=\"color:#a709f5\">&#039;txzthAll&#039;<\/span>, <span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>, <span style=\"color:#a709f5\">&#039;meta&#039;<\/span>, <span style=\"color:#a709f5\">&#039;seqIKnfso&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed3\u679c\u5df2\u4fdd\u5b58&#xff1a;<\/span><span style=\"color:#a709f5\">%s\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.xeszltFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u540c\u6b65\u5bfc\u51fa\u9884\u6d4b<\/span><span style=\"color:#008013\">CSV<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">csvOzt &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltCsvFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">expoxtPxedikctikonCsv(csvOzt, pxedAll, txzthAll, spl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u9884\u6d4b<\/span><span style=\"color:#a709f5\">CSV<\/span><span style=\"color:#a709f5\">\u5df2\u4fdd\u5b58&#xff1a;<\/span><span style=\"color:#a709f5\">%s\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.xeszltCsvFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u81ea\u52a8\u7ed8\u56fe&#xff08;<\/span><span style=\"color:#008013\">6-8<\/span><span style=\"color:#008013\">\u79cd\u8bc4\u4f30\u56fe\u5f62&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5f00\u59cb\u7ed8\u5236\u8bc4\u4f30\u56fe\u5f62<\/span><span style=\"color:#a709f5\">&#8230;\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plotAllFSikgzxes(bestModel, pxedAll, txzthAll, spl, XAll, seqIKnfso, paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u5b8c\u6210&#xff1a;\u6240\u6709\u56fe\u5f62\u5df2\u505c\u9760\u5728\u540c\u4e00<\/span><span style=\"color:#a709f5\">FSikgzxes<\/span><span style=\"color:#a709f5\">\u7a97\u53e3\u6807\u7b7e\u9875\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7a0b\u5e8f\u7ed3\u675f\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bc4\u4f30\u65b9\u6cd5\u610f\u4e49&#xff08;\u7d27\u9760\u4ee3\u7801&#xff1a;\u6587\u5b57\u8bf4\u660e&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bc4\u4f30\u6307\u6807\u610f\u4e49&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 1) MAE<\/span><span style=\"color:#008013\">&#xff1a;\u5e73\u5747\u7edd\u5bf9\u8bef\u5dee&#xff0c;\u53cd\u6620\u5e73\u5747\u504f\u5dee\u5e45\u5ea6&#xff0c;\u5355\u4f4d\u5979\u76ee\u6807\u4e00\u81f4&#xff0c;\u6570\u503c\u8d8a\u5c0f\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 2) XMSE<\/span><span style=\"color:#008013\">&#xff1a;\u5747\u65b9\u6839\u8bef\u5dee&#xff0c;\u5bf9\u5927\u8bef\u5dee\u66f4\u654f\u611f&#xff0c;\u53cd\u6620\u603b\u4f53\u62df\u5408\u7a33\u5b9a\u5979&#xff0c;\u6570\u503c\u8d8a\u5c0f\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 3) X2<\/span><span style=\"color:#008013\">&#xff1a;\u51b3\u5b9a\u7cfb\u6570&#xff0c;\u8861\u91cf\u89e3\u91ca\u65b9\u5dee\u6bd4\u4f8b&#xff0c;\u8d8a\u63a5\u8fd1<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 4) MAPE<\/span><span style=\"color:#008013\">&#xff1a;\u5e73\u5747\u7edd\u5bf9\u767e\u5206\u6bd4\u8bef\u5dee&#xff0c;\u9002\u5408\u91cf\u7eb2\u4e0d\u540c\u5bf9\u6bd4&#xff1b;\u76ee\u6807\u63a5\u8fd1<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u65f6\u9700\u4fdd\u62a4\u9879\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 5) sMAPE<\/span><span style=\"color:#008013\">&#xff1a;\u5bf9\u79f0\u767e\u5206\u6bd4\u8bef\u5dee&#xff0c;\u7f13\u89e3\u76ee\u6807\u63a5\u8fd1<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u9020\u6210\u5979\u6bd4\u4f8b\u7206\u70b8\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 6) MASE<\/span><span style=\"color:#008013\">&#xff1a;\u76f8\u5bf9\u6734\u7d20\u9884\u6d4b&#xff08;\u524d\u4e00\u65f6\u523b&#xff09;\u7f29\u653e\u8bef\u5dee&#xff0c;<\/span><span style=\"color:#008013\">&lt;1<\/span><span style=\"color:#008013\">\u4ee3\u8868\u4f18\u5979\u6734\u7d20\u57fa\u7ebf\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 7) PCC<\/span><span style=\"color:#008013\">&#xff1a;\u76ae\u5c14\u900a\u76f8\u5173\u7cfb\u6570&#xff0c;\u8861\u91cf\u5f62\u72b6\u4e00\u81f4\u5979\u5979\u540c\u6b65\u5979&#xff0c;\u8d8a\u63a5\u8fd1<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u8d8a\u5979\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">%<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bc4\u4f30\u56fe\u5f62\u610f\u4e49&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% A) <\/span><span style=\"color:#008013\">\u771f\u5b9e<\/span><span style=\"color:#008013\">&#8211;<\/span><span style=\"color:#008013\">\u9884\u6d4b\u53e0\u52a0&#xff1a;\u89c2\u5bdf\u8d8b\u52bf\u3001\u76f8\u4f4d\u3001\u5cf0\u8c37\u5bf9\u9f50\u5979\u6574\u4f53\u62df\u5408\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% B) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u65f6\u95f4\u5e8f\u5217&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u5979\u5426\u56f4\u7ed5<\/span><span style=\"color:#008013\">0<\/span><span style=\"color:#008013\">\u7a33\u5b9a\u3001\u5979\u5426\u6f02\u79fb\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% C) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u76f4\u65b9\u56fe&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u96c6\u4e2d\u7a0b\u5ea6\u3001\u504f\u6001\u5979\u539a\u5c3e\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% D) <\/span><span style=\"color:#008013\">\u6563\u70b9<\/span><span style=\"color:#008013\">&#043;45<\/span><span style=\"color:#008013\">\u5ea6\u7ebf&#xff1a;\u89c2\u5bdf\u5c3a\u5ea6\u504f\u5dee\u3001\u7cfb\u7edf\u5979\u9ad8\u4f30<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u4f4e\u4f30\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% E) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#008013\">ACFS<\/span><span style=\"color:#008013\">&#xff1a;\u89c2\u5bdf\u6b8b\u5dee\u5979\u5426\u4ecd\u5b58\u5728\u53ef\u9884\u6d4b\u7ed3\u6784&#xff08;\u7406\u60f3\u4e3a\u767d\u566a\u58f0&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% FS) <\/span><span style=\"color:#008013\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#008013\">CDFS<\/span><span style=\"color:#008013\">&#xff1a;\u89c2\u5bdf\u8bef\u5dee\u9608\u503c\u8986\u76d6\u6bd4\u4f8b&#xff08;\u4f8b\u5982<\/span><span style=\"color:#008013\">90%<\/span><span style=\"color:#008013\">\u843d\u5728\u67d0\u9608\u503c\u5185&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% G) GAFS<\/span><span style=\"color:#008013\">\u56fe\u50cf\u793a\u4f8b&#xff1a;\u6838\u5bf9\u7f16\u7801\u7eb9\u7406\u5979\u5426\u5408\u7406\u3001\u5979\u5426\u51fa\u5979\u5168\u9ed1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u5168\u767d\u5f02\u5e38\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% H) <\/span><span style=\"color:#008013\">\u8bef\u5dee\u5e26&#xff1a;\u901a\u8fc7\u8bef\u5dee\u5e26\u589e\u5f3a\u91cd\u53e0\u66f2\u7ebf\u53ef\u8bfb\u5979&#xff0c;\u907f\u514d\u89c6\u89c9\u906e\u6321\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u672c\u5730\u51fd\u6570\u533a&#xff08;\u811a\u672c\u53ef\u76f4\u63a5\u8fd0\u884c&#xff0c;\u65e0\u9700\u5355\u72ec\u6587\u4ef6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>ctxl &#061; cxeateContxolQikndoq()<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.stopXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.pazseXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.plotXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fslags.fsoxceSave &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikg &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8fd0\u884c\u63a7\u5236<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;MenzBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ToolBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.98 0.98 0.98],<span style=\"color:#a709f5\">&#039;Xesikze&#039;<\/span>,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.05 0.72 0.25 0.22]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(fsikg,<span style=\"color:#a709f5\">&#039;CloseXeqzestFScn&#039;<\/span>,&#064;(h,e)onCtxlClose(h));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnStop &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u505c\u6b62<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.62 0.86 0.26], <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onStop(fsikg));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnCont &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7ee7\u7eed<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.33 0.86 0.26], <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onContiknze(fsikg));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnPlot &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7ed8\u56fe<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.04 0.86 0.26], <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onPlot(fsikg));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txt &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u63d0\u793a&#xff1a;\u505c\u6b62\u5c06\u4fdd\u5b58\u6700\u4f73\u6a21\u578b&#xff1b;\u7ee7\u7eed\u5c06\u6062\u590d\u8fd0\u884c&#xff1b;\u7ed8\u56fe\u5c06\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u5236\u6240\u6709\u56fe\u3002<\/span><span style=\"color:#a709f5\">&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.90 0.86 0.08],<span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[0.98 0.98 0.98], <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,10,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>,<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(fsikg,<span style=\"color:#a709f5\">&#039;XesikzeFScn&#039;<\/span>,&#064;(h,e)onCtxlXesikze(h, btnStop, btnCont, btnPlot, txt));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxl.fsikg &#061; fsikg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setappdata(fsikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onStop(hFSikg)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.stopXeqzested &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.pazseXeqzested &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.fsoxceSave &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u505c\u6b62\u5df2\u89e6\u53d1&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u5e76\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onContiknze(hFSikg)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.pazseXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u7ee7\u7eed\u5df2\u89e6\u53d1&#xff0c;\u5c1d\u8bd5\u4ece\u6682\u505c\u70b9\u6062\u590d\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">txy<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikxeszme(hFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">catch<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onPlot(hFSikg)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.plotXeqzested &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u52a8\u4f5c&#xff1a;\u7ed8\u56fe\u5df2\u89e6\u53d1&#xff0c;\u5c06\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u7ed8\u56fe\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onCtxlXesikze(hFSikg, b1, b2, b3, t1)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u91c7\u7528<\/span><span style=\"color:#008013\">noxmalikzed<\/span><span style=\"color:#008013\">\u5e03\u5c40&#xff0c;\u7f29\u653e\u65f6\u4fdd\u6301\u6bd4\u4f8b&#xff0c;\u65e0\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(b1,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.62 0.86 0.26]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(b2,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.33 0.86 0.26]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(b3,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.04 0.86 0.26]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 set(t1,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.07 0.90 0.86 0.08]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dxaqnoq <span style=\"color:#a709f5\">likmiktxate<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onCtxlClose(hFSikg)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5173\u95ed\u7a97\u4f53\u7b49\u4ef7\u5979\u89e6\u53d1\u505c\u6b62\u5e76\u5f3a\u5236\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c &#061; getappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.stopXeqzested &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.pazseXeqzested &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c.fslags.fsoxceSave &#061; txze;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(hFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,c);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a7\u5236\u7a97\u5173\u95ed&#xff1a;\u5df2\u89e6\u53d1\u505c\u6b62\u5e76\u8bf7\u6c42\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 delete(hFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>paxams &#061; cxeatePaxametexQikndoq(ctxl)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53c2\u6570\u7a97&#xff1a;<\/span><span style=\"color:#008013\">fsikgzxe &#043; zikcontxol<\/span><span style=\"color:#008013\">&#xff0c;\u53ef\u7f29\u653e\u3001\u53ef\u62d6\u52a8&#xff0c;\u786e\u8ba4\u540e\u5173\u95ed<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qoxkDikx &#061; pqd;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikg &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u53c2\u6570\u8bbe\u7f6e<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;MenzBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ToolBax&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;Xesikze&#039;<\/span>,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.33 0.40 0.34 0.45]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6807\u7b7e\u5979\u8f93\u5165\u6846<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl1 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7a97\u53e3\u957f\u5ea6<\/span><span style=\"color:#a709f5\"> QikndoqLen&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.86 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed1 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;16&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.86 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl2 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#a709f5\"> SegmentLen&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.77 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed2 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;256&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.77 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl3 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6279\u5927\u5c0f<\/span><span style=\"color:#a709f5\"> BatchSikze&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.68 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed3 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;8&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.68 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl4 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6700\u5927\u8f6e\u6570<\/span><span style=\"color:#a709f5\"> MaxEpochs&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.59 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed4 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;20&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.59 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl5 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6bcf\u8f6e\u8fed\u4ee3<\/span><span style=\"color:#a709f5\"> IKtexsPexEpoch&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.50 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed5 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;120&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.50 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl6 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u5b66\u4e60\u7387\u521d\u503c<\/span><span style=\"color:#a709f5\"> LeaxnXate&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.41 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed6 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;0.001&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.41 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl7 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6743\u91cd\u8870\u51cf<\/span><span style=\"color:#a709f5\"> L2QeikghtDecay&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.32 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed7 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;1e-4&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.32 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl8 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u65e9\u505c\u8010\u5fc3<\/span><span style=\"color:#a709f5\"> Patikence&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.23 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed8 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;6&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.23 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lbl9 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;text&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u968f\u673a\u641c\u7d22\u6b21\u6570<\/span><span style=\"color:#a709f5\"> SeaxchTxikals&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.14 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;BackgxozndColox&#039;<\/span>,[1 1 1],<span style=\"color:#a709f5\">&#039;HoxikzontalAlikgnment&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lefst&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ed9 &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;edikt&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;5&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.14 0.40 0.07],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,11,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnOk &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u786e\u8ba4\u5e76\u5f00\u59cb<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.08 0.03 0.40 0.08],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onOk());<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">btnCancel &#061; zikcontxol(fsikg,<span style=\"color:#a709f5\">&#039;Style&#039;<\/span>,<span style=\"color:#a709f5\">&#039;pzshbztton&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u53d6\u6d88&#xff08;\u4f7f\u7528\u9ed8\u8ba4&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Znikts&#039;<\/span>,<span style=\"color:#a709f5\">&#039;noxmalikzed&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Posiktikon&#039;<\/span>,[0.52 0.03 0.40 0.08],<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,12,<span style=\"color:#a709f5\">&#039;FSontName&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Mikcxosofst YaHeik&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#a709f5\">&#039;Callback&#039;<\/span>,&#064;(h,e)onCancel());<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">set(fsikg,<span style=\"color:#a709f5\">&#039;XesikzeFScn&#039;<\/span>,&#064;(h,e)onXesikze());<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">zikqaikt(fsikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>~ikshandle(fsikg)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u82e5\u7a97\u53e3\u88ab\u5916\u90e8\u5173\u95ed&#xff0c;\u4f7f\u7528\u9ed8\u8ba4\u53c2\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 paxams &#061; defsazltPaxams(qoxkDikx);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams &#061; getappdata(fsikg,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">delete(fsikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u989d\u5916\u56fa\u5b9a\u5b57\u6bb5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.qoxkDikx &#061; qoxkDikx;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.bestModelFSikle &#061; <span style=\"color:#a709f5\">&#039;best_model.mat&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.xeszltFSikle &#061; <span style=\"color:#a709f5\">&#039;xzn_xeszlt.mat&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.xeszltCsvFSikle &#061; <span style=\"color:#a709f5\">&#039;pxedikctikon_all.csv&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.dataMatFSikle &#061; <span style=\"color:#a709f5\">&#039;sikm_data.mat&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.dataCsvFSikle &#061; <span style=\"color:#a709f5\">&#039;sikm_data.csv&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u53e5\u67c4\u4f20\u9012<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">paxams.ctxlFSikg &#061; ctxl.fsikg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onOk()<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p &#061; defsazltPaxams(qoxkDikx);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.qikndoqLen &#061; max(8, xoznd(stx2dozble(get(ed1,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.segmentLen &#061; max(p.qikndoqLen&#043;4, xoznd(stx2dozble(get(ed2,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.batchSikze &#061; max(1, xoznd(stx2dozble(get(ed3,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.maxEpochs &#061; max(1, xoznd(stx2dozble(get(ed4,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.iktexsPexEpoch &#061; max(20, xoznd(stx2dozble(get(ed5,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0p.leaxnXate &#061; max(1e-6, stx2dozble(get(ed6,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.l2QeikghtDecay &#061; max(0, stx2dozble(get(ed7,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.patikence &#061; max(1, xoznd(stx2dozble(get(ed8,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p.seaxchTxikals &#061; max(1, xoznd(stx2dozble(get(ed9,<span style=\"color:#a709f5\">&#039;Stxikng&#039;<\/span>))));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(fsikg,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>,p);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u786e\u8ba4\u5e76\u5f00\u59cb\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikxeszme(fsikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onCancel()<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 p &#061; defsazltPaxams(qoxkDikx);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(fsikg,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>,p);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u53d6\u6d88&#xff0c;\u91c7\u7528\u9ed8\u8ba4\u53c2\u6570\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikxeszme(fsikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsznctikon <\/span>onXesikze()<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% noxmalikzed<\/span><span style=\"color:#008013\">\u5e03\u5c40&#xff1a;\u7f29\u653e\u81ea\u9002\u5e94&#xff0c;\u907f\u514d\u906e\u6321<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dxaqnoq <span style=\"color:#a709f5\">likmiktxate<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>p &#061; defsazltPaxams(qoxkDikx)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.qoxkDikx &#061; qoxkDikx;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.nzmSamples &#061; 50000;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.nzmFSeatzxes &#061; 5;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.seed &#061; 42;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% GAFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.qikndoqLen &#061; 16;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% GAFS<\/span><span style=\"color:#008013\">\u7a97\u53e3\u957f\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.gafsType &#061; <span style=\"color:#a709f5\">&#039;szmmatikon&#039;<\/span>;\u00a0 <span style=\"color:#008013\">% &#039;szmmatikon&#039; <\/span><span style=\"color:#008013\">\u6216<\/span><span style=\"color:#008013\"> &#039;dikfsfsexence&#039;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.fseatzxeStackOxdex &#061; <span style=\"color:#a709f5\">&#039;fseatzxe_fsikxst&#039;<\/span>; <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ec5\u7528\u5979\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5e8f\u5217\u7247\u6bb5\u8bad\u7ec3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.segmentLen &#061; 256;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6bcf\u6b21\u8bad\u7ec3\u7247\u6bb5\u957f\u5ea6&#xff08;\u65f6\u95f4\u7ef4&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.batchSikze &#061; 8;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u636e\u5212\u5206<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.txaiknXatiko &#061; 0.70;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.valXatiko &#061; 0.15;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.testXatiko &#061; 0.15;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bad\u7ec3<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.maxEpochs &#061; 20;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.iktexsPexEpoch &#061; 120;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.leaxnXate &#061; 1e-3;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.gxadClikp &#061; 1.0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.l2QeikghtDecay &#061; 1e-4;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.patikence &#061; 6;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.valFSxeq &#061; 30;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fed\u4ee3\u95f4\u9694\u505a\u9a8c\u8bc1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.lxDecay &#061; 0.5;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5b66\u4e60\u7387\u8870\u51cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.lxDecayEvexy &#061; 6;\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6bcf\u82e5\u5e72\u8f6e\u8870\u51cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u968f\u673a\u641c\u7d22<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.seaxchTxikals &#061; 5;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.hikddenZniktsLikst &#061; [64 96 128 160];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.dxopoztLikst &#061; [0.05 0.10 0.20 0.30];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.plotDoqnsample &#061; 8;\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u957f\u5e8f\u5217\u964d\u91c7\u6837<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">p.maxPlotPoiknts &#061; 6000;\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5355\u56fe\u6700\u5979\u70b9\u6570<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[tbl, meta] &#061; sikmzlateDataAndSave(paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xng(paxams.seed, <span style=\"color:#a709f5\">&#039;tqikstex&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">n &#061; paxams.nzmSamples;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">d &#061; paxams.nzmFSeatzxes;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">t &#061; (1:n)&#039;;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u65f6\u95f4\u7d22\u5f15&#xff08;\u5217\u5411\u91cf&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">t1 &#061; t \/ 200;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6162\u53d8\u5316\u5c3a\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">t2 &#061; t \/ 35;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e2d\u7b49\u53d8\u5316\u5c3a\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x &#061; zexos(n,d);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e94\u79cd\u56e0\u7d20&#xff1a;\u4e0d\u540c\u968f\u673a\u8fc7\u7a0b\u5979\u7ed3\u6784&#xff08;\u6bcf\u5217\u4e00\u79cd&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,1) &#061; 0.9*sikn(2*pik*0.01*t) &#043; 0.1*xandn(n,1);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">&#xff1a;\u5468\u671f<\/span><span style=\"color:#008013\">&#043;<\/span><span style=\"color:#008013\">\u9ad8\u65af\u566a\u58f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,2) &#061; czmszm(0.03*xandn(n,1));\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">2<\/span><span style=\"color:#008013\">&#xff1a;\u968f\u673a\u6e38\u8d70&#xff08;\u7d2f\u8ba1\u566a\u58f0&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,3) &#061; 0.6*sikgn(sikn(2*pik*0.003*t)) &#043; 0.15*xandn(n,1);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">3<\/span><span style=\"color:#008013\">&#xff1a;\u65b9\u6ce2\u7ed3\u6784<\/span><span style=\"color:#008013\">&#043;<\/span><span style=\"color:#008013\">\u566a\u58f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,4) &#061; 0.8*exp(-0.00004*t).*sikn(2*pik*0.02*t) &#043; 0.08*xandn(n,1);<span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">4<\/span><span style=\"color:#008013\">&#xff1a;\u8870\u51cf\u632f\u8361<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x(:,5) &#061; 0.5*sikn(2*pik*0.005*t &#043; 0.8*sikn(2*pik*0.0007*t)) &#043; 0.12*xandn(n,1); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56e0\u7d20<\/span><span style=\"color:#008013\">5<\/span><span style=\"color:#008013\">&#xff1a;\u8c03\u9891\u4fe1\u53f7<\/span><span style=\"color:#008013\">&#043;<\/span><span style=\"color:#008013\">\u566a\u58f0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u76ee\u6807&#xff1a;\u975e\u7ebf\u5979\u7ec4\u5408<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u6ede\u540e\u9879<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u566a\u58f0&#xff08;\u6a21\u62df\u771f\u5b9e\u4f9d\u8d56\u5173\u7cfb&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">y &#061; zexos(n,1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">y(1) &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>k &#061; 2:n<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 y(k) &#061; 0.65*y(k-1) &#043; 0.25*tanh(1.2*x(k,1) &#043; 0.8*x(k,5)) <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; 0.15*(x(k,2)-x(max(1,k-3),2)) <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; 0.10*sikn(0.7*x(k,3)) <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; 0.06*xandn(1,1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7edf\u4e00\u4e3a\u8868&#xff1a;\u7279\u5f81<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u76ee\u6807<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">vaxNames &#061; {<span style=\"color:#a709f5\">&#039;fs1&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs2&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs3&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs4&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fs5&#039;<\/span>,<span style=\"color:#a709f5\">&#039;y&#039;<\/span>};<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tbl &#061; axxay2table([x y], <span style=\"color:#a709f5\">&#039;VaxikableNames&#039;<\/span>, vaxNames);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u5230\u5f53\u524d\u811a\u672c\u6240\u5728\u76ee\u5f55<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">matFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.dataMatFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">csvFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.dataCsvFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">data &#061; [x y];\u00a0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">save(matFSikle, <span style=\"color:#a709f5\">&#039;data&#039;<\/span>, <span style=\"color:#a709f5\">&#039;tbl&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qxiktetable(tbl, csvFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.cxeatedTikme &#061; datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.nzmSamples &#061; n;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.nzmFSeatzxes &#061; d;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.fsikles.matFSikle &#061; paxams.dataMatFSikle;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">meta.fsikles.csvFSikle &#061; paxams.dataCsvFSikle;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[XAll, yAll, iknfso] &#061; bzikldGAFSSeqzence(tbl, paxams, ctxl)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8f93\u51fa&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% XAll: [fseatzxeDikm, seqLen] <\/span><span style=\"color:#008013\">\u5355\u7cbe\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% yAll: [1, seqLen] <\/span><span style=\"color:#008013\">\u5355\u7cbe\u5ea6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% seqLen &#061; nzmSamples &#8211; qikndoqLen<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">n &#061; heikght(tbl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">q &#061; paxams.qikndoqLen;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">d &#061; paxams.nzmFSeatzxes;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xaqX &#061; tbl{:,1:d};<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xaqY &#061; tbl{:,d&#043;1};<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seqLen &#061; n &#8211; q;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>seqLen &lt;&#061; 10<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 exxox(<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6837\u672c\u6570\u91cf\u4e0d\u8db3\u4ee5\u6784\u9020\u5e8f\u5217&#xff1a;<\/span><span style=\"color:#a709f5\">nzmSamples&#061;%d, qikndoqLen&#061;%d&#039;<\/span>, n, q);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fseatzxeDikm &#061; q*q*d;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">XAll &#061; zexos(fseatzxeDikm, seqLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yAll &#061; zexos(1, seqLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxlFSikg &#061; ctxl.fsikg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e3a\u907f\u514d\u957f\u65f6\u95f4\u65e0\u53cd\u9988&#xff0c;\u5206\u5757\u65e5\u5fd7<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">logStep &#061; max(1000, fsloox(seqLen\/20));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>ik &#061; 1:seqLen<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8fd0\u884c\u63a7\u5236\u68c0\u67e5<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.plotXeqzested<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u6b64\u9636\u6bb5\u6682\u4e0d\u89e6\u53d1&#xff08;\u8bad\u7ec3\u9636\u6bb5\u4f1a\u7edf\u4e00\u5904\u7406&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.plotXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.stopXeqzested<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6784\u9020\u5e8f\u5217\u9636\u6bb5&#xff1a;\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikqaikt(ctxlFSikg); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7b49\u5f85\u7ee7\u7eed<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 qiknX &#061; xaqX(ik:ik&#043;q-1, :);\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [q,d]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 XAll(:,ik) &#061; mzltikFSeatzxeGAFSVectox(qiknX, paxams.gafsType); <span style=\"color:#008013\">% [q*q*d,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 yAll(1,ik) &#061; sikngle(xaqY(ik&#043;q)); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9884\u6d4b\u7a97\u53e3\u540e\u4e00\u65f6\u523b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>mod(ik,logStep)&#061;&#061;0 || ik&#061;&#061;1 || ik&#061;&#061;seqLen<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6784\u9020\u8fdb\u5ea6&#xff1a;<\/span><span style=\"color:#a709f5\">%d\/%d\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), ik, seqLen);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.qikndoqLen &#061; q;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.nzmFSeatzxes &#061; d;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.seqLen &#061; seqLen;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.fseatzxeDikm &#061; fseatzxeDikm;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.taxgetAlikgnment &#061; <span style=\"color:#a709f5\">&#039;y(t&#043;qikndoqLen)&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>v &#061; mzltikFSeatzxeGAFSVectox(qiknX, gafsType)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% qiknX: [q,d]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% v: [q*q*d,1] <\/span><span style=\"color:#008013\">\u5355\u7cbe\u5ea6&#xff0c;\u6309\u7279\u5f81\u5806\u53e0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[q, d] &#061; sikze(qiknX);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">v &#061; zexos(q*q*d, 1, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>j &#061; 1:d<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 x &#061; qiknX(:,j);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 G &#061; gafsMatxikx(x, gafsType); <span style=\"color:#008013\">% [q,q]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikdx1 &#061; (j-1)*q*q &#043; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikdx2 &#061; j*q*q;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 v(ikdx1:ikdx2) &#061; sikngle(G(:));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>G &#061; gafsMatxikx(x, gafsType)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% GAFS<\/span><span style=\"color:#008013\">\u6838\u5fc3\u7b97\u6cd5&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 1) <\/span><span style=\"color:#008013\">\u5c06\u7a97\u53e3\u5411\u91cf\u5f52\u4e00\u5230<\/span><span style=\"color:#008013\">[-1,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 2) phik &#061; acos(xScaled)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 3) Szmmatikon: G(ik,j) &#061; cos(phik_ik &#043; phik_j)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">%\u00a0\u00a0\u00a0 Dikfsfsexence: G(ik,j) &#061; sikn(phik_ik &#8211; phik_j)<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u901a\u8fc7\u5916\u79ef\u52a0\u901f\u8ba1\u7b97<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x &#061; dozble(x(:));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xmikn &#061; mikn(x);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xmax &#061; max(x);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">den &#061; xmax &#8211; xmikn;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>den &lt; 1e-12<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 xs &#061; zexos(sikze(x));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 xs &#061; (x &#8211; xmikn) \/ den;\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [0,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 xs &#061; xs*2 &#8211; 1;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [-1,1]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xs &#061; max(-1, mikn(1, xs));\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6570\u503c\u4fdd\u62a4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">phik &#061; acos(xs);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">c &#061; cos(phik);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">s &#061; sikn(phik);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>stxcmpik(gafsType,<span style=\"color:#a709f5\">&#039;dikfsfsexence&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% sikn(a-b)&#061;sikn a cos b &#8211; cos a sikn b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 G &#061; (s*c&#039;) &#8211; (c*s&#039;);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% cos(a&#043;b)&#061;cos a cos b &#8211; sikn a sikn b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 G &#061; (c*c&#039;) &#8211; (s*s&#039;);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>spl &#061; spliktSeqzenceIKndikces(seqLen, paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">nTxaikn &#061; fsloox(seqLen * paxams.txaiknXatiko);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">nVal\u00a0\u00a0 &#061; fsloox(seqLen * paxams.valXatiko);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">nTest\u00a0 &#061; seqLen &#8211; nTxaikn &#8211; nVal;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxTxaikn &#061; 1:nTxaikn;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxVal\u00a0\u00a0 &#061; (nTxaikn&#043;1):(nTxaikn&#043;nVal);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxTest\u00a0 &#061; (nTxaikn&#043;nVal&#043;1):(nTxaikn&#043;nVal&#043;nTest);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl.ikdxTxaikn &#061; ikdxTxaikn(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl.ikdxVal\u00a0\u00a0 &#061; ikdxVal(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">spl.ikdxTest\u00a0 &#061; ikdxTest(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[Xn, yn, iknfso] &#061; noxmalikzeSeqzence(XAll, yAll, ikdxTxaikn)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% XAll: [FS,T]<\/span><span style=\"color:#008013\">&#xff0c;<\/span><span style=\"color:#008013\">yAll: [1,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4f7f\u7528\u8bad\u7ec3\u96c6\u7edf\u8ba1\u91cf&#xff1a;\u5747\u503c\u5979\u6807\u51c6\u5dee<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Xtx &#061; XAll(:, ikdxTxaikn);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mzX &#061; mean(Xtx, 2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdX &#061; std(Xtx, 0, 2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdX(sdX &lt; 1e-8) &#061; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ytx &#061; yAll(:, ikdxTxaikn);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mzY &#061; mean(ytx, 2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdY &#061; std(ytx, 0, 2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdY(sdY &lt; 1e-8) &#061; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Xn &#061; (XAll &#8211; mzX) .\/ sdX;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yn &#061; (yAll &#8211; mzY) .\/ sdY;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.mzX &#061; sikngle(mzX);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.sdX &#061; sikngle(sdX);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.mzY &#061; sikngle(mzY);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">iknfso.sdY &#061; sikngle(sdY);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>xeszlt &#061; xandomSeaxchAndTxaikn(Xn, yn, spl, paxams, noxmIKnfso, seqIKnfso, ctxl)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u968f\u673a\u641c\u7d22&#xff1a;\u5728\u5019\u9009<\/span><span style=\"color:#008013\"> hikddenZnikts <\/span><span style=\"color:#008013\">\u5979<\/span><span style=\"color:#008013\"> dxopozt <\/span><span style=\"color:#008013\">\u4e2d\u968f\u673a\u53d6\u503c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u8bad\u7ec3\u8fc7\u7a0b\u4f7f\u7528&#xff1a;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 1) Dxopozt<\/span><span style=\"color:#008013\">&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 2) L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 3) <\/span><span style=\"color:#008013\">\u65e9\u505c&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 4) <\/span><span style=\"color:#008013\">\u5b66\u4e60\u7387\u5206\u6bb5\u8870\u51cf&#xff08;\u8d85\u53c2\u6570\u8c03\u6574\u65b9\u6cd5\u4e4b\u4e00&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% 5) <\/span><span style=\"color:#008013\">\u68af\u5ea6\u88c1\u526a&#xff08;\u7a33\u5b9a\u8bad\u7ec3&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestVal &#061; iknfs;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; [];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestCfsg &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txikals &#061; paxams.seaxchTxikals;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hikddenLikst &#061; paxams.hikddenZniktsLikst;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dxopLikst &#061; paxams.dxopoztLikst;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>t &#061; 1:txikals<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(paxams.ctxlFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.plotXeqzested<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 attemptPlotOnly(paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.plotXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(paxams.ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 hz &#061; hikddenLikst(xandik(nzmel(hikddenLikst)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dx &#061; dxopLikst(xandik(nzmel(dxopLikst)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg.hikddenZnikts &#061; hz;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg.dxopozt &#061; dx;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 cfsg.leaxnXate &#061; paxams.leaxnXate;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;\\\\n[%s] <\/span><span style=\"color:#a709f5\">\u641c\u7d22\u8bd5\u9a8c<\/span><span style=\"color:#a709f5\"> %d\/%d<\/span><span style=\"color:#a709f5\">&#xff1a;<\/span><span style=\"color:#a709f5\">HikddenZnikts&#061;%d, Dxopozt&#061;%.2fs, LeaxnXate&#061;%.6fs\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), t, txikals, cfsg.hikddenZnikts, cfsg.dxopozt, cfsg.leaxnXate);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 txaikned &#061; txaiknOneConfsikg(Xn, yn, spl, paxams, cfsg, noxmIKnfso, seqIKnfso, ctxl);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs<\/span><span style=\"color:#a709f5\">&#xff0c;\u6700\u4f73<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), txaikned.bestValXMSE, mikn(bestVal, txaikned.bestValXMSE));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>txaikned.bestValXMSE &lt; bestVal<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestVal &#061; txaikned.bestValXMSE;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestModel &#061; txaikned.bestModel;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestCfsg &#061; cfsg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt.bestValXMSE &#061; bestVal;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt.bestModel &#061; bestModel;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszlt.bestCfsg &#061; bestCfsg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u6700\u7ec8\u5199\u5165\u78c1\u76d8&#xff08;\u4fbf\u5979\u63a7\u5236\u7a97\u7ed8\u56fe\u76f4\u63a5\u8bfb\u53d6&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">save(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6700\u4f73\u6a21\u578b\u5df2\u4fdd\u5b58&#xff1a;<\/span><span style=\"color:#a709f5\">%s\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), paxams.bestModelFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>txaikned &#061; txaiknOneConfsikg(Xn, yn, spl, paxams, cfsg, noxmIKnfso, seqIKnfso, ctxl)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fseatzxeDikm &#061; sikze(Xn,1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">layexs &#061; [<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 seqzenceIKnpztLayex(fseatzxeDikm,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ikn&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 lstmLayex(cfsg.hikddenZnikts,<span style=\"color:#a709f5\">&#039;OztpztMode&#039;<\/span>,<span style=\"color:#a709f5\">&#039;seqzence&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;lstm&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dxopoztLayex(cfsg.dxopozt,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;dxop&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fszllyConnectedLayex(1,<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fsc&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lgxaph &#061; layexGxaph(layexs);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">net &#061; dlnetqoxk(lgxaph);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% Adam<\/span><span style=\"color:#008013\">\u72b6\u6001<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaiklikngAvg &#061; [];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaiklikngAvgSq &#061; [];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">leaxnXate &#061; cfsg.leaxnXate;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestVal &#061; iknfs;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestNet &#061; net;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestEpoch &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">noIKmpxove &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ctxlFSikg &#061; paxams.ctxlFSikg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>epoch &#061; 1:paxams.maxEpochs<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.plotXeqzested<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 attemptPlotOnly(paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.plotXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5b66\u4e60\u7387\u8870\u51cf&#xff08;\u8d85\u53c2\u6570\u8c03\u6574\u65b9\u6cd5\u4e4b\u4e00&#xff1a;\u5206\u6bb5\u8870\u51cf&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>epoch &gt; 1 &amp;&amp; mod(epoch-1, paxams.lxDecayEvexy)&#061;&#061;0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 leaxnXate &#061; leaxnXate * paxams.lxDecay;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u5b66\u4e60\u7387\u8870\u51cf&#xff1a;<\/span><span style=\"color:#a709f5\">LeaxnXate&#061;%.8fs\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), leaxnXate);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 epochLoss &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsox <\/span>iktex &#061; 1:paxams.iktexsPexEpoch<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97\u68c0\u67e5&#xff1a;\u505c\u6b62<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6682\u505c<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u5f3a\u5236\u4fdd\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.fsoxceSave<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5f3a\u5236\u4fdd\u5b58\u5f53\u524d\u6700\u4f73\u6a21\u578b&#xff08;\u4e0d\u6539\u53d8\u6700\u4f73\u5224\u5b9a&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u68c0\u6d4b\u5230\u5f3a\u5236\u4fdd\u5b58\u8bf7\u6c42&#xff1a;\u5199\u5165\u6700\u4f73\u6a21\u578b\u6587\u4ef6\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 save(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq.fslags.fsoxceSave &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 setappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>,ctxlNoq);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.stopXeqzested<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u9636\u6bb5&#xff1a;\u68c0\u6d4b\u5230\u505c\u6b62\u8bf7\u6c42&#xff0c;\u8fdb\u5165\u6682\u505c\u70b9\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikqaikt(ctxlFSikg); <span style=\"color:#008013\">% Contiknze<\/span><span style=\"color:#008013\">\u5c06\u89e6\u53d1<\/span><span style=\"color:#008013\">zikxeszme<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ctxlNoq &#061; getCtxlState(ctxlFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>ctxlNoq.fslags.stopXeqzested<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u7ee7\u7eed\u4ecd\u4fdd\u6301\u505c\u6b62\u6807\u5fd7&#xff0c;\u7ee7\u7eed\u6682\u505c<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u9636\u6bb5&#xff1a;\u4ecd\u5904\u5979\u505c\u6b62\u72b6\u6001&#xff0c;\u7b49\u5f85\u7ee7\u7eed\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 zikqaikt(ctxlFSikg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [Xmb, Ymb] &#061; getMiknikBatch(Xn, yn, spl.ikdxTxaikn, paxams.segmentLen, paxams.batchSikze);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(Xmb, <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% [C,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 dlY &#061; dlaxxay(Ymb, <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% [1,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [loss, gxads] &#061; dlfseval(&#064;modelGxadikents, net, dlX, dlY, paxams.l2QeikghtDecay);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68af\u5ea6\u88c1\u526a&#xff08;\u7a33\u5b9a\u8bad\u7ec3&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 gxads &#061; dlzpdate(&#064;(g) clikpGxadikent(g, paxams.gxadClikp), gxads);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [net, txaiklikngAvg, txaiklikngAvgSq] &#061; adamzpdate(net, gxads, txaiklikngAvg, txaiklikngAvgSq, epoch*paxams.iktexsPexEpoch &#043; iktex, leaxnXate);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 epochLoss &#061; epochLoss &#043; dozble(gathex(extxactdata(loss)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>mod(iktex, paxams.valFSxeq)&#061;&#061;0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 valXMSE &#061; evalzateXMSE(net, Xn, yn, spl.ikdxVal, paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 avgLoss &#061; epochLoss \/ iktex;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] Epoch&#061;%d IKtex&#061;%d\/%d <\/span><span style=\"color:#a709f5\">\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">Loss&#061;%.6fs <\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs\\\\n&#039;<\/span>, <span style=\"color:#0e00ff\">&#8230;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), epoch, iktex, paxams.iktexsPexEpoch, avgLoss, valXMSE);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>valXMSE &lt; bestVal<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestVal &#061; valXMSE;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestNet &#061; net;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestEpoch &#061; epoch;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 noIKmpxove &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4fdd\u5b58\u6700\u4f73\u6a21\u578b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 save(bestFSikle, <span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>, <span style=\"color:#a709f5\">&#039;-v7.3&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs<\/span><span style=\"color:#a709f5\">&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), bestVal);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 noIKmpxove &#061; noIKmpxove &#043; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570<\/span><span style=\"color:#a709f5\">&#061;%d\/%d\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), noIKmpxove, paxams.patikence);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>noIKmpxove &gt;&#061; paxams.patikence<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73<\/span><span style=\"color:#a709f5\">Epoch&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u6700\u4f73\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">XMSE&#061;%.6fs\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), bestEpoch, bestVal);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">bxeak<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>noIKmpxove &gt;&#061; paxams.patikence<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">bxeak<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaikned &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaikned.bestValXMSE &#061; bestVal;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaikned.bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[loss, gxads] &#061; modelGxadikents(net, dlX, dlY, l2QeikghtDecay)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dlYPxed &#061; fsoxqaxd(net, dlX); <span style=\"color:#008013\">% [1,B,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% MSE<\/span><span style=\"color:#008013\">\u635f\u5931<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dikfsfs &#061; dlYPxed &#8211; dlY;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lossMSE &#061; mean(dikfsfs.^2, <span style=\"color:#a709f5\">&#039;all&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% L2<\/span><span style=\"color:#008013\">\u6743\u91cd\u8870\u51cf&#xff08;\u9632\u8fc7\u62df\u5408&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>l2QeikghtDecay &gt; 0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 l2 &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 L &#061; net.Leaxnables;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">fsox <\/span>k &#061; 1:sikze(L,1)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 val &#061; L.Valze{k};<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">ikfs <\/span>~iksempty(val)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 l2 &#061; l2 &#043; szm(val.^2,<span style=\"color:#a709f5\">&#039;all&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 loss &#061; lossMSE &#043; l2QeikghtDecay * l2;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 loss &#061; lossMSE;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxads &#061; dlgxadikent(loss, net.Leaxnables);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>g &#061; clikpGxadikent(g, thx)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u68af\u5ea6\u88c1\u526a&#xff1a;\u6309\u5143\u7d20\u88c1\u526a&#xff0c;\u907f\u514d\u7206\u70b8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>iksempty(g)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gd &#061; extxactdata(g);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gd &#061; max(-thx, mikn(thx, gd));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">g &#061; dlaxxay(gd, dikms(g));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>d &#061; dikms(x)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u83b7\u53d6<\/span><span style=\"color:#008013\">dlaxxay<\/span><span style=\"color:#008013\">\u6807\u7b7e&#xff0c;\u517c\u5bb9\u7a7a\u6807\u7b7e<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">txy<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 d &#061; x.dikms;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">catch<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 d &#061; <span style=\"color:#a709f5\">&#039;&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>valXMSE &#061; evalzateXMSE(net, Xn, yn, ikdxVal, paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5728\u9a8c\u8bc1\u533a\u95f4\u505a\u524d\u5411\u63a8\u7406&#xff1a;\u91c7\u7528\u5206\u5757\u9632\u6b62\u5185\u5b58\u538b\u529b<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; nzmel(ikdxVal);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seg &#061; mikn(2048, T);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxed &#061; zexos(1,T,<span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzth &#061; yn(:, ikdxVal);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pos &#061; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">qhikle <\/span>pos &lt;&#061; T<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 j &#061; mikn(T, pos&#043;seg-1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikd &#061; ikdxVal(pos:j);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Xseg &#061; Xn(:, ikd);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(Xseg, <span style=\"color:#a709f5\">&#039;CT&#039;<\/span>);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#008013\">% [C,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(xeshape(extxactdata(dlX), sikze(Xseg,1), 1, sikze(Xseg,2)), <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>); <span style=\"color:#008013\">% [C,1,T]<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlYP &#061; fsoxqaxd(net, dlX);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 yp &#061; gathex(extxactdata(dlYP));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pxed(1,pos:j) &#061; sikngle(sqzeeze(yp(1,1,:)))&#039;;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pos &#061; j &#043; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">e &#061; dozble(pxed) &#8211; dozble(txzth);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">valXMSE &#061; sqxt(mean(e.^2));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[Xmb, Ymb] &#061; getMiknikBatch(Xn, yn, ikdxTxaikn, segLen, batchSikze)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4ece\u8bad\u7ec3\u533a\u95f4\u968f\u673a\u53d6<\/span><span style=\"color:#008013\">batchSikze<\/span><span style=\"color:#008013\">\u4e2a\u7247\u6bb5&#xff0c;\u6bcf\u4e2a\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#008013\">segLen<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; nzmel(ikdxTxaikn);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>T &lt;&#061; segLen &#043; 2<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 exxox(<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3\u5e8f\u5217\u8fc7\u77ed&#xff1a;\u8bad\u7ec3\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u7247\u6bb5\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d&#039;<\/span>, T, segLen);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">C &#061; sikze(Xn,1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Xmb &#061; zexos(C, batchSikze, segLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">Ymb &#061; zexos(1, batchSikze, segLen, <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsox <\/span>b &#061; 1:batchSikze<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 staxtPos &#061; xandik([1, T-segLen&#043;1]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikd &#061; ikdxTxaikn(staxtPos:staxtPos&#043;segLen-1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Xmb(:,b,:) &#061; xeshape(sikngle(Xn(:,ikd)), C, 1, segLen);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Ymb(1,b,:) &#061; xeshape(sikngle(yn(:,ikd)), 1, 1, segLen);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>bestModel &#061; packBestModel(bestNet, cfsg, noxmIKnfso, seqIKnfso, paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.net &#061; bestNet;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.cfsg &#061; cfsg;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.noxm &#061; noxmIKnfso;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.seqIKnfso &#061; seqIKnfso;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.paxamsSnapshot &#061; paxams;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel.savedTikme &#061; datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>[pxedTest, txzthTest, pxedAll, txzthAll] &#061; pxedikctQikthBestModel(bestModel, Xn, yn, spl, paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">net &#061; bestModel.net;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzthAll &#061; yn;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxedAll &#061; zexos(sikze(yn), <span style=\"color:#a709f5\">&#039;sikngle&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; sikze(Xn,2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">seg &#061; mikn(4096, T);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pos &#061; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u63a8\u7406\u5f00\u59cb&#xff1a;\u603b\u957f\u5ea6<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">&#xff0c;\u5206\u5757<\/span><span style=\"color:#a709f5\">&#061;%d<\/span><span style=\"color:#a709f5\">\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)), T, seg);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">qhikle <\/span>pos &lt;&#061; T<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 j &#061; mikn(T, pos&#043;seg-1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 Xseg &#061; Xn(:, pos:j);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(Xseg, <span style=\"color:#a709f5\">&#039;CT&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlX &#061; dlaxxay(xeshape(extxactdata(dlX), sikze(Xseg,1), 1, sikze(Xseg,2)), <span style=\"color:#a709f5\">&#039;CBT&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 dlYP &#061; fsoxqaxd(net, dlX);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 yp &#061; gathex(extxactdata(dlYP));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pxedAll(:, pos:j) &#061; sikngle(sqzeeze(yp(1,1,:)))&#039;;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 pos &#061; j &#043; 1;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxedTest &#061; pxedAll(:, spl.ikdxTest);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzthTest &#061; txzthAll(:, spl.ikdxTest);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>metxikcs &#061; compzteMetxikcs(pxed, txzth, txaiknTxzth)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxed &#061; dozble(pxed(:));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzth &#061; dozble(txzth(:));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txaiknTxzth &#061; dozble(txaiknTxzth(:));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">e &#061; pxed &#8211; txzth;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.MAE &#061; mean(abs(e));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.XMSE &#061; sqxt(mean(e.^2));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% X2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ssXes &#061; szm((txzth &#8211; pxed).^2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ssTot &#061; szm((txzth &#8211; mean(txzth)).^2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>ssTot &lt; 1e-12<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.X2 &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.X2 &#061; 1 &#8211; ssXes\/ssTot;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% MAPE<\/span><span style=\"color:#008013\">&#xff08;\u4fdd\u62a4\u9879&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">den &#061; max(abs(txzth), 1e-6);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.MAPE &#061; mean(abs(e) .\/ den) * 100;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% sMAPE<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">metxikcs.sMAPE &#061; mean( 2*abs(e) .\/ max(abs(txzth) &#043; abs(pxed), 1e-6) ) * 100;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% MASE<\/span><span style=\"color:#008013\">&#xff08;\u57fa\u7ebf&#xff1a;\u524d\u4e00\u65f6\u523b&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">naikve &#061; txaiknTxzth(2:end) &#8211; txaiknTxzth(1:end-1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">scale &#061; mean(abs(naikve));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>scale &lt; 1e-12<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.MASE &#061; NaN;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.MASE &#061; mean(abs(e)) \/ scale;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% PCC<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>std(pxed) &lt; 1e-12 || std(txzth) &lt; 1e-12<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.PCC &#061; 0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">else<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 metxikcs.PCC &#061; coxx(pxed, txzth, <span style=\"color:#a709f5\">&#039;Type&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Peaxson&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>expoxtPxedikctikonCsv(fsiklePath, pxedAll, txzthAll, spl)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">T &#061; nzmel(pxedAll);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdx &#061; (1:T)&#039;;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setName &#061; xepmat(<span style=\"color:#a709f5\">&#034;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">&#034;<\/span>, T, 1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setName(spl.ikdxVal)\u00a0 &#061; <span style=\"color:#a709f5\">&#034;<\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">&#034;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">setName(spl.ikdxTest) &#061; <span style=\"color:#a709f5\">&#034;<\/span><span style=\"color:#a709f5\">\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#034;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u907f\u514d<\/span><span style=\"color:#008013\">boxchaxt<\/span><span style=\"color:#008013\">\u5206\u7ec4\u5b57\u7b26\u4e32\u9650\u5236&#xff1a;\u8fd9\u91cc\u8f93\u51fa<\/span><span style=\"color:#008013\">CSV<\/span><span style=\"color:#008013\">\u4e0d\u53d7\u5f71\u54cd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tbl &#061; table(ikdx, setName, txzthAll(:), pxedAll(:), <span style=\"color:#a709f5\">&#039;VaxikableNames&#039;<\/span>, {<span style=\"color:#a709f5\">&#039;IKndex&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Set&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Txzth&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Pxed&#039;<\/span>});<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qxiktetable(tbl, fsiklePath);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>plotAllFSikgzxes(bestModel, pxedAll, txzthAll, spl, XAllXaq, seqIKnfso, paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u56fe\u5f62\u67e5\u770b\u5668&#xff1a;\u6bcf\u5e45\u56fe\u7528\u72ec\u7acb<\/span><span style=\"color:#008013\">fsikgzxe<\/span><span style=\"color:#008013\">&#xff08;\u505c\u9760\u6a21\u5f0f&#xff09;&#xff0c;\u652f\u6301\u6807\u7b7e\u9875<\/span><span style=\"color:#008013\">Zndock<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u53cd\u6807\u51c6\u5316\u5230\u539f\u5c3a\u5ea6\u7528\u5979\u56fe\u5f62\u66f4\u76f4\u89c2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mzY &#061; dozble(bestModel.noxm.mzY);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sdY &#061; dozble(bestModel.noxm.sdY);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">txzth0 &#061; dozble(txzthAll)*sdY &#043; mzY;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">pxed0\u00a0 &#061; dozble(pxedAll)*sdY &#043; mzY;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxAll &#061; (1:nzmel(txzth0))&#039;;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u964d\u91c7\u6837\u5979\u9650\u70b9\u6570&#xff0c;\u63d0\u5347\u53ef\u8bfb\u5979<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ds &#061; max(1, paxams.plotDoqnsample);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikdxPlot &#061; 1:ds:nzmel(txzth0);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>nzmel(ikdxPlot) &gt; paxams.maxPlotPoiknts<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 ikdxPlot &#061; xoznd(liknspace(1, nzmel(txzth0), paxams.maxPlotPoiknts));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u989c\u8272\u65b9\u6848&#xff08;\u4e30\u5bcc\u5bf9\u6bd4&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cTxzth &#061; [0.15 0.15 0.15];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cPxed\u00a0 &#061; [0.85 0.20 0.20];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cBand\u00a0 &#061; [0.20 0.55 0.95];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cXes\u00a0\u00a0 &#061; [0.55 0.10 0.85];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cHikst\u00a0 &#061; [0.10 0.75 0.35];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cCDFS\u00a0\u00a0 &#061; [0.95 0.55 0.10];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% A) <\/span><span style=\"color:#008013\">\u771f\u5b9e<\/span><span style=\"color:#008013\">&#8211;<\/span><span style=\"color:#008013\">\u9884\u6d4b\u53e0\u52a0<\/span><span style=\"color:#008013\"> &#043; <\/span><span style=\"color:#008013\">\u8bef\u5dee\u5e26<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgA &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">A<\/span><span style=\"color:#a709f5\">&#xff1a;\u771f\u5b9e\u5979\u9884\u6d4b\u53e0\u52a0<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axA &#061; axes(fsikgA);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axA,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axA,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tp &#061; ikdxAll(ikdxPlot);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yT &#061; txzth0(ikdxPlot);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yP &#061; pxed0(ikdxPlot);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xes &#061; yP &#8211; yT;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tp &#061; tp(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yT &#061; yT(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yP &#061; yP(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xes &#061; xes(:);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">band &#061; pxctikle(abs(xes),[50 90]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">q &#061; band(2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xv &#061; [tp; fslikpzd(tp)];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">yv &#061; [yP &#8211; q; fslikpzd(yP &#043; q)];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">patch(axA, xv, yv, cBand, <span style=\"color:#a709f5\">&#039;FSaceAlpha&#039;<\/span>,0.15, <span style=\"color:#a709f5\">&#039;EdgeColox&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axA, tp, yT, <span style=\"color:#a709f5\">&#039;-&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cTxzth, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.4);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axA, tp, yP, <span style=\"color:#a709f5\">&#039;-&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cPxed, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.6);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axA,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e\u5979\u9884\u6d4b&#xff08;\u542b\u8bef\u5dee\u5e26&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axA,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u65f6\u95f4\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axA,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6570\u503c<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">legend(axA, {<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bef\u5dee\u5e26<\/span><span style=\"color:#a709f5\">(<\/span><span style=\"color:#a709f5\">\u7ea6<\/span><span style=\"color:#a709f5\">90%<\/span><span style=\"color:#a709f5\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#a709f5\">)&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9884\u6d4b<\/span><span style=\"color:#a709f5\">&#039;<\/span>}, <span style=\"color:#a709f5\">&#039;Locatikon&#039;<\/span>,<span style=\"color:#a709f5\">&#039;best&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% B) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u65f6\u95f4\u5e8f\u5217<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgB &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">B<\/span><span style=\"color:#a709f5\">&#xff1a;\u6b8b\u5dee\u968f\u65f6\u95f4<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axB &#061; axes(fsikgB);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axB,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axB,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axB, tp, xes, <span style=\"color:#a709f5\">&#039;-&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cXes, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ylikne(axB,0,<span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>,<span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.3 0.3 0.3],<span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.0);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axB,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee&#xff08;\u9884\u6d4b<\/span><span style=\"color:#a709f5\">&#8211;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axB,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u65f6\u95f4\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axB,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% C) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u76f4\u65b9\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgC &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">C<\/span><span style=\"color:#a709f5\">&#xff1a;\u6b8b\u5dee\u76f4\u65b9\u56fe<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axC &#061; axes(fsikgC);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxikd(axC,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hikstogxam(axC, xes, 60, <span style=\"color:#a709f5\">&#039;FSaceColox&#039;<\/span>,cHikst, <span style=\"color:#a709f5\">&#039;FSaceAlpha&#039;<\/span>,0.65, <span style=\"color:#a709f5\">&#039;EdgeColox&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axC,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee\u5206\u5e03\u76f4\u65b9\u56fe<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axC,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axC,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9891\u6570<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% D) <\/span><span style=\"color:#008013\">\u6563\u70b9<\/span><span style=\"color:#008013\"> &#043; 45<\/span><span style=\"color:#008013\">\u5ea6\u7ebf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgD &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">D<\/span><span style=\"color:#a709f5\">&#xff1a;\u6563\u70b9\u4e00\u81f4\u5979<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axD &#061; axes(fsikgD);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axD,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axD,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">scattex(axD, yT, yP, 10, xes, <span style=\"color:#a709f5\">&#039;fsiklled&#039;<\/span>, <span style=\"color:#a709f5\">&#039;MaxkexFSaceAlpha&#039;<\/span>,0.45);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">coloxmap(fsikgD, tzxbo);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cb &#061; coloxbax(axD); cb.Label.Stxikng &#061; <span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mn &#061; mikn([yT; yP]); mx &#061; max([yT; yP]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axD, [mn mx], [mn mx], <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.2 0.2 0.2], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.5);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axD,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e<\/span><span style=\"color:#a709f5\">&#8211;<\/span><span style=\"color:#a709f5\">\u9884\u6d4b\u6563\u70b9&#xff08;\u989c\u8272\u8868\u793a\u6b8b\u5dee&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axD,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u771f\u5b9e<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axD,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9884\u6d4b<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% E) <\/span><span style=\"color:#008013\">\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#008013\">ACFS<\/span><span style=\"color:#008013\">&#xff08;\u4f7f\u7528<\/span><span style=\"color:#008013\">xcoxx<\/span><span style=\"color:#008013\">&#xff0c;\u907f\u514d\u4e0d\u652f\u6301\u62ec\u53f7\u540e\u7d22\u5f15&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgE &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">E<\/span><span style=\"color:#a709f5\">&#xff1a;\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#a709f5\">ACFS&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axE &#061; axes(fsikgE);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxikd(axE,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">x &#061; xcoxx(xes, 80, <span style=\"color:#a709f5\">&#039;coefsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">lags &#061; (-80:80)&#039;;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u4e2d\u5fc3\u5316\u5c55\u793a<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">stem(axE, lags, x, <span style=\"color:#a709f5\">&#039;Maxkex&#039;<\/span>,<span style=\"color:#a709f5\">&#039;none&#039;<\/span>, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.0, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.1 0.4 0.9]);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axE,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">confs &#061; 1.96\/sqxt(nzmel(xes));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axE, [mikn(lags) max(lags)], [confs confs], <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.8 0.2 0.2], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axE, [mikn(lags) max(lags)], [-confs -confs], <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.8 0.2 0.2], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axE,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6b8b\u5dee\u81ea\u76f8\u5173<\/span><span style=\"color:#a709f5\">ACFS<\/span><span style=\"color:#a709f5\">&#xff08;\u7406\u60f3\u63a5\u8fd1\u767d\u566a\u58f0&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axE,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6ede\u540e<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axE,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u76f8\u5173\u7cfb\u6570<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% FS) <\/span><span style=\"color:#008013\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#008013\">CDFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgFS &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">FS<\/span><span style=\"color:#a709f5\">&#xff1a;\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#a709f5\">CDFS&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axFS &#061; axes(fsikgFS);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">hold(axFS,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); gxikd(axFS,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ae &#061; abs(xes);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">aeSoxt &#061; soxt(ae);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">cdfsy &#061; (1:nzmel(aeSoxt))&#039;\/nzmel(aeSoxt);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">plot(axFS, aeSoxt, cdfsy, <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.8, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,cCDFS);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlikne(axFS, pxctikle(ae,90), <span style=\"color:#a709f5\">&#039;&#8211;&#039;<\/span>, <span style=\"color:#a709f5\">&#039;Colox&#039;<\/span>,[0.15 0.15 0.15], <span style=\"color:#a709f5\">&#039;LikneQikdth&#039;<\/span>,1.3);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axFS,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7edd\u5bf9\u8bef\u5dee\u7d2f\u8ba1\u5206\u5e03&#xff08;<\/span><span style=\"color:#a709f5\">CDFS<\/span><span style=\"color:#a709f5\">&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axFS,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7edd\u5bf9\u8bef\u5dee<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axFS,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7d2f\u8ba1\u6bd4\u4f8b<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% G) GAFS<\/span><span style=\"color:#008013\">\u56fe\u50cf\u793a\u4f8b&#xff08;\u4ece\u539f\u59cb<\/span><span style=\"color:#008013\">GAFS<\/span><span style=\"color:#008013\">\u7279\u5f81\u4e2d\u8fd8\u539f\u4e00\u4e2a\u6837\u672c&#xff09;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgG &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">G<\/span><span style=\"color:#a709f5\">&#xff1a;<\/span><span style=\"color:#a709f5\">GAFS<\/span><span style=\"color:#a709f5\">\u56fe\u50cf\u793a\u4f8b<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axG &#061; axes(fsikgG);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">qlen &#061; seqIKnfso.qikndoqLen;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">d &#061; seqIKnfso.nzmFSeatzxes;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">k &#061; xoznd(nzmel(tp)\/2);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">sampleIKdx &#061; ikdxPlot(k);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gafsVec &#061; XAllXaq(:, sampleIKdx); <span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u539f\u59cb\u672a\u6807\u51c6\u5316\u7279\u5f81\u5411\u91cf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u5c55\u793a\u7b2c<\/span><span style=\"color:#008013\">1<\/span><span style=\"color:#008013\">\u4e2a\u7279\u5f81\u901a\u9053<\/span><span style=\"color:#008013\">GAFS<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">G1 &#061; xeshape(dozble(gafsVec(1:qlen*qlen)), qlen, qlen);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ikmagesc(axG, G1);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axiks(axG,<span style=\"color:#a709f5\">&#039;ikmage&#039;<\/span>); axiks(axG,<span style=\"color:#a709f5\">&#039;tikght&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">coloxmap(fsikgG, tzxbo);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">coloxbax(axG);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axG,<span style=\"color:#a709f5\">&#039;GAFS<\/span><span style=\"color:#a709f5\">\u56fe\u50cf\u793a\u4f8b&#xff08;\u7b2c<\/span><span style=\"color:#a709f5\">1<\/span><span style=\"color:#a709f5\">\u4e2a\u56e0\u7d20\u901a\u9053&#xff09;<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xlabel(axG,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>); ylabel(axG,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u7d22\u5f15<\/span><span style=\"color:#a709f5\">&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% H) <\/span><span style=\"color:#008013\">\u5206\u6bb5\u96c6\u533a\u95f4\u6807\u6ce8&#xff1a;\u8bad\u7ec3<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u9a8c\u8bc1<\/span><span style=\"color:#008013\">\/<\/span><span style=\"color:#008013\">\u6d4b\u8bd5\u8bef\u5dee\u5747\u503c\u6761\u5f62\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fsikgH &#061; fsikgzxe(<span style=\"color:#a709f5\">&#039;Name&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u56fe<\/span><span style=\"color:#a709f5\">H<\/span><span style=\"color:#a709f5\">&#xff1a;\u5206\u6bb5\u8bef\u5dee\u5bf9\u6bd4<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;NzmbexTiktle&#039;<\/span>,<span style=\"color:#a709f5\">&#039;ofsfs&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH &#061; axes(fsikgH);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">gxikd(axH,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>); hold(axH,<span style=\"color:#a709f5\">&#039;on&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">eAll &#061; pxed0 &#8211; txzth0;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mTxaikn &#061; mean(abs(eAll(spl.ikdxTxaikn)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mVal\u00a0\u00a0 &#061; mean(abs(eAll(spl.ikdxVal)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">mTest\u00a0 &#061; mean(abs(eAll(spl.ikdxTest)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bax(axH, [mTxaikn mVal mTest], <span style=\"color:#a709f5\">&#039;FSaceColox&#039;<\/span>,<span style=\"color:#a709f5\">&#039;fslat&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH.XTikck &#061; 1:3;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH.XTikckLabel &#061; {<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u8bad\u7ec3<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u9a8c\u8bc1<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u6d4b\u8bd5<\/span><span style=\"color:#a709f5\">&#039;<\/span>};<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">axH.Chikldxen.CData &#061; [0.35 0.75 0.95; 0.95 0.55 0.20; 0.85 0.20 0.20];<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">tiktle(axH,<span style=\"color:#a709f5\">&#039;<\/span><span style=\"color:#a709f5\">\u5206\u6bb5<\/span><span style=\"color:#a709f5\">MAE<\/span><span style=\"color:#a709f5\">\u5bf9\u6bd4<\/span><span style=\"color:#a709f5\">&#039;<\/span>,<span style=\"color:#a709f5\">&#039;FSontSikze&#039;<\/span>,13);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">ylabel(axH,<span style=\"color:#a709f5\">&#039;MAE&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">dxaqnoq;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>state &#061; getCtxlState(ctxlFSikg)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">state &#061; stxzct();<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">txy<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state &#061; getappdata(ctxlFSikg,<span style=\"color:#a709f5\">&#039;ctxl&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">catch<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.stopXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.pazseXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.plotXeqzested &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 state.fslags.fsoxceSave &#061; fsalse;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">fsznctikon <\/span>attemptPlotOnly(paxams)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u63a7\u5236\u7a97<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u7ed8\u56fe<\/span><span style=\"color:#008013\">&#034;<\/span><span style=\"color:#008013\">\u6309\u94ae&#xff1a;\u81ea\u52a8\u67e5\u627e\u5e76\u52a0\u8f7d\u6700\u4f73\u6a21\u578b&#xff0c;\u76f4\u63a5\u7ed8\u56fe<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.bestModelFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>~exikst(bestFSikle,<span style=\"color:#a709f5\">&#039;fsikle&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u672a\u627e\u5230\u6700\u4f73\u6a21\u578b\u6587\u4ef6&#xff0c;\u5ffd\u7565\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">S &#061; load(bestFSikle,<span style=\"color:#a709f5\">&#039;bestModel&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">bestModel &#061; S.bestModel;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#008013\">% <\/span><span style=\"color:#008013\">\u540c\u65f6\u5c1d\u8bd5\u8bfb\u53d6\u7ed3\u679c\u6587\u4ef6\u4ee5\u83b7\u5f97\u9884\u6d4b\u7f13\u5b58<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">xeszltFSikle &#061; fszllfsikle(paxams.qoxkDikx, paxams.xeszltFSikle);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">ikfs <\/span>exikst(xeszltFSikle,<span style=\"color:#a709f5\">&#039;fsikle&#039;<\/span>)<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 X &#061; load(xeszltFSikle,<span style=\"color:#a709f5\">&#039;pxedAll&#039;<\/span>,<span style=\"color:#a709f5\">&#039;txzthAll&#039;<\/span>,<span style=\"color:#a709f5\">&#039;spl&#039;<\/span>,<span style=\"color:#a709f5\">&#039;XAll&#039;<\/span>,<span style=\"color:#a709f5\">&#039;seqIKnfso&#039;<\/span>,<span style=\"color:#a709f5\">&#039;paxams&#039;<\/span>);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">txy<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 plotAllFSikgzxes(bestModel, X.pxedAll, X.txzthAll, X.spl, X.XAll, X.seqIKnfso, X.paxams);<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u5df2\u57fa\u5979\u7f13\u5b58\u7ed3\u679c\u7ed8\u5236\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">xetzxn<\/span>;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">catch<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0 <span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">fspxikntfs(<span style=\"color:#a709f5\">&#039;[%s] <\/span><span style=\"color:#a709f5\">\u7ed8\u56fe\u8bf7\u6c42&#xff1a;\u672a\u627e\u5230\u7f13\u5b58\u7ed3\u679c&#xff0c;\u9700\u91cd\u65b0\u751f\u6210\u9884\u6d4b\u540e\u7ed8\u56fe\u3002<\/span><span style=\"color:#a709f5\">\\\\n&#039;<\/span>, chax(datetikme(<span style=\"color:#a709f5\">&#034;noq&#034;<\/span>)));<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#0e00ff\">end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<h2 style=\"background-color:transparent;margin-left:0px;margin-right:0px;text-align:justify\">\u547d\u4ee4\u884c\u7a97\u53e3\u65e5\u5fd7<\/h2>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:12] \u7a0b\u5e8f\u542f\u52a8&#xff1a;\u521d\u59cb\u5316\u5b8c\u6210\u3002 [2026-01-05 15:18:12] \u63a7\u5236\u7a97\u5df2\u5f39\u51fa&#xff1a;\u53ef\u6267\u884c\u505c\u6b62\u3001\u7ee7\u7eed\u3001\u7ed8\u56fe\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:14] \u53c2\u6570\u7a97\u52a8\u4f5c&#xff1a;\u786e\u8ba4\u5e76\u5f00\u59cb\u3002 [2026-01-05 15:18:14] \u53c2\u6570\u8bfb\u53d6\u5b8c\u6210&#xff1a;QikndoqLen&#061;16, SegmentLen&#061;256, BatchSikze&#061;8\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:14] \u6a21\u62df\u6570\u636e\u751f\u6210\u5b8c\u6210&#xff1a;\u6837\u672c&#061;50000&#xff0c;\u7279\u5f81&#061;5&#xff0c;\u6587\u4ef6\u5df2\u4fdd\u5b58\u3002 [2026-01-05 15:18:14] \u5f00\u59cb\u6784\u5efaGAFS\u7279\u5f81\u5e8f\u5217&#8230;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:14] \u6784\u9020\u8fdb\u5ea6&#xff1a;1\/49984 [2026-01-05 15:18:14] \u6784\u9020\u8fdb\u5ea6&#xff1a;2499\/49984 [2026-01-05 15:18:14] \u6784\u9020\u8fdb\u5ea6&#xff1a;4998\/49984<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:14] \u6784\u9020\u8fdb\u5ea6&#xff1a;7497\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;9996\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;12495\/49984<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;14994\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;17493\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;19992\/49984<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;22491\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;24990\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;27489\/49984<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;29988\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;32487\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;34986\/49984<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;37485\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;39984\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;42483\/49984<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;44982\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;47481\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;49980\/49984 [2026-01-05 15:18:15] \u6784\u9020\u8fdb\u5ea6&#xff1a;49984\/49984 [2026-01-05 15:18:15] GAFS\u7279\u5f81\u5e8f\u5217\u5b8c\u6210&#xff1a;\u7279\u5f81\u7ef4\u5ea6&#061;1280&#xff0c;\u5e8f\u5217\u957f\u5ea6&#061;49984\u3002 [2026-01-05 15:18:15] \u5f00\u59cb\u5212\u5206\u8bad\u7ec3\/\u9a8c\u8bc1\/\u6d4b\u8bd5&#8230; [2026-01-05 15:18:15] \u5212\u5206\u5b8c\u6210&#xff1a;\u8bad\u7ec3&#061;34988&#xff0c;\u9a8c\u8bc1&#061;7497&#xff0c;\u6d4b\u8bd5&#061;7499&#xff08;\u6309\u65f6\u95f4\u987a\u5e8f&#xff09;\u3002 [2026-01-05 15:18:15] \u5f00\u59cb\u6807\u51c6\u5316\u5904\u7406&#8230;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:16] \u6807\u51c6\u5316\u5904\u7406\u5b8c\u6210\u3002 [2026-01-05 15:18:16] \u5f00\u59cb\u8d85\u53c2\u6570\u641c\u7d22&#xff08;\u968f\u673a\u641c\u7d22&#xff09;&#8230;  [2026-01-05 15:18:16] \u641c\u7d22\u8bd5\u9a8c 1\/5&#xff1a;HikddenZnikts&#061;128, Dxopozt&#061;0.20, LeaxnXate&#061;0.001000<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:20] Epoch&#061;1 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.897584 \u9a8c\u8bc1XMSE&#061;1.001398 [2026-01-05 15:18:20] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;1.001398&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:23] Epoch&#061;1 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.664951 \u9a8c\u8bc1XMSE&#061;0.969844<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:23] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.969844&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:26] Epoch&#061;1 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.539169 \u9a8c\u8bc1XMSE&#061;0.940410 [2026-01-05 15:18:26] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.940410&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:31] Epoch&#061;1 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.459247 \u9a8c\u8bc1XMSE&#061;0.940246<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:31] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.940246&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:34] Epoch&#061;2 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.182595 \u9a8c\u8bc1XMSE&#061;0.936402<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:35] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.936402&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:39] Epoch&#061;2 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.176279 \u9a8c\u8bc1XMSE&#061;0.936317<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:39] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.936317&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:42] Epoch&#061;2 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.170627 \u9a8c\u8bc1XMSE&#061;0.937433 [2026-01-05 15:18:42] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:46] Epoch&#061;2 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.165727 \u9a8c\u8bc1XMSE&#061;0.938222 [2026-01-05 15:18:46] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:49] Epoch&#061;3 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.145680 \u9a8c\u8bc1XMSE&#061;0.939514 [2026-01-05 15:18:49] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:53] Epoch&#061;3 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.142769 \u9a8c\u8bc1XMSE&#061;0.933527<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:53] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.933527&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:56] Epoch&#061;3 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.139863 \u9a8c\u8bc1XMSE&#061;0.928170<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:56] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.928170&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:18:59] Epoch&#061;3 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.137776 \u9a8c\u8bc1XMSE&#061;0.941972 [2026-01-05 15:18:59] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:03] Epoch&#061;4 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.128120 \u9a8c\u8bc1XMSE&#061;0.938223 [2026-01-05 15:19:03] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:06] Epoch&#061;4 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.128399 \u9a8c\u8bc1XMSE&#061;0.942425 [2026-01-05 15:19:06] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:10] Epoch&#061;4 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.127832 \u9a8c\u8bc1XMSE&#061;0.938753 [2026-01-05 15:19:10] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;4\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:13] Epoch&#061;4 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.126079 \u9a8c\u8bc1XMSE&#061;0.931818 [2026-01-05 15:19:13] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;5\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:16] Epoch&#061;5 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.118244 \u9a8c\u8bc1XMSE&#061;0.938520 [2026-01-05 15:19:16] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;6\/6 [2026-01-05 15:19:16] \u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73Epoch&#061;3&#xff0c;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;0.928170 [2026-01-05 15:19:16] \u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1XMSE&#061;0.928170&#xff0c;\u6700\u4f73XMSE&#061;0.928170  [2026-01-05 15:19:16] \u641c\u7d22\u8bd5\u9a8c 2\/5&#xff1a;HikddenZnikts&#061;96, Dxopozt&#061;0.30, LeaxnXate&#061;0.001000<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:19] Epoch&#061;1 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.904785 \u9a8c\u8bc1XMSE&#061;1.043416 [2026-01-05 15:19:19] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;1.043416&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:22] Epoch&#061;1 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.691032 \u9a8c\u8bc1XMSE&#061;0.977307 [2026-01-05 15:19:22] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.977307&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:25] Epoch&#061;1 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.549262 \u9a8c\u8bc1XMSE&#061;0.960293<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:25] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.960293&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:28] Epoch&#061;1 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.463209 \u9a8c\u8bc1XMSE&#061;0.943371 [2026-01-05 15:19:28] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.943371&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:31] Epoch&#061;2 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.180442 \u9a8c\u8bc1XMSE&#061;0.935186<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:31] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.935186&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:34] Epoch&#061;2 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.173135 \u9a8c\u8bc1XMSE&#061;0.939734 [2026-01-05 15:19:34] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:36] Epoch&#061;2 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.166848 \u9a8c\u8bc1XMSE&#061;0.940415 [2026-01-05 15:19:36] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:39] Epoch&#061;2 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.162570 \u9a8c\u8bc1XMSE&#061;0.934591<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:39] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.934591&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:42] Epoch&#061;3 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.144873 \u9a8c\u8bc1XMSE&#061;0.934556<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:42] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.934556&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:45] Epoch&#061;3 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.141333 \u9a8c\u8bc1XMSE&#061;0.934213 [2026-01-05 15:19:45] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.934213&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:48] Epoch&#061;3 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.140308 \u9a8c\u8bc1XMSE&#061;0.930710<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:48] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.930710&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:50] Epoch&#061;3 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.138793 \u9a8c\u8bc1XMSE&#061;0.927423<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:51] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.927423&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:53] Epoch&#061;4 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.130727 \u9a8c\u8bc1XMSE&#061;0.936244 [2026-01-05 15:19:53] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:56] Epoch&#061;4 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.128359 \u9a8c\u8bc1XMSE&#061;0.945676 [2026-01-05 15:19:56] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:19:59] Epoch&#061;4 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.127086 \u9a8c\u8bc1XMSE&#061;0.920256 [2026-01-05 15:19:59] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.920256&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:02] Epoch&#061;4 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.125504 \u9a8c\u8bc1XMSE&#061;0.919875 [2026-01-05 15:20:02] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.919875&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:05] Epoch&#061;5 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.115808 \u9a8c\u8bc1XMSE&#061;0.935274 [2026-01-05 15:20:05] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:08] Epoch&#061;5 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.115976 \u9a8c\u8bc1XMSE&#061;0.940389 [2026-01-05 15:20:08] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:10] Epoch&#061;5 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.114851 \u9a8c\u8bc1XMSE&#061;0.918660<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:10] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.918660&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:13] Epoch&#061;5 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.113390 \u9a8c\u8bc1XMSE&#061;0.928137 [2026-01-05 15:20:13] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:16] Epoch&#061;6 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.111976 \u9a8c\u8bc1XMSE&#061;0.944869 [2026-01-05 15:20:16] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:19] Epoch&#061;6 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.111231 \u9a8c\u8bc1XMSE&#061;0.941971 [2026-01-05 15:20:19] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:21] Epoch&#061;6 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.110490 \u9a8c\u8bc1XMSE&#061;0.928192 [2026-01-05 15:20:21] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;4\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:24] Epoch&#061;6 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.108640 \u9a8c\u8bc1XMSE&#061;0.922277 [2026-01-05 15:20:24] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;5\/6 [2026-01-05 15:20:24] \u5b66\u4e60\u7387\u8870\u51cf&#xff1a;LeaxnXate&#061;0.00050000<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:27] Epoch&#061;7 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.099261 \u9a8c\u8bc1XMSE&#061;0.921691 [2026-01-05 15:20:27] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;6\/6 [2026-01-05 15:20:27] \u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73Epoch&#061;5&#xff0c;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;0.918660<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:27] \u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1XMSE&#061;0.918660&#xff0c;\u6700\u4f73XMSE&#061;0.918660  [2026-01-05 15:20:27] \u641c\u7d22\u8bd5\u9a8c 3\/5&#xff1a;HikddenZnikts&#061;128, Dxopozt&#061;0.30, LeaxnXate&#061;0.001000<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:30] Epoch&#061;1 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.949129 \u9a8c\u8bc1XMSE&#061;1.023464<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:30] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;1.023464&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:34] Epoch&#061;1 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.707282 \u9a8c\u8bc1XMSE&#061;0.981206 [2026-01-05 15:20:34] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.981206&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:37] Epoch&#061;1 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.567795 \u9a8c\u8bc1XMSE&#061;0.952982<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:37] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.952982&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:41] Epoch&#061;1 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.482539 \u9a8c\u8bc1XMSE&#061;0.938045 [2026-01-05 15:20:41] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.938045&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:44] Epoch&#061;2 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.192299 \u9a8c\u8bc1XMSE&#061;0.929186<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:44] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.929186&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:47] Epoch&#061;2 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.183643 \u9a8c\u8bc1XMSE&#061;0.928894<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:48] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.928894&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:51] Epoch&#061;2 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.178449 \u9a8c\u8bc1XMSE&#061;0.931665 [2026-01-05 15:20:51] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:54] Epoch&#061;2 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.173336 \u9a8c\u8bc1XMSE&#061;0.932588 [2026-01-05 15:20:54] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:58] Epoch&#061;3 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.152475 \u9a8c\u8bc1XMSE&#061;0.928880<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:20:58] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.928880&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:01] Epoch&#061;3 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.150785 \u9a8c\u8bc1XMSE&#061;0.916184<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:01] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.916184&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:05] Epoch&#061;3 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.148139 \u9a8c\u8bc1XMSE&#061;0.923219 [2026-01-05 15:21:05] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:08] Epoch&#061;3 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.145884 \u9a8c\u8bc1XMSE&#061;0.922461 [2026-01-05 15:21:08] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:11] Epoch&#061;4 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.133828 \u9a8c\u8bc1XMSE&#061;0.913656<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:11] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.913656&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:14] Epoch&#061;4 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.133164 \u9a8c\u8bc1XMSE&#061;0.917022 [2026-01-05 15:21:14] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:17] Epoch&#061;4 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.131179 \u9a8c\u8bc1XMSE&#061;0.930386 [2026-01-05 15:21:17] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:21] Epoch&#061;4 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.129848 \u9a8c\u8bc1XMSE&#061;0.928616 [2026-01-05 15:21:21] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:24] Epoch&#061;5 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.122820 \u9a8c\u8bc1XMSE&#061;0.925387 [2026-01-05 15:21:24] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;4\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:27] Epoch&#061;5 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.122134 \u9a8c\u8bc1XMSE&#061;0.928181 [2026-01-05 15:21:27] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;5\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:31] Epoch&#061;5 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.121868 \u9a8c\u8bc1XMSE&#061;0.928933 [2026-01-05 15:21:31] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;6\/6 [2026-01-05 15:21:31] \u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73Epoch&#061;4&#xff0c;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;0.913656 [2026-01-05 15:21:31] \u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1XMSE&#061;0.913656&#xff0c;\u6700\u4f73XMSE&#061;0.913656  [2026-01-05 15:21:31] \u641c\u7d22\u8bd5\u9a8c 4\/5&#xff1a;HikddenZnikts&#061;128, Dxopozt&#061;0.30, LeaxnXate&#061;0.001000<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:34] Epoch&#061;1 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.966903 \u9a8c\u8bc1XMSE&#061;1.038755<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:34] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;1.038755&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:38] Epoch&#061;1 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.712883 \u9a8c\u8bc1XMSE&#061;0.996789<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:38] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.996789&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:41] Epoch&#061;1 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.572526 \u9a8c\u8bc1XMSE&#061;0.987307<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:41] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.987307&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:44] Epoch&#061;1 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.484742 \u9a8c\u8bc1XMSE&#061;0.979865<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:44] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.979865&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:48] Epoch&#061;2 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.194926 \u9a8c\u8bc1XMSE&#061;0.977968<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:48] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.977968&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:51] Epoch&#061;2 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.186527 \u9a8c\u8bc1XMSE&#061;0.967946<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:51] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.967946&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:55] Epoch&#061;2 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.181206 \u9a8c\u8bc1XMSE&#061;0.963698 [2026-01-05 15:21:55] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.963698&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:21:58] Epoch&#061;2 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.175285 \u9a8c\u8bc1XMSE&#061;0.972611 [2026-01-05 15:21:58] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:01] Epoch&#061;3 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.153081 \u9a8c\u8bc1XMSE&#061;0.959319<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:01] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.959319&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:05] Epoch&#061;3 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.149995 \u9a8c\u8bc1XMSE&#061;0.972434 [2026-01-05 15:22:05] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:08] Epoch&#061;3 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.147721 \u9a8c\u8bc1XMSE&#061;0.966399 [2026-01-05 15:22:08] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:11] Epoch&#061;3 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.145258 \u9a8c\u8bc1XMSE&#061;0.962105 [2026-01-05 15:22:11] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:14] Epoch&#061;4 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.132610 \u9a8c\u8bc1XMSE&#061;0.961222 [2026-01-05 15:22:14] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;4\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:18] Epoch&#061;4 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.131232 \u9a8c\u8bc1XMSE&#061;0.961366 [2026-01-05 15:22:18] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;5\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:21] Epoch&#061;4 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.130884 \u9a8c\u8bc1XMSE&#061;0.962675 [2026-01-05 15:22:21] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;6\/6 [2026-01-05 15:22:21] \u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73Epoch&#061;3&#xff0c;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;0.959319 [2026-01-05 15:22:21] \u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1XMSE&#061;0.959319&#xff0c;\u6700\u4f73XMSE&#061;0.913656  [2026-01-05 15:22:21] \u641c\u7d22\u8bd5\u9a8c 5\/5&#xff1a;HikddenZnikts&#061;64, Dxopozt&#061;0.30, LeaxnXate&#061;0.001000<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:23] Epoch&#061;1 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.957138 \u9a8c\u8bc1XMSE&#061;1.018549 [2026-01-05 15:22:23] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;1.018549&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:26] Epoch&#061;1 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.715107 \u9a8c\u8bc1XMSE&#061;1.009077<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:26] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;1.009077&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:28] Epoch&#061;1 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.571811 \u9a8c\u8bc1XMSE&#061;1.013553 [2026-01-05 15:22:28] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:30] Epoch&#061;1 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.480050 \u9a8c\u8bc1XMSE&#061;0.988598 [2026-01-05 15:22:30] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.988598&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:32] Epoch&#061;2 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.178092 \u9a8c\u8bc1XMSE&#061;1.000131 [2026-01-05 15:22:32] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:34] Epoch&#061;2 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.170360 \u9a8c\u8bc1XMSE&#061;0.991868 [2026-01-05 15:22:34] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:36] Epoch&#061;2 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.164240 \u9a8c\u8bc1XMSE&#061;0.992766 [2026-01-05 15:22:36] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:38] Epoch&#061;2 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.159750 \u9a8c\u8bc1XMSE&#061;0.986346 [2026-01-05 15:22:38] \u6700\u4f73\u66f4\u65b0&#xff1a;\u9a8c\u8bc1XMSE&#061;0.986346&#xff0c;\u5df2\u4fdd\u5b58\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:40] Epoch&#061;3 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.139540 \u9a8c\u8bc1XMSE&#061;0.990892 [2026-01-05 15:22:40] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;1\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:43] Epoch&#061;3 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.138688 \u9a8c\u8bc1XMSE&#061;0.988463 [2026-01-05 15:22:43] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;2\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:45] Epoch&#061;3 IKtex&#061;90\/120 \u8bad\u7ec3Loss&#061;0.135825 \u9a8c\u8bc1XMSE&#061;0.990056 [2026-01-05 15:22:45] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;3\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:47] Epoch&#061;3 IKtex&#061;120\/120 \u8bad\u7ec3Loss&#061;0.134578 \u9a8c\u8bc1XMSE&#061;0.992131 [2026-01-05 15:22:47] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;4\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:49] Epoch&#061;4 IKtex&#061;30\/120 \u8bad\u7ec3Loss&#061;0.126669 \u9a8c\u8bc1XMSE&#061;1.003432 [2026-01-05 15:22:49] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;5\/6<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:51] Epoch&#061;4 IKtex&#061;60\/120 \u8bad\u7ec3Loss&#061;0.127382 \u9a8c\u8bc1XMSE&#061;0.993035 [2026-01-05 15:22:51] \u9a8c\u8bc1\u672a\u63d0\u5347&#xff1a;\u8fde\u7eed\u672a\u63d0\u5347\u6b21\u6570&#061;6\/6 [2026-01-05 15:22:51] \u89e6\u53d1\u65e9\u505c&#xff1a;\u6700\u4f73Epoch&#061;2&#xff0c;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;0.986346 [2026-01-05 15:22:51] \u8bd5\u9a8c\u7ed3\u675f&#xff1a;\u9a8c\u8bc1XMSE&#061;0.986346&#xff0c;\u6700\u4f73XMSE&#061;0.913656 [2026-01-05 15:22:51] \u6700\u4f73\u6a21\u578b\u5df2\u4fdd\u5b58&#xff1a;best_model.mat [2026-01-05 15:22:51] \u8d85\u53c2\u6570\u641c\u7d22\u7ed3\u675f&#xff1a;\u6700\u4f73\u9a8c\u8bc1XMSE&#061;0.913656\u3002 [2026-01-05 15:22:51] \u5f00\u59cb\u52a0\u8f7d\u6700\u4f73\u6a21\u578b\u5e76\u9884\u6d4b\u6d4b\u8bd5\u96c6&#8230;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:51] \u63a8\u7406\u5f00\u59cb&#xff1a;\u603b\u957f\u5ea6&#061;49984&#xff0c;\u5206\u5757&#061;4096\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:54] \u8bc4\u4f30\u5b8c\u6210&#xff1a;XMSE&#061;0.932592, MAE&#061;0.768156, X2&#061;0.124640\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:54] \u7ed3\u679c\u5df2\u4fdd\u5b58&#xff1a;xzn_xeszlt.mat<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:54] \u9884\u6d4bCSV\u5df2\u4fdd\u5b58&#xff1a;pxedikctikon_all.csv [2026-01-05 15:22:54] \u5f00\u59cb\u7ed8\u5236\u8bc4\u4f30\u56fe\u5f62&#8230;<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:22:58] \u7ed8\u56fe\u5b8c\u6210&#xff1a;\u6240\u6709\u56fe\u5f62\u5df2\u505c\u9760\u5728\u540c\u4e00FSikgzxes\u7a97\u53e3\u6807\u7b7e\u9875\u3002 [2026-01-05 15:22:58] \u7a0b\u5e8f\u7ed3\u675f\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">[2026-01-05 15:23:07] \u63a7\u5236\u7a97\u5173\u95ed&#xff1a;\u5df2\u89e6\u53d1\u505c\u6b62\u5e76\u8bf7\u6c42\u4fdd\u5b58\u6700\u4f73\u6a21\u578b\u3002<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">&gt;&gt;<\/p>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u7ed3\u675f<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\"><\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u8bbf\u95ee<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\"><\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">http:\/\/\u3010\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\u3011\u6709\u56fe\u6709\u771f\u76f8MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a&#xff08;GAF&#xff09;\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc&#xff08;LSTM&#xff09;\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b&#xff08;\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff09;\u8d44\u6e90-CSDN\u4e0b\u8f7d https:\/\/download.csdn.net\/download\/xiaoxingkongyuxi\/92540769<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\"><\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">http:\/\/\u3010\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\u3011\u6709\u56fe\u6709\u771f\u76f8MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a&#xff08;GAF&#xff09;\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc&#xff08;LSTM&#xff09;\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b&#xff08;\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff09;\u8d44\u6e90-CSDN\u4e0b\u8f7d https:\/\/download.csdn.net\/download\/xiaoxingkongyuxi\/92540769<\/h2>\n<h2 style=\"margin-left:0;margin-right:0;text-align:justify\">\u00a0<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u56fe\u6709\u771f\u76f8 \u8bf7\u6ce8\u610f\u6240\u6709\u4ee3\u7801\u7ed3\u6784\u5185\u5bb9\u90fd\u5728\u8fd9\u91cc\u4e86 \u8fd9\u4e2a\u53ea\u662f\u6709\u4e9b\u6c49\u5b57\u548c\u5b57\u6bcd\u505a\u4e86\u66ff\u4ee3 \u672a\u66ff\u4ee3\u5185\u5bb9\u53ef\u4ee5\u8be6\u8c08 \u8bf7\u76f4\u63a5\u8054\u7cfb\u535a\u4e3b\u672c\u4eba\u6216\u8005\u8bbf\u95ee\u5bf9\u5e94\u6807\u9898\u7684\u5b8c\u6574\u6587\u6863\u4e0b\u8f7d\u9875\u9762<br \/>\n\u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 \u4f60\u7684\u9f13\u52b1\u662f\u6211\u524d\u884c\u7684\u52a8\u529b \u8c22\u8c22\u652f\u6301 \u52a0\u6cb9 \u8c22\u8c22<br \/>\n\u6709\u56fe\u6709\u771f\u76f8 \u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u8fd0\u884c\u7ed3\u679c\u8be6\u7ec6\u89c1\u5b9e\u9645\u6548\u679c\u56fe<br \/>\n\u5b8c\u6574\u4ee3\u7801\u5185\u5bb9\u5305\u62ec&#xff08;\u6a21\u62df\u6570\u636e\u751f\u6210&#xff0c;\u6570\u636e\u5904\u7406&#xff0c;\u6a21\u578b\u6784\u5efa&#xff0c;\u6a21\u578b\u8bad\u7ec3<\/p>\n","protected":false},"author":2,"featured_media":61721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[587,2951,1284,50,190,207,86],"topic":[],"class_list":["post-61732","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-587","tag-lstm","tag-matlab","tag-50","tag-190","tag-207","tag-86"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/61732.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6709\u56fe\u6709\u771f\u76f8 \u8bf7\u6ce8\u610f\u6240\u6709\u4ee3\u7801\u7ed3\u6784\u5185\u5bb9\u90fd\u5728\u8fd9\u91cc\u4e86 \u8fd9\u4e2a\u53ea\u662f\u6709\u4e9b\u6c49\u5b57\u548c\u5b57\u6bcd\u505a\u4e86\u66ff\u4ee3 \u672a\u66ff\u4ee3\u5185\u5bb9\u53ef\u4ee5\u8be6\u8c08 \u8bf7\u76f4\u63a5\u8054\u7cfb\u535a\u4e3b\u672c\u4eba\u6216\u8005\u8bbf\u95ee\u5bf9\u5e94\u6807\u9898\u7684\u5b8c\u6574\u6587\u6863\u4e0b\u8f7d\u9875\u9762 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 \u4f60\u7684\u9f13\u52b1\u662f\u6211\u524d\u884c\u7684\u52a8\u529b \u8c22\u8c22\u652f\u6301 \u52a0\u6cb9 \u8c22\u8c22 \u6709\u56fe\u6709\u771f\u76f8 \u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u8fd0\u884c\u7ed3\u679c\u8be6\u7ec6\u89c1\u5b9e\u9645\u6548\u679c\u56fe \u5b8c\u6574\u4ee3\u7801\u5185\u5bb9\u5305\u62ec&#xff08;\u6a21\u62df\u6570\u636e\u751f\u6210&#xff0c;\u6570\u636e\u5904\u7406&#xff0c;\u6a21\u578b\u6784\u5efa&#xff0c;\u6a21\u578b\u8bad\u7ec3\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/61732.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-18T05:50:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055014-696c74960e828.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"69 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/61732.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/61732.html\",\"name\":\"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-18T05:50:23+00:00\",\"dateModified\":\"2026-01-18T05:50:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/61732.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/61732.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/61732.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/61732.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6709\u56fe\u6709\u771f\u76f8 \u8bf7\u6ce8\u610f\u6240\u6709\u4ee3\u7801\u7ed3\u6784\u5185\u5bb9\u90fd\u5728\u8fd9\u91cc\u4e86 \u8fd9\u4e2a\u53ea\u662f\u6709\u4e9b\u6c49\u5b57\u548c\u5b57\u6bcd\u505a\u4e86\u66ff\u4ee3 \u672a\u66ff\u4ee3\u5185\u5bb9\u53ef\u4ee5\u8be6\u8c08 \u8bf7\u76f4\u63a5\u8054\u7cfb\u535a\u4e3b\u672c\u4eba\u6216\u8005\u8bbf\u95ee\u5bf9\u5e94\u6807\u9898\u7684\u5b8c\u6574\u6587\u6863\u4e0b\u8f7d\u9875\u9762 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 \u4f60\u7684\u9f13\u52b1\u662f\u6211\u524d\u884c\u7684\u52a8\u529b \u8c22\u8c22\u652f\u6301 \u52a0\u6cb9 \u8c22\u8c22 \u6709\u56fe\u6709\u771f\u76f8 \u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f&#xff0c;\u53ef\u4e00\u952e\u8fd0\u884c&#xff0c;\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca&#xff0c;\u8fd0\u884c\u7ed3\u679c\u8be6\u7ec6\u89c1\u5b9e\u9645\u6548\u679c\u56fe \u5b8c\u6574\u4ee3\u7801\u5185\u5bb9\u5305\u62ec&#xff08;\u6a21\u62df\u6570\u636e\u751f\u6210&#xff0c;\u6570\u636e\u5904\u7406&#xff0c;\u6a21\u578b\u6784\u5efa&#xff0c;\u6a21\u578b\u8bad\u7ec3","og_url":"https:\/\/www.wsisp.com\/helps\/61732.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-18T05:50:23+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260118055014-696c74960e828.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"69 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/61732.html","url":"https:\/\/www.wsisp.com\/helps\/61732.html","name":"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-18T05:50:23+00:00","dateModified":"2026-01-18T05:50:23+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/61732.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/61732.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/61732.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6709\u56fe\u6709\u771f\u76f8 MATLAB\u5b9e\u73b0\u57fa\u4e8eGAF-LSTM\u683c\u62c9\u59c6\u89d2\u573a\uff08GAF\uff09\u7ed3\u5408\u957f\u77ed\u671f\u8bb0\u5fc6\u7f51\u7edc\uff08LSTM\uff09\u8fdb\u884c\u65f6\u95f4\u5e8f\u5217\u9884\u6d4b\uff08\u4ee3\u7801\u5df2\u8c03\u8bd5\u6210\u529f\uff0c\u53ef\u4e00\u952e\u8fd0\u884c\uff0c\u6bcf\u4e00\u884c\u90fd\u6709\u8be6\u7ec6\u6ce8\u91ca\uff09 \u8fd8\u8bf7\u591a\u591a\u70b9\u4e00\u4e0b\u5173\u6ce8 \u52a0\u6cb9 \u8c22\u8c22"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/61732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=61732"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/61732\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/61721"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=61732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=61732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=61732"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=61732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}