{"id":342462,"date":"2022-12-12T15:01:05","date_gmt":"2022-12-12T15:01:05","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=342462"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=342462","title":{"rendered":"<span>\u041f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 2022 FIFA \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u043d\u0430 Python<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/704570\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/nn\/z2\/7b\/nnz27bl30njdju-ni7dsrvszq7y.png\" data-src=\"https:\/\/habrastorage.org\/webt\/nn\/z2\/7b\/nnz27bl30njdju-ni7dsrvszq7y.png\"\/><\/div>\n<p><\/a><br \/>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043b\u044e\u0434\u0438 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043c\u0435\u043d\u044f) \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0444\u0443\u0442\u0431\u043e\u043b \u00ab\u043d\u0435\u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u0439 \u0438\u0433\u0440\u043e\u0439\u00bb, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u043c \u043c\u0430\u0442\u0447\u0435 \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u0432, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u0445 \u043d\u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0447\u0451\u0442. \u0418 \u044d\u0442\u043e \u0432\u0435\u0440\u043d\u043e\u2026 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438.<\/p>\n<p>  \u0421\u043b\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0447\u0451\u0442 \u0438\u043b\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u043c\u0430\u0442\u0447\u0430, \u043e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438 \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u0432 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f\u0445 \u0432\u0441\u0451 \u043d\u0435 \u0442\u0430\u043a. \u0417\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u044f\u0442\u044c \u043b\u0435\u0442 \u00ab\u0411\u0430\u0432\u0430\u0440\u0438\u044f\u00bb \u0432\u044b\u0438\u0433\u0440\u0430\u043b\u0430 \u0432\u0441\u0435 \u0411\u0443\u043d\u0434\u0435\u0441\u043b\u0438\u0433\u0438, \u0430 \u00ab\u041c\u0430\u043d\u0447\u0435\u0441\u0442\u0435\u0440 \u0421\u0438\u0442\u0438\u00bb \u0432\u044b\u0438\u0433\u0440\u0430\u043b 4 \u041f\u0440\u0435\u043c\u044c\u0435\u0440-\u043b\u0438\u0433\u0438.<\/p>\n<p>  \u0421\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435? \u041d\u0435 \u0434\u0443\u043c\u0430\u044e.<\/p>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0441\u0435\u0437\u043e\u043d\u0430 20-21 \u0433\u043e\u0434\u043e\u0432 <a href=\"https:\/\/medium.datadriveninvestor.com\/can-we-beat-the-bookies-predicting-football-games-with-a-simple-model-43fe020fb384\">\u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f<\/a> \u041f\u0440\u0435\u043c\u044c\u0435\u0440-\u043b\u0438\u0433\u0438, \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u0418\u0441\u043f\u0430\u043d\u0438\u0438, \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u0418\u0442\u0430\u043b\u0438\u0438 \u0438 \u0411\u0443\u043d\u0434\u0435\u0441\u043b\u0438\u0433\u0438, \u0438 \u043e\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0432\u0441\u0435\u0445 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>  \u041f\u0440\u043e\u0433\u043d\u043e\u0437 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u044b\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0441\u044b\u0433\u0440\u0430\u043d\u043e \u0443\u0436\u0435 19 \u043c\u0430\u0442\u0447\u0435\u0439. \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0437\u0430\u043f\u0443\u0449\u0443 \u0442\u0443 \u0436\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 2022.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Python (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043a\u043e\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u0437 <a href=\"https:\/\/youtu.be\/anEoBZkZRHA\">\u043c\u043e\u0435\u0433\u043e \u0447\u0430\u0441\u043e\u0432\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e\u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430<\/a>).<\/p>\n<blockquote><p><b><font color=\"#3AC1EF\">\u041f\u0440\u0438\u043c. \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430:<\/font><\/b> \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0427\u041c \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u0430\u044f \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u043c\u0430\u0445\u043e\u0432. \u041e\u0434\u043d\u0430\u043a\u043e \u043c\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u043d\u0430 \u0438\u043c\u0435\u0435\u0442 \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c \u0435\u0451 \u0437\u0434\u0435\u0441\u044c.<\/p><\/blockquote>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u041a\u0430\u043a \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0430\u0442\u0447\u0438?<\/font><\/h2>\n<p>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u043e\u0432. \u042f \u043c\u043e\u0433\u0443 \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0435\u0439 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u043e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439, \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u0430\u0442\u044c \u0448\u0430\u043d\u0441 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430.<\/p>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f.<\/p>\n<blockquote><p>\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430 \u2014 \u044d\u0442\u043e \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0435 \u0438\u043b\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/p><\/blockquote>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0433\u043e\u043b \u043a\u0430\u043a \u0441\u043e\u0431\u044b\u0442\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0442\u0438 \u0437\u0430 90 \u043c\u0438\u043d\u0443\u0442 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0447\u0430, \u0442\u043e \u0441\u043c\u043e\u0436\u0435\u043c \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u043e\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0431\u0438\u0442\u044b \u0432 \u043c\u0430\u0442\u0447\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0410 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0411.<\/p>\n<p>  \u041d\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041d\u0430\u043c \u0435\u0449\u0451 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u044f\u043c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430.  <\/p>\n<ol>\n<li>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u0430\u0442\u044c (\u0432 \u043c\u0430\u0442\u0447\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c 1, 2, 3 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0433\u043e\u043b\u043e\u0432).<\/li>\n<li>\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430 (\u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0433\u043e\u043b\u0430 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0433\u043e).<\/li>\n<li>\u0427\u0430\u0441\u0442\u043e\u0442\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430 (\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0433\u043e\u043b \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0431\u0438\u0442 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0442\u043e\u0439 \u0436\u0435 \u0434\u043b\u0438\u043d\u044b).<\/li>\n<li>\u0414\u0432\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0442\u0438 \u0442\u043e\u0447\u043d\u043e \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 (\u0434\u0432\u0430 \u0433\u043e\u043b\u0430 \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0442\u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e).<\/li>\n<\/ol>\n<p>\u0414\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u044f 1 \u0438 4 \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u044e\u0442\u0441\u044f, \u043e\u0434\u043d\u0430\u043a\u043e 2 \u0438 3 \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u044b \u043b\u0438\u0448\u044c \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u044f 2 \u0438 3 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u0442\u0438\u043d\u043d\u044b.<\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u0435\u0432\u0440\u043e\u043f\u0435\u0439\u0441\u043a\u0438\u0445 \u0447\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u043e\u0432, \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u043e\u043b\u043e\u0432 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043c\u0430\u0442\u0447\u0435 \u043d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043f\u044f\u0442\u0438 \u043b\u0435\u0442 \u0434\u043b\u044f \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0447\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u043e\u0432.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/dg\/ff\/sk\/dgffskjyxec0h5m5ch_rvq0salq.png\" data-src=\"https:\/\/habrastorage.org\/webt\/dg\/ff\/sk\/dgffskjyxec0h5m5ch_rvq0salq.png\"\/><\/div>\n<p><i><font color=\"#999999\">\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u043e\u043b\u043e\u0432 \u0432 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0447\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430\u0445<\/font><\/i><\/p>\n<p>  \u0410\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u043a\u0440\u0438\u0432\u0430\u044f \u0432\u0441\u0435\u0445 \u0447\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u043e\u0432 \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430.<\/p>\n<p>  \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0438\u0439\u0442\u0438 \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u043e\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0431\u0438\u0442\u044b \u0432 \u043c\u0430\u0442\u0447\u0435.<\/p>\n<p>  \u0412\u043e\u0442 \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/hj\/le\/2c\/hjle2ce8j3hwgehl9hvtkx1lg1c.png\" data-src=\"https:\/\/habrastorage.org\/webt\/hj\/le\/2c\/hjle2ce8j3hwgehl9hvtkx1lg1c.png\"\/><\/div>\n<p>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u043e\u0432 \u044f \u0443\u0447\u0451\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0430\u0441\u043f\u0435\u043a\u0442\u044b:  <\/p>\n<ul>\n<li><strong><font color=\"#3AC1EF\">lambda<\/font><\/strong>: \u043c\u0435\u0434\u0438\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0433\u043e\u043b\u043e\u0432 \u0437\u0430 90 \u043c\u0438\u043d\u0443\u0442 (\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0410 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0411),<\/li>\n<li><strong><font color=\"#3AC1EF\">x<\/font><\/strong>: \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u043b\u043e\u0432 \u0432 \u043c\u0430\u0442\u0447\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u0431\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0410 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0411.<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f <code>lambda<\/code> \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u043b\u043e\u0432, \u0437\u0430\u0431\u0438\u0442\u044b\u0445\/\u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439. \u042d\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u0441 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u0443\u043d\u043a\u0442\u0443.<\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u0413\u043e\u043b\u044b \u0437\u0430\u0431\u0438\u0442\u044b\u0435\/\u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/font><\/h2>\n<p>  <a href=\"https:\/\/medium.com\/geekculture\/web-scraping-football-matches-from-the-world-cups-1930-to-2022-with-python-d2a1d578f034\">\u0421\u043e\u0431\u0440\u0430\u0432 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e \u0432\u0441\u0435\u0445 \u043c\u0430\u0442\u0447\u0435\u0439 \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430, \u0441\u044b\u0433\u0440\u0430\u043d\u043d\u044b\u0445 \u0441 1930 \u043f\u043e 2018 \u0433\u043e\u0434<\/a>, \u044f \u0441\u043c\u043e\u0433 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u043b\u043e\u0432, \u0437\u0430\u0431\u0438\u0442\u044b\u0445 \u0438 \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u044b.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/8a\/ut\/0c\/8aut0ckckbdo2fudhu6f8drkyqi.png\" data-src=\"https:\/\/habrastorage.org\/webt\/8a\/ut\/0c\/8aut0ckckbdo2fudhu6f8drkyqi.png\"\/><\/div>\n<p>  \u0412 \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0435, \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u043e\u043c \u0434\u043b\u044f \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0435\u0432\u0440\u043e\u043f\u0435\u0439\u0441\u043a\u0438\u0445 \u0447\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u043e\u0432, \u044f \u0443\u0447\u0451\u043b \u0444\u0430\u043a\u0442\u043e\u0440 \u0438\u0433\u0440\u044b \u0434\u043e\u043c\u0430\/\u0432 \u0433\u043e\u0441\u0442\u044f\u0445, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0430 \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0435 \u043c\u0438\u0440\u0430 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0433\u0440\u0430\u044e\u0442 \u043d\u0430 \u043d\u0435\u0439\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0442\u0430\u0434\u0438\u043e\u043d\u0435, \u0432 \u044d\u0442\u043e\u043c \u0430\u043d\u0430\u043b\u0438\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u043a\u0442\u043e\u0440 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u043b\u0441\u044f.<\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u043b\u043e\u0432, \u0437\u0430\u0431\u0438\u0442\u044b\u0445\/\u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u044b, \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0447\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435.<\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u041f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430<\/font><\/h2>\n<p>  \u041d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043a\u043e\u0434, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043d\u043e\u0439 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043e\u0447\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u044b \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0443\u0433\u0430\u044e\u0449\u0435, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u044d\u0442\u043e\u043c \u043a\u043e\u0434\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e\u0435 \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044b\u0448\u0435.<\/p>\n<pre><code class=\"python\">def predict_points(home, away):     if home in df_team_strength.index and away in df_team_strength.index:         lamb_home = df_team_strength.at[home,'GoalsScored'] * df_team_strength.at[away,'GoalsConceded']         lamb_away = df_team_strength.at[away,'GoalsScored'] * df_team_strength.at[home,'GoalsConceded']         prob_home, prob_away, prob_draw = 0, 0, 0         for x in range(0,11): #\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u043b\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0445\u043e\u0437\u044f\u0435\u0432             for y in range(0, 11): #\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u043b\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0433\u043e\u0441\u0442\u0435\u0439                 p = poisson.pmf(x, lamb_home) * poisson.pmf(y, lamb_away)                 if x == y:                     prob_draw += p                 elif x > y:                     prob_home += p                 else:                     prob_away += p                  points_home = 3 * prob_home + prob_draw         points_away = 3 * prob_away + prob_draw         return (points_home, points_away)     else:         return (0, 0)<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c, <code>predict_points<\/code> \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0447\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0438\u0433\u0440\u0430\u044e\u0449\u0438\u0435 \u0434\u043e\u043c\u0430 \u0438 \u0432 \u0433\u043e\u0441\u0442\u044f\u0445. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0445, \u044f \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e <code>lambda<\/code> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 <code>average_goals_scored * average_goals_conceded<\/code>.<\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c \u044f \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u0443\u044e \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043c\u0430\u0442\u0447\u0430 \u043e\u0442 0-0 \u0434\u043e 10-10 (\u044d\u0442\u043e\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0441\u0447\u0451\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0435\u043b\u043e\u043c \u043c\u043e\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430 \u0433\u043e\u043b\u043e\u0432). \u041f\u043e\u043b\u0443\u0447\u0438\u0432 <code>lambda<\/code> \u0438 <code>x<\/code>, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f <code>p<\/code>.<\/p>\n<p>  <code>prob_home<\/code>, <code>prob_draw<\/code> \u0438 <code>prob_away<\/code> \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>p<\/code>, \u0435\u0441\u043b\u0438, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u043c\u0430\u0442\u0447 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e \u0441\u0447\u0451\u0442\u043e\u043c 1-0 (\u0432\u044b\u0438\u0433\u0440\u0430\u043b\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0445\u043e\u0437\u044f\u0435\u0432), 1-1 (\u043d\u0438\u0447\u044c\u044f) \u0438\u043b\u0438 0-1 (\u0432\u044b\u0438\u0433\u0440\u0430\u043b\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0433\u043e\u0441\u0442\u0435\u0439). \u0417\u0430\u0442\u0435\u043c \u043f\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043d\u0438\u0436\u0435 \u0444\u043e\u0440\u043c\u0443\u043b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442.<\/p>\n<pre><code class=\"python\">points_home = 3 * prob_home + prob_draw points_away = 3 * prob_away + prob_draw<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <code>predict_points<\/code> \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0430\u0442\u0447\u0430 \u0410\u043d\u0433\u043b\u0438\u0438 \u043f\u0440\u043e\u0442\u0438\u0432 \u0421\u0428\u0410, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435.<\/p>\n<pre><code class=\"python\">>>> predict_points('England', 'United States') (2.2356147635326007, 0.5922397535606193)<\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0410\u043d\u0433\u043b\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442 2,23 \u043e\u0447\u043a\u0430, \u0430 \u0421\u0428\u0410 \u2014 0,59. \u042f \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0435 \u0434\u0440\u043e\u0431\u0438, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>predict_points<\/code> \u043a\u043e \u0432\u0441\u0435\u043c \u043c\u0430\u0442\u0447\u0430\u043c \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043f\u0435\u0440\u0432\u043e\u0435 \u0438 \u0432\u0442\u043e\u0440\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u0430\u0442\u0447\u0438 \u043f\u043b\u0435\u0439-\u043e\u0444\u0444.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/tk\/77\/an\/tk77andty3cycrlz2urr6d9y-d0.png\" data-src=\"https:\/\/habrastorage.org\/webt\/tk\/77\/an\/tk77andty3cycrlz2urr6d9y-d0.png\"\/><\/div>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u041f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043b\u0435\u0439-\u043e\u0444\u0444\u043e\u0432<\/font><\/h2>\n<p>  \u0412 \u043f\u043b\u0435\u0439-\u043e\u0444\u0444\u0430\u0445 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u043e\u0447\u043a\u0438, \u0430 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043c\u0430\u0442\u0447\u0435\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043d\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>get_winner<\/code> \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>predict_points<\/code>.<\/p>\n<pre><code class=\"python\">def get_winner(df_fixture_updated):     for index, row in df_fixture_updated.iterrows():         home, away = row['home'], row['away']         points_home, points_away = predict_points(home, away)         if points_home > points_away:             winner = home         else:             winner = away         df_fixture_updated.loc[index, 'winner'] = winner     return df_fixture_updated<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 <code>points_home<\/code> \u0431\u043e\u043b\u044c\u0448\u0435 <code>points_away<\/code>, \u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u043c \u0441\u0442\u0430\u043b\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0445\u043e\u0437\u044f\u0435\u0432, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2014 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0433\u043e\u0441\u0442\u0435\u0439.<\/p>\n<p>  \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>get_winner<\/code> \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0442\u0443\u0440\u043d\u0438\u0440\u043d\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/na\/op\/w6\/naopw6dq6ley_hciha3s_cmnsfo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/na\/op\/w6\/naopw6dq6ley_hciha3s_cmnsfo.png\"\/><\/div>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u258d \u041f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044c\u0444\u0438\u043d\u0430\u043b\u0430, \u043f\u043e\u043b\u0443\u0444\u0438\u043d\u0430\u043b\u0430 \u0438 \u0444\u0438\u043d\u0430\u043b\u0430<\/font><\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u044f \u0441\u043d\u043e\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e <code>get_winner<\/code>, \u0442\u043e \u0441\u043c\u043e\u0433\u0443 \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430. \u0418 \u0432\u043e\u0442 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442!<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/c3\/d2\/ac\/c3d2achv6j6t0fbpm5x1w7wewdw.png\" data-src=\"https:\/\/habrastorage.org\/webt\/c3\/d2\/ac\/c3d2achv6j6t0fbpm5x1w7wewdw.png\"\/><\/div>\n<p>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0435\u0449\u0451 \u0440\u0430\u0437, \u044f \u0432\u044b\u044f\u0441\u043d\u0438\u043b, \u0447\u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u043c \u0431\u0443\u0434\u0435\u0442\u2026<\/p>\n<blockquote><p>\u0411\u0440\u0430\u0437\u0438\u043b\u0438\u044f!<\/p><\/blockquote>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0451! \u0412\u043e\u0442 \u0442\u0430\u043a \u044f \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 2022 \u0433\u043e\u0434\u0430 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Python \u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u041f\u0443\u0430\u0441\u0441\u043e\u043d\u0430. \u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 <a href=\"https:\/\/github.com\/ifrankandrade?tab=repositories\">GitHub<\/a>. \u0422\u0430\u043a\u0436\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u0443\u0447\u0438\u0442\u044c <a href=\"https:\/\/frank-andrade.medium.com\/list\/python-project-fifa-world-cup-2022-prediction-85426e7c421c\">\u043c\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0430 Medium<\/a> \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0441\u0442\u0430\u0442\u044c\u044f\u043c\u0438, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u043c\u0438\u0441\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u043d\u0430 Python.<\/p>\n<p>  <a href=\"http:\/\/ruvds.com\/ru-rub?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=ru_vds&amp;utm_content=prognoziruem_rezultaty_chempionata_mira_2022_fifa_prostoj_modelyu_na_python\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ym\/oc\/6_\/ymoc6_v0doy8yrm1y4xsrjlxotc.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/ym\/oc\/6_\/ymoc6_v0doy8yrm1y4xsrjlxotc.jpeg\" data-blurred=\"true\"\/><\/a><\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/704570\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/704570\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/704570\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/nn\/z2\/7b\/nnz27bl30njdju-ni7dsrvszq7y.png\" data-src=\"https:\/\/habrastorage.org\/webt\/nn\/z2\/7b\/nnz27bl30njdju-ni7dsrvszq7y.png\"\/><\/div>\n<p><\/a><br \/>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043b\u044e\u0434\u0438 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043c\u0435\u043d\u044f) \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0444\u0443\u0442\u0431\u043e\u043b \u00ab\u043d\u0435\u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u0439 \u0438\u0433\u0440\u043e\u0439\u00bb, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u043c \u043c\u0430\u0442\u0447\u0435 \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u0432, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u0445 \u043d\u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0447\u0451\u0442. \u0418 \u044d\u0442\u043e \u0432\u0435\u0440\u043d\u043e\u2026 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438.<\/p>\n<p>  \u0421\u043b\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0447\u0451\u0442 \u0438\u043b\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u043c\u0430\u0442\u0447\u0430, \u043e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438 \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f \u0432 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f\u0445 \u0432\u0441\u0451 \u043d\u0435 \u0442\u0430\u043a. \u0417\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u044f\u0442\u044c \u043b\u0435\u0442 \u00ab\u0411\u0430\u0432\u0430\u0440\u0438\u044f\u00bb \u0432\u044b\u0438\u0433\u0440\u0430\u043b\u0430 \u0432\u0441\u0435 \u0411\u0443\u043d\u0434\u0435\u0441\u043b\u0438\u0433\u0438, \u0430 \u00ab\u041c\u0430\u043d\u0447\u0435\u0441\u0442\u0435\u0440 \u0421\u0438\u0442\u0438\u00bb \u0432\u044b\u0438\u0433\u0440\u0430\u043b 4 \u041f\u0440\u0435\u043c\u044c\u0435\u0440-\u043b\u0438\u0433\u0438.<\/p>\n<p>  \u0421\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435? \u041d\u0435 \u0434\u0443\u043c\u0430\u044e.<\/p>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0441\u0435\u0437\u043e\u043d\u0430 20-21 \u0433\u043e\u0434\u043e\u0432 <a href=\"https:\/\/medium.datadriveninvestor.com\/can-we-beat-the-bookies-predicting-football-games-with-a-simple-model-43fe020fb384\">\u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044f<\/a> \u041f\u0440\u0435\u043c\u044c\u0435\u0440-\u043b\u0438\u0433\u0438, \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u0418\u0441\u043f\u0430\u043d\u0438\u0438, \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u0418\u0442\u0430\u043b\u0438\u0438 \u0438 \u0411\u0443\u043d\u0434\u0435\u0441\u043b\u0438\u0433\u0438, \u0438 \u043e\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0432\u0441\u0435\u0445 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>  \u041f\u0440\u043e\u0433\u043d\u043e\u0437 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u044b\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0431\u044b\u043b\u043e \u0441\u044b\u0433\u0440\u0430\u043d\u043e \u0443\u0436\u0435 19 \u043c\u0430\u0442\u0447\u0435\u0439. \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0437\u0430\u043f\u0443\u0449\u0443 \u0442\u0443 \u0436\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 2022.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-342462","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/342462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=342462"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/342462\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}