{"id":61,"date":"2017-01-23T15:13:47","date_gmt":"2017-01-23T12:13:47","guid":{"rendered":"http:\/\/dev.content-analysis.ru\/?p=61"},"modified":"2017-01-23T15:13:47","modified_gmt":"2017-01-23T12:13:47","slug":"%d0%bf%d0%b0%d1%80%d0%bd%d0%b0%d1%8f-%d1%80%d0%b5%d0%b3%d1%80%d0%b5%d1%81%d1%81%d0%b8%d1%8f-%d0%bf%d0%b0%d1%80%d0%b0%d0%b1%d0%be%d0%bb%d1%8b-%d0%b2%d1%82%d0%be%d1%80%d0%be%d0%b3%d0%be-%d1%82%d1%80","status":"publish","type":"post","link":"http:\/\/dev.content-analysis.ru\/?p=61","title":{"rendered":"\u041f\u0430\u0440\u043d\u0430\u044f \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f &#8212; \u043f\u0430\u0440\u0430\u0431\u043e\u043b\u044b \u0432\u0442\u043e\u0440\u043e\u0433\u043e, \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u0438 \u043f\u0440 \u043f\u043e\u0440\u044f\u0434\u043a\u0430"},"content":{"rendered":"<p>\u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e &#8212; \u043f\u0430\u0440\u043d\u0443\u044e \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e n-\u043f\u043e\u0440\u044f\u0434\u043a\u0430. \u041a\u043b\u0430\u0441\u0441 <a href=\"https:\/\/github.com\/aryumin86\/MachineLearningLib\/blob\/master\/MachineLearningLib\/NOrderSimpleParabolaRegression.cs\" target=\"_blank\">\u0412\u041e\u0422 \u0422\u0423\u0422<\/a>. \u0424\u043e\u0440\u043c\u0430\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0439 \u0436\u0435, \u043a\u0430\u043a \u0438 \u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0439. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\nMatrix mParabolaRegression = Matrix.GetMatrixFromTXT(&quot;data\\\\parabola_regression.txt&quot;, '\\t');\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 NOrderSimpleParabolaRegression nospr = new NOrderSimpleParabolaRegression();\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Matrix z = nospr.GetRegressionCoefficients(mParabolaRegression, 2);\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 double yVal = nospr.GetYForVectorX(z, 84.0);\r\n<\/pre>\n<p>GetMatrixFromTXT &#8212; \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0438\u0437 \u0444\u0430\u0439\u043b\u0430. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u0430\u0440\u043d\u043e\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u043f\u0430\u0440\u0430\u0431\u043e\u043b\u044b n-\u043f\u043e\u0440\u044f\u0434\u043a\u0430.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0443\u043b\u044b \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 y: y = a + bx + cx^2<\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c y \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0438\u043a\u0442\u043e\u0440\u0430 x:<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\ndouble yVal = nospr.GetYForVectorX(z, 84.0);\r\n<\/pre>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0438\u0449\u0435\u043c y \u0434\u043b\u044f x = 84.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e &#8212; \u043f\u0430\u0440\u043d\u0443\u044e \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e n-\u043f\u043e\u0440\u044f\u0434\u043a\u0430. \u041a\u043b\u0430\u0441\u0441 \u0412\u041e\u0422 \u0422\u0423\u0422. \u0424\u043e\u0440\u043c\u0430\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0439 \u0436\u0435, \u043a\u0430\u043a \u0438 \u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0439. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440: GetMatrixFromTXT &#8212; \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0438\u0437 \u0444\u0430\u0439\u043b\u0430. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c &hellip; <a href=\"http:\/\/dev.content-analysis.ru\/?p=61\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5,4,7,2],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-1","tag-machine-learning","tag-4","tag-7","tag-2"],"_links":{"self":[{"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=61"}],"version-history":[{"count":2,"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":63,"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions\/63"}],"wp:attachment":[{"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.content-analysis.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}