{"id":1592,"date":"2019-01-03T21:34:15","date_gmt":"2019-01-03T21:34:15","guid":{"rendered":"http:\/\/demensdeum.com\/blog\/?p=1592"},"modified":"2024-12-16T22:32:40","modified_gmt":"2024-12-16T19:32:40","slug":"prophet","status":"publish","type":"post","link":"https:\/\/demensdeum.com\/blog\/zh\/2019\/01\/03\/prophet\/","title":{"rendered":"\u50cf\u7c73\u6b47\u5c14\u4e00\u6837\u98a4\u6296"},"content":{"rendered":"<p>[<a rel=\"noreferrer noopener\" aria-label=\"\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/translate.google.ru\/translate?sl=ru&amp;tl=en&amp;u= https%3A%2F%2Fdemensdeum.com%2Fblog%2F2019%2F01%2F03%2Fprophet%2F\" target=\"_blank\">\u611f\u53d7\u4eba\u5de5\u667a\u80fd\u7684\u529b\u91cf<\/a>]<br \/>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u544a\u8bc9\u60a8\u5982\u4f55<strong>\u9884\u6d4b\u672a\u6765<\/strong>\u3002<\/p>\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"427\" src=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2019\/03\/kim.jpg\" alt=\"\" class=\"wp-image-1640\" srcset=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2019\/03\/kim.jpg 470w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2019\/03\/kim-300x273.jpg 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n<p>\u5728\u7edf\u8ba1\u5b66\u4e2d\u6709\u4e00\u7c7b\u95ee\u9898&#8211;\u65f6\u95f4\u5e8f\u5217\u5206\u6790\u3002\u6709\u4e86\u67d0\u4e2a\u53d8\u91cf\u7684\u65e5\u671f\u548c\u503c\uff0c\u60a8\u5c31\u53ef\u4ee5\u9884\u6d4b\u8be5\u53d8\u91cf\u5c06\u6765\u7684\u503c\u3002<br \/>\u8d77\u521d\u6211\u60f3\u4f7f\u7528 <a rel=\"noreferrer noopener\" aria-label= \u5b9e\u73b0\u6b64\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848\u201cTensorFlow\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\u201d href= \"https:\/\/www.tensorflow.org\/\" target=\"_blank\">TensorFlow<\/a>\uff0c\u4f46\u627e\u5230\u4e86\u5e93 <a rel=\"noreferrer noopener\" aria-label=\"Prophet (opens in a new tab)\" href=\"https:\/\/github.com\/facebook\/prophet\" target=\"_blank\">Prophet<\/a> by <a rel=\"noreferrer noopener\" aria -label=\"Facebook\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/i.redd.it\/vrkjvgso70101.jpg\" target=\"_blank\">Facebook<\/a>\u3002<br \/><a rel=\"noreferrer noopener\" aria-label=\"Prophet\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/github.com\/facebook\/ Prophet\" target=\"_blank\">Prophet<\/a> \u5141\u8bb8\u60a8\u6839\u636e\u5305\u542b\u65e5\u671f (ds) \u548c\u53d8\u91cf\u503c (y) \u5217\u7684\u6570\u636e (csv) \u8fdb\u884c\u9884\u6d4b\u3002\u60a8\u53ef\u4ee5\u5728\u5b98\u65b9\u7f51\u7ad9\u6587\u6863\u4e2d\u7684 <a rel=\"noreferrer noopener\" aria-label=\"Quick Start (opens in a new tab)\" href=\"https:\/\/facebook \u90e8\u5206\u4e86\u89e3\u5982\u4f55\u4f7f\u7528\u5b83.github.io\/prophet\/docs\/quick_start.html\" target=\"_blank\">\u5feb\u901f\u5165\u95e8<\/a><br \/>\u4f5c\u4e3a\u6570\u636e\u96c6\uff0c\u6211\u4f7f\u7528\u4e86\u4ece\u7f51\u7ad9\u4e0a\u4f20\u7684 csv <a rel=\"noreferrer\" noopener\" href=\"https:\/\/www.investing.com\" target=\"_blank\">https:\/\/www.investing.com<\/a>\uff0c\u5728\u5b9e\u73b0\u65f6\u6211\u4f7f\u7528\u4e86 <a rel=\"noreferrer noopener\" aria-label =\"R \u8bed\u8a00\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/www.r-project.org\/\" target=\"_blank\">R \u8bed\u8a00<\/a> \u548c <a rel=\"noreferrer\" noopener\" aria-label=\"Prophet API\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"http:\/\/facebook.github.io\/prophet\/docs\/quick_start.html#r-api\" target=\"_blank\">Prophet API <\/a> \u5bf9\u4ed6\u6765\u8bf4\u3002\u6211\u771f\u7684\u5f88\u559c\u6b22 R\uff0c\u56e0\u4e3a\u5b83\u7684\u8bed\u6cd5\u7b80\u5316\u4e86\u5bf9\u5927\u91cf\u6570\u636e\u7684\u5904\u7406\uff0c\u5141\u8bb8\u60a8\u7f16\u5199\u66f4\u7b80\u5355\uff0c\u5e76\u4e14\u6bd4\u4f7f\u7528\u4f20\u7edf\u8bed\u8a00\uff08Python\uff09\u65f6\u72af\u7684\u9519\u8bef\u66f4\u5c11\uff0c\u56e0\u4e3a\u60a8\u5fc5\u987b\u4f7f\u7528 lambda \u8868\u8fbe\u5f0f\uff0c\u5e76\u4e14\u5728 R \u4e2d\uff0c\u60a8\u5df2\u7ecf\u62e5\u6709\u6240\u6709 lambda \u8868\u8fbe\u5f0f\u3002<br \/>\u4e3a\u4e86\u4e0d\u51c6\u5907\u8981\u5904\u7406\u7684\u6570\u636e\uff0c\u6211\u4f7f\u7528\u4e86\u5305 <a rel=\"noreferrer noopener\" aria-label=\"anytime (opens in a new tab)\" href=\"http:\/\/dirk.eddelbuettel.com\/code\/anytime.html\" target=\"_blank\">anytime<\/a>\uff0c\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u65e5\u671f\uff0c\u65e0\u9700\u9884\u5904\u7406\u3002\u4f7f\u7528 <a rel=\"noreferrer noopener\" href=\"https:\/\/cran.r-project.org\/web\/packages\/readr\/index.html\" target=\"_blank\">readr \u5305\u5c06\u8d27\u5e01\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57<\/a><\/p>\n<p>\u7ed3\u679c\uff0c\u6211\u6536\u5230\u9884\u6d4b\uff0c\u5230 2019 \u5e74\u5e95\uff0c\u6bd4\u7279\u5e01\u7684\u4ef7\u683c\u5c06\u8fbe\u5230 8,400 \u7f8e\u5143\uff0c\u7f8e\u5143\u6c47\u7387\u5c06\u4e3a 61 \u5362\u5e03\u3002\u6211\u4eec\u5e94\u8be5\u76f8\u4fe1\u8fd9\u4e9b\u9884\u6d4b\u5417\uff1f\u5c31\u6211\u4e2a\u4eba\u800c\u8a00\uff0c\u6211\u8ba4\u4e3a\u4e0d\u503c\u5f97\uff0c\u56e0\u4e3a&#8230; <a rel=\"noreferrer noopener\" aria-label=\"\u5982\u679c\u4e0d\u4e86\u89e3\u6570\u5b66\u65b9\u6cd5\u7684\u672c\u8d28\uff0c\u5c31\u4e0d\u80fd\u4f7f\u7528\u6570\u5b66\u65b9\u6cd5\u3002\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/www.anekdot.ru\/id\/610726\/\" target =\"_blank\">\u5982\u679c\u4e0d\u4e86\u89e3\u6570\u5b66\u65b9\u6cd5\u7684\u672c\u8d28\uff0c\u5c31\u65e0\u6cd5\u4f7f\u7528\u6570\u5b66\u65b9\u6cd5\u3002<\/a><\/p>\n<h3 class=\"wp-block-heading\">\u6765\u6e90<\/h3>\n<p><a rel=\"noreferrer noopener\" aria-label=\"\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/facebook.github.io\/prophet\/\" target=\"_blank\">https:\/\/ facebook.github.io\/prophet<\/a><br \/><a rel=\"noreferrer noopener\" aria-label=\"https:\/\/habr.com\/company\/ods\/blog\/323730\/ \uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/habr.com\/company\/ods\/blog\/323730\/\" target=\"_blank\">https:\/\/habr.com\/company\/ods\/blog\/323730\/ <\/a><br \/><a rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.r-project.org\/\uff08\u5728\u65b0\u9009\u9879\u5361\u4e2d\u6253\u5f00\uff09\" href=\"https:\/\/www.r-project.org\/\" target=\"_blank\">https:\/\/www.r-project.org\/<\/a><\/p>\n<h3 class=\"wp-block-heading\">\u6e90\u4ee3\u7801<\/h3>\n<p><a href=\"https:\/\/gitlab.com\/demensdeum\/MachineLearning\/tree\/master\/4prophet\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/gitlab.com\/ demensdeum\/MachineLearning\/tree\/master\/4prophet\uff08\u5728\u65b0\u7a97\u53e3\u4e2d\u6253\u5f00\u9009\u9879\u5361\uff09\">https:\/\/gitlab.com\/demensdeum\/MachineLearning\/tree\/master\/4prophet<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u611f\u53d7\u4eba\u5de5\u667a\u80fd\u7684\u529b\u91cf]\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u544a\u8bc9\u60a8\u5982\u4f55\u9884\u6d4b\u672a\u6765\u3002 \u5728\u7edf\u8ba1\u5b66\u4e2d\u6709\u4e00\u7c7b\u95ee\u9898&#8211;\u65f6\u95f4\u5e8f\u5217\u5206\u6790\u3002\u6709\u4e86\u67d0\u4e2a\u53d8\u91cf\u7684\u65e5\u671f\u548c\u503c\uff0c\u60a8\u5c31\u53ef\u4ee5\u9884\u6d4b\u8be5\u53d8\u91cf\u5c06\u6765\u7684\u503c\u3002\u8d77\u521d\u6211\u60f3\u4f7f\u7528 TensorFlow\uff0c\u4f46\u627e\u5230\u4e86\u5e93 Prophet by Facebook\u3002Prophet \u5141\u8bb8\u60a8\u6839\u636e\u5305\u542b\u65e5\u671f (ds) \u548c\u53d8\u91cf\u503c (y) \u5217\u7684\u6570\u636e (csv) \u8fdb\u884c\u9884\u6d4b\u3002\u60a8\u53ef\u4ee5\u5728\u5b98\u65b9\u7f51\u7ad9\u6587\u6863\u4e2d\u7684 \u5feb\u901f\u5165\u95e8\u4f5c\u4e3a\u6570\u636e\u96c6\uff0c\u6211\u4f7f\u7528\u4e86\u4ece\u7f51\u7ad9\u4e0a\u4f20\u7684 csv Prophet API \u5bf9\u4ed6\u6765\u8bf4\u3002\u6211\u771f\u7684\u5f88\u559c\u6b22 R\uff0c\u56e0\u4e3a\u5b83\u7684\u8bed\u6cd5\u7b80\u5316\u4e86\u5bf9\u5927\u91cf\u6570\u636e\u7684\u5904\u7406\uff0c\u5141\u8bb8\u60a8\u7f16\u5199\u66f4\u7b80\u5355\uff0c\u5e76\u4e14\u6bd4\u4f7f\u7528\u4f20\u7edf\u8bed\u8a00\uff08Python\uff09\u65f6\u72af\u7684\u9519\u8bef\u66f4\u5c11\uff0c\u56e0\u4e3a\u60a8\u5fc5\u987b\u4f7f\u7528 lambda \u8868\u8fbe\u5f0f\uff0c\u5e76\u4e14\u5728 R \u4e2d\uff0c\u60a8\u5df2\u7ecf\u62e5\u6709\u6240\u6709 lambda \u8868\u8fbe\u5f0f\u3002\u4e3a\u4e86\u4e0d\u51c6\u5907\u8981\u5904\u7406\u7684\u6570\u636e\uff0c\u6211\u4f7f\u7528\u4e86\u5305 anytime\uff0c\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u65e5\u671f\uff0c\u65e0\u9700\u9884\u5904\u7406\u3002\u4f7f\u7528 readr \u5305\u5c06\u8d27\u5e01\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57 \u7ed3\u679c\uff0c\u6211\u6536\u5230\u9884\u6d4b\uff0c\u5230 2019 \u5e74\u5e95\uff0c\u6bd4\u7279\u5e01\u7684\u4ef7\u683c\u5c06\u8fbe\u5230 8,400 \u7f8e\u5143\uff0c\u7f8e\u5143\u6c47\u7387\u5c06\u4e3a 61 \u5362\u5e03\u3002\u6211\u4eec\u5e94\u8be5\u76f8\u4fe1\u8fd9\u4e9b\u9884\u6d4b\u5417\uff1f\u5c31\u6211\u4e2a\u4eba\u800c\u8a00\uff0c\u6211\u8ba4\u4e3a\u4e0d\u503c\u5f97\uff0c\u56e0\u4e3a&#8230; \u5982\u679c\u4e0d\u4e86\u89e3\u6570\u5b66\u65b9\u6cd5\u7684\u672c\u8d28\uff0c\u5c31\u65e0\u6cd5\u4f7f\u7528\u6570\u5b66\u65b9\u6cd5\u3002 \u6765\u6e90 https:\/\/ facebook.github.io\/prophethttps:\/\/habr.com\/company\/ods\/blog\/323730\/ https:\/\/www.r-project.org\/ \u6e90\u4ee3\u7801 https:\/\/gitlab.com\/demensdeum\/MachineLearning\/tree\/master\/4prophet<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[61,52],"tags":[],"class_list":["post-1592","post","type-post","status-publish","format-standard","hentry","category-techie","category-tutorials","entry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"zh","enabled_languages":["en","ru","zh","de","fr","ja","pt","hi"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"ru":{"title":true,"content":true,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false},"de":{"title":true,"content":true,"excerpt":false},"fr":{"title":true,"content":true,"excerpt":false},"ja":{"title":true,"content":true,"excerpt":false},"pt":{"title":true,"content":true,"excerpt":false},"hi":{"title":false,"content":false,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/posts\/1592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/comments?post=1592"}],"version-history":[{"count":15,"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/posts\/1592\/revisions"}],"predecessor-version":[{"id":3967,"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/posts\/1592\/revisions\/3967"}],"wp:attachment":[{"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/media?parent=1592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/categories?post=1592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/zh\/wp-json\/wp\/v2\/tags?post=1592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}