{"id":77322,"date":"2023-09-05T22:01:35","date_gmt":"2023-09-05T14:01:35","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=77322"},"modified":"2023-09-05T22:01:35","modified_gmt":"2023-09-05T14:01:35","slug":"tensorflow-learner","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/tensorflow-learner.html","title":{"rendered":"\u65f6\u5e8f\u9884\u6d4b\uff0cTensorFlow\u7684\u7b56\u7565"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nTensorFlow \u662f\u4e00\u4e2a\u91c7\u7528\u6570\u636e\u6d41\u56fe\uff08data flow graphs\uff09\uff0c\u7528\u4e8e\u6570\u503c\u8ba1\u7b97\u7684\u5f00\u6e90\u8f6f\u4ef6\u5e93\u3002\u8282\u70b9\uff08Nodes\uff09\u5728\u56fe\u4e2d\u8868\u793a\u6570\u5b66\u64cd\u4f5c\uff0c\u56fe\u4e2d\u7684\u7ebf\uff08edges\uff09\u5219\u8868\u793a\u5728\u8282\u70b9\u95f4\u76f8\u4e92\u8054\u7cfb\u7684\u591a\u7ef4\u6570\u636e\u6570\u7ec4\uff0c\u5373\u5f20\u91cf\uff08tensor\uff09\u3002\u5b83\u7075\u6d3b\u7684\u67b6\u6784\u8ba9\u4f60\u53ef\u4ee5\u5728\u591a\u79cd\u5e73\u53f0\u4e0a\u5c55\u5f00\u8ba1\u7b97\uff0c\u4f8b\u5982\u53f0\u5f0f\u8ba1\u7b97\u673a\u4e2d\u7684\u4e00\u4e2a\u6216\u591a\u4e2aCPU\uff08\u6216GPU\uff09\uff0c\u670d\u52a1\u5668\uff0c\u79fb\u52a8\u8bbe\u5907\u7b49.TensorFlow \u6700\u521d\u7531Google\u5927\u8111\u5c0f\u7ec4\uff08\u96b6\u5c5e\u4e8eGoogle\u673a\u5668\u667a\u80fd\u7814\u7a76\u673a\u6784\uff09\u7684\u7814\u7a76\u5458\u548c\u5de5\u7a0b\u5e08\u4eec\u5f00\u53d1\u51fa\u6765\uff0c\u7528\u4e8e\u673a\u5668\u5b66\u4e60\u548c\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u65b9\u9762\u7684\u7814\u7a76.<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u65f6\u95f4\u5e8f\u5217\u5206\u6790\u5728\u8ba1\u91cf\u7ecf\u6d4e\u5b66\u548c\u8d22\u52a1\u5206\u6790\u4e2d\u5177\u6709\u91cd\u8981\u610f\u4e49\uff0c\u4f46\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u4e86\u89e3\u8d8b\u52bf\u505a\u51b3\u7b56\u548c\u5bf9\u884c\u4e3a\u6a21\u5f0f\u7684\u53d8\u5316\u505a\u51fa\u53cd\u5e94\u7684\u9886\u57df\u3002\u5176\u4e2d\u4f8b\u5982\uff0c\u4f5c\u4e3a\u4e3b\u8981\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u4f9b\u5e94\u5546\u7684MapR\u878d\u5408\u6570\u636e\u5e73\u53f0\u5ba2\u6237\u5c06\u4f20\u611f\u5668\u653e\u5728\u4e95\u4e0a\uff0c\u5c06\u6570\u636e\u53d1\u9001\u5230MapR Streams\uff0c\u7136\u540e\u5c06\u5176\u7528\u4e8e\u8d8b\u52bf\u76d1\u6d4b\u4e95\u7684\u72b6\u51b5\uff0c\u5982\u4f53\u79ef\u548c\u6e29\u5ea6\u3002\u5728\u91d1\u878d\u65b9\u9762\uff0c\u65f6\u95f4\u5e8f\u5217\u5206\u6790\u7528\u4e8e\u80a1\u7968\u4ef7\u683c\uff0c\u8d44\u4ea7\u548c\u5546\u54c1\u7684\u4ef7\u683c\u7684\u9884\u6d4b\u3002\u8ba1\u91cf\u7ecf\u6d4e\u5b66\u5bb6\u957f\u671f\u5229\u7528\u201c\u5dee\u5206\u81ea\u56de\u5f52\u79fb\u52a8\u5e73\u5747\u6a21\u578b\u201d\uff08ARIMA\uff09\u6a21\u578b\u8fdb\u884c\u5355\u53d8\u91cf\u9884\u6d4b\u3002<\/p>\n

ARIMA\u6a21\u578b\u5df2\u7ecf\u4f7f\u7528\u4e86\u51e0\u5341\u5e74\uff0c\u5e76\u4e14\u5f88\u597d\u7406\u89e3\u3002\u7136\u800c\uff0c\u968f\u7740\u673a\u5668\u5b66\u4e60\u7684\u5174\u8d77\uff0c\u4ee5\u53ca\u6700\u8fd1\u7684\u6df1\u5ea6\u5b66\u4e60\uff0c\u5176\u4ed6\u6a21\u5f0f\u6b63\u5728\u88ab\u63a2\u7d22\u548c\u5229\u7528\u3002<\/p>\n

\u6df1\u5ea6\u5b66\u4e60\uff08DL\uff09\u662f\u57fa\u4e8e\u4e00\u7ec4\u7b97\u6cd5\u7684\u673a\u5668\u5b66\u4e60\u7684\u5206\u652f\uff0c\u5b83\u901a\u8fc7\u4f7f\u7528\u7531\u591a\u4e2a\u975e\u7ebf\u6027\u53d8\u6362\u7ec4\u6210\u7684\u4eba\u9020\u795e\u7ecf\u7f51\u7edc\uff08ANN\uff09\u67b6\u6784\u6765\u5c1d\u8bd5\u5bf9\u6570\u636e\u8fdb\u884c\u9ad8\u7ea7\u62bd\u8c61\u7136\u540e\u5efa\u6a21\u3002\u66f4\u4e3a\u6d41\u884c\u7684DL\u795e\u7ecf\u7f51\u7edc\u4e4b\u4e00\u662f\u5faa\u73af\u795e\u7ecf\u7f51\u7edc\uff08RNN\uff09\u3002RNN\u662f\u4f9d\u8d56\u4e8e\u5176\u8f93\u5165\u7684\u987a\u5e8f\u6027\u8d28\u7684\u4e00\u7c7b\u795e\u7ecf\u7f51\u7edc\u3002\u8fd9\u6837\u7684\u8f93\u5165\u53ef\u4ee5\u662f\u6587\u672c\uff0c\u8bed\u97f3\uff0c\u65f6\u95f4\u5e8f\u5217\uff0c\u4ee5\u53ca\u5e8f\u5217\u4e2d\u7684\u5143\u7d20\u7684\u51fa\u73b0\u53d6\u51b3\u4e8e\u5728\u5b83\u4e4b\u524d\u51fa\u73b0\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u4e00\u53e5\u8bdd\u4e2d\u7684\u4e0b\u4e00\u4e2a\u5b57\uff0c\u5982\u679c\u6709\u4eba\u5199\u201c\u6742\u8d27\u201d\u6700\u6709\u53ef\u80fd\u662f\u201c\u5546\u5e97\u201d\u800c\u4e0d\u662f\u201c\u5b66\u6821\u201d\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7ed9\u5b9a\u8fd9\u4e2a\u5e8f\u5217\uff0cRNN\u53ef\u80fd\u9884\u6d4b\u662f\u5546\u5e97\u800c\u4e0d\u662f\u5b66\u6821\u3002<\/p>\n

\u4eba\u5de5\u795e\u7ecf\u7f51\u7edc<\/strong><\/div>\n

\u5b9e\u9645\u4e0a\uff0c\u4e8b\u5b9e\u8bc1\u660e\uff0c\u867d\u7136\u795e\u7ecf\u7f51\u7edc\u6709\u65f6\u662f\u4ee4\u4eba\u754f\u60e7\u7684\u7ed3\u6784\uff0c\u4f46\u4f7f\u5b83\u4eec\u5de5\u4f5c\u7684\u673a\u5236\u51fa\u5947\u5730\u7b80\u5355\uff1a\u968f\u673a\u68af\u5ea6\u4e0b\u964d\u3002\u5bf9\u4e8e\u6211\u4eec\u7f51\u7edc\u4e2d\u7684\u6bcf\u4e2a\u53c2\u6570\uff08\u5982\u6743\u91cd\u6216\u504f\u5dee\uff09\uff0c\u6211\u4eec\u6240\u8981\u505a\u7684\u5c31\u662f\u8ba1\u7b97\u76f8\u5bf9\u4e8e\u635f\u8017\u7684\u53c2\u6570\u7684\u5bfc\u6570\uff0c\u5e76\u5728\u76f8\u53cd\u65b9\u5411\u5fae\u8c03\u4e00\u70b9\u3002<\/p>\n

ANNs\u4f7f\u7528\u79f0\u4e3a\u53cd\u5411\u4f20\u64ad(\u6709\u60f3\u4e86\u89e3BP\u7b97\u6cd5\u7684\u53ef\u4ee5\u53c2\u8003BP\u7b97\u6cd5\u53cc\u5411\u4f20\uff0c\u94fe\u5f0f\u6c42\u5bfc\u6700\u7f20\u7ef5<\/a>)\u7684\u65b9\u6cd5\u6765\u8c03\u6574\u548c\u4f18\u5316\u7ed3\u679c\u3002\u53cd\u5411\u4f20\u64ad\u662f\u4e00\u4e2a\u4e24\u6b65\u8fc7\u7a0b\uff0c\u5176\u4e2d\u8f93\u5165\u901a\u8fc7\u6b63\u5411\u4f20\u64ad\u9988\u9001\u5230\u795e\u7ecf\u7f51\u7edc\u4e2d\uff0c\u5e76\u4e14\u5728\u901a\u8fc7\u6fc0\u6d3b\u51fd\u6570\u53d8\u6362\u4e4b\u524d\u4e0e\uff08\u6700\u521d\u968f\u673a\u7684\uff09\u6743\u91cd\u548c\u504f\u5dee\u76f8\u4e58\u3002\u4f60\u7684\u795e\u7ecf\u7f51\u7edc\u7684\u6df1\u5ea6\u5c06\u53d6\u51b3\u4e8e\u4f60\u7684\u8f93\u5165\u5e94\u8be5\u7ecf\u8fc7\u591a\u5c11\u53d8\u6362\u3002\u4e00\u65e6\u6b63\u5411\u4f20\u64ad\u5b8c\u6210\uff0c\u53cd\u5411\u4f20\u64ad\u6b65\u9aa4\u901a\u8fc7\u8ba1\u7b97\u4ea7\u751f\u8bef\u5dee\u7684\u6743\u91cd\u7684\u504f\u5bfc\u6570\u6765\u8c03\u6574\u8bef\u5dee\u3002\u4e00\u65e6\u8c03\u6574\u6743\u91cd\uff0c\u6a21\u578b\u5c06\u91cd\u590d\u6b63\u5411\u548c\u53cd\u5411\u4f20\u64ad\u6b65\u9aa4\u7684\u8fc7\u7a0b\uff0c\u4ee5\u6700\u5c0f\u5316\u8bef\u5dee\u7387\u76f4\u5230\u6536\u655b\u3002\u4e0b\u56fe\u4e2d\u4f60\u770b\u5230\u8fd9\u662f\u4e00\u4e2a\u53ea\u6709\u4e00\u4e2a\u9690\u85cf\u5c42\u7684ANN\uff0c\u6240\u4ee5\u53cd\u5411\u4f20\u64ad\u4e0d\u9700\u8981\u6267\u884c\u591a\u4e2a\u68af\u5ea6\u4e0b\u964d\u8ba1\u7b97\u3002<\/p>\n

\u5faa\u73af\u795e\u7ecf\u7f51\u7edc<\/strong><\/div>\n

\u5faa\u73af\u795e\u7ecf\u7f51\u7edc\uff08RNN\uff09\u88ab\u79f0\u4e3a\u5faa\u73af\u662f\u56e0\u4e3a\u5b83\u4eec\u5bf9\u8f93\u5165\u5e8f\u5217\u4e2d\u7684\u6240\u6709\u5143\u7d20\u6267\u884c\u76f8\u540c\u7684\u8ba1\u7b97\u3002\u7531\u4e8eRNN\u7684\u5e7f\u6cdb\u5e94\u7528\uff0cRNN\u6b63\u5728\u53d8\u5f97\u975e\u5e38\u53d7\u6b22\u8fce\u3002\u5b83\u4eec\u53ef\u4ee5\u5206\u6790\u65f6\u95f4\u5e8f\u5217\u6570\u636e\uff0c\u5982\u80a1\u7968\u4ef7\u683c\uff0c\u5e76\u63d0\u4f9b\u9884\u6d4b\u3002\u5728\u81ea\u52a8\u9a7e\u9a76\u7cfb\u7edf\u4e2d\uff0c\u4ed6\u4eec\u53ef\u4ee5\u9884\u6d4b\u6c7d\u8f66\u8f68\u8ff9\u5e76\u5e2e\u52a9\u907f\u514d\u4e8b\u6545\u3002\u4ed6\u4eec\u53ef\u4ee5\u5c06\u53e5\u5b50\uff0c\u6587\u6863\u6216\u97f3\u9891\u6837\u672c\u4f5c\u4e3a\u8f93\u5165\uff0c\u5b83\u4eec\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u7cfb\u7edf\uff0c\u5982\u81ea\u52a8\u7ffb\u8bd1\uff0c\u8bed\u97f3\u5bf9\u6587\u672c\u6216\u60c5\u611f\u5206\u6790\u3002<\/p>\n

\u4e0a\u56fe\u662fRNN\u67b6\u6784\u7684\u793a\u4f8b\uff0c\u5e76\u4e14\u6211\u4eec\u770b\u5230xt\u662f\u65f6\u95f4\u6b65\u957ft\u7684\u8f93\u5165\u3002\u4f8b\u5982\uff0cx1\u53ef\u80fd\u662f\u65f6\u95f4\u6bb51\u4e2d\u7684\u80a1\u7968\u7684\u7b2c\u4e00\u4e2a\u4ef7\u683c\u3002st\u662f\u5728\u65f6\u95f4\u6b65\u957ftn\u5904\u7684\u9690\u85cf\u72b6\u6001\uff0c\u5e76\u4e14\u4f7f\u7528\u6fc0\u6d3b\u51fd\u6570\u57fa\u4e8e\u5148\u524d\u7684\u9690\u85cf\u72b6\u6001\u548c\u5f53\u524d\u6b65\u9aa4\u7684\u8f93\u5165\u6765\u8ba1\u7b97\u3002St-1\u901a\u5e38\u88ab\u521d\u59cb\u5316\u4e3a\u96f6\u3002ot\u662f\u6b65\u9aa4t\u7684\u8f93\u51fa\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6211\u4eec\u60f3\u9884\u6d4b\u5e8f\u5217\u4e2d\u7684\u4e0b\u4e00\u4e2a\u503c\uff0c\u90a3\u4e48\u5b83\u5c06\u662f\u6211\u4eec\u65f6\u95f4\u5e8f\u5217\u4e2d\u6982\u7387\u7684\u5411\u91cf\u3002<\/p>\n

RNN\u9690\u85cf\u5c42\u7684\u6210\u957f\u662f\u4f9d\u8d56\u4e8e\u5148\u524d\u8f93\u5165\u7684\u9690\u85cf\u72b6\u6001\u6216\u8bb0\u5fc6\uff0c\u6355\u83b7\u5230\u76ee\u524d\u4e3a\u6b62\u6240\u770b\u5230\u7684\u5185\u5bb9\u3002\u4efb\u4f55\u65f6\u95f4\u70b9\u7684\u9690\u85cf\u72b6\u6001\u7684\u503c\u90fd\u662f\u524d\u4e00\u65f6\u95f4\u6b65\u9aa4\u4e2d\u7684\u9690\u85cf\u72b6\u6001\u503c\u548c\u5f53\u524d\u65f6\u95f4\u7684\u8f93\u5165\u503c\u8fdb\u884c\u51fd\u6570\u8ba1\u7b97\u7684\u7ed3\u679c\u3002RNN\u5177\u6709\u4e0eANN\u4e0d\u540c\u7684\u7ed3\u6784\uff0c\u5e76\u4e14\u901a\u8fc7\u65f6\u95f4\uff08BPTT\uff09\u4f7f\u7528\u53cd\u5411\u4f20\u64ad\u6765\u8ba1\u7b97\u6bcf\u6b21\u8fed\u4ee3\u4e4b\u540e\u7684\u68af\u5ea6\u4e0b\u964d\u3002<\/p>\n

\u4e00\u4e2a\u5c0f\u4f8b\u5b50<\/strong><\/div>\n

\u6b64\u793a\u4f8b\u4f7f\u75283\u4e2a\u8282\u70b9\u7684\u5c0f\u578bMapR\u7fa4\u96c6\u5b8c\u6210\u3002\u6b64\u793a\u4f8b\u5c06\u4f7f\u7528\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n