{"id":291215,"date":"2018-10-23T12:10:02","date_gmt":"2018-10-23T08:10:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=291215"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=291215","title":{"rendered":"\u041c\u043e\u0436\u0435\u0442 \u043b\u0438 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u043e\u0432 \u0431\u0435\u0437 \u0440\u0430\u0431\u043e\u0442\u044b?"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\u00ab\u041f\u043e\u0431\u0435\u0434\u0430 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430 \u043d\u0430\u0434 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0430\u043c\u0438\u00bb \u2013 \u0442\u0430\u043a\u0438\u043c \u043c\u043e\u0433 \u0441\u0442\u0430\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f. \u041c\u043e\u0433 \u0431\u044b, \u043d\u043e, \u0443\u0432\u044b, \u043d\u0435 \u0441\u0442\u0430\u043b. <\/p>\n<p>  \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 \u043f\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0443 \u0443 \u043d\u0430\u0441 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 &#171;<a href=\"http:\/\/www.norbit.ru\/\">\u041d\u041e\u0420\u0411\u0418\u0422<\/a>&#187; \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b \u043a\u043e\u043d\u043a\u0443\u0440\u0441 \u043d\u0430 \u043b\u0443\u0447\u0448\u0438\u0439 \u043f\u0440\u043e\u0433\u043d\u043e\u0437 \u043c\u0430\u0442\u0447\u0435\u0439 \u043f\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0443. \u042f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0432 \u0444\u0443\u0442\u0431\u043e\u043b\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0435 \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u043e \u043c\u043e\u044e \u043b\u0435\u043d\u044c. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u2013 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u043c\u0443 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043f\u043b\u043e\u0445\u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0441\u0440\u0435\u0434\u0438 \u0437\u043d\u0430\u0442\u043e\u043a\u043e\u0432 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434. \u041f\u0440\u0430\u0432\u0434\u0430, \u0441\u043e\u0440\u0432\u0430\u0442\u044c \u043a\u0443\u0448 \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, \u0437\u0430\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u043e\u0432\u044b\u0439 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u0438\u0440 Data Science.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/19c\/e1b\/1cd\/19ce1b1cddeb01967584a86fa5124a93.png\"><\/div>\n<p><a name=\"habracut\"><\/a><br \/>  \u041d\u0430\u0447\u0430\u043b \u044f \u0441 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u044b, \u0447\u0442\u043e \u043f\u043e\u043c\u0438\u043c\u043e \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u0430 \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0431\u043e\u0440\u043d\u044b\u0445 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u043d\u0435\u0438\u0437\u043c\u0435\u0440\u0438\u043c\u044b\u0435, \u043d\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b \u2014 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0439 \u0434\u0443\u0445 + \u0441\u044b\u0433\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u044c (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432 \u0438\u0433\u0440\u0435 \u0441 \u0431\u043e\u043b\u0435\u0435 \u0441\u0438\u043b\u044c\u043d\u044b\u043c \u0441\u043e\u043f\u0435\u0440\u043d\u0438\u043a\u043e\u043c, \u043d\u043e \u0432 \u0437\u0430\u0447\u0435\u0442\u043d\u043e\u043c \u043c\u0430\u0442\u0447\u0435 \u0438 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043f\u043e\u043b\u0435 \u0447\u0430\u0449\u0435 \u043e\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0431\u0435\u0434\u0443). \u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0435 \u0442\u0430\u043a\u0430\u044f \u0443\u0436 \u0438 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0434\u043b\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430, \u043d\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u0430\u044f \u0434\u043b\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u00a0<\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430-\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u0431\u044b\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 ML (\u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 BrainJS), \u043d\u043e \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435, \u0447\u0442\u043e Python \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. <\/p>\n<p>  \u0417\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 Python \u044f \u043d\u0430\u0447\u0430\u043b \u0441 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043a\u0443\u0440\u0441\u0430 \u043d\u0430 <a href=\"https:\/\/www.coursera.org\/specializations\/programming-in-python\">Coursera<\/a>, \u0430 \u043e\u0441\u043d\u043e\u0432\u044b \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0447\u0435\u0440\u043f\u043d\u0443\u043b \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e\u0442 Open Data Science \u043d\u0430 <a href=\"https:\/\/habr.com\/company\/ods\/blog\/322626\/\">\u0425\u0430\u0431\u0440\u0435<\/a>.<\/p>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0448\u0435\u043b\u0441\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 <a href=\"https:\/\/www.kaggle.com\/martj42\/international-football-results-from-1872-to-2017\">Dataset<\/a> \u0441 \u0438\u0441\u0442\u043e\u0440\u0438\u0435\u0439 \u0432\u0441\u0435\u0445 \u0438\u0433\u0440 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u0441\u0431\u043e\u0440\u043d\u044b\u0445 \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 XX \u0432\u0435\u043a\u0430. \u041f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0432 Pandas dataframe:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/475\/d74\/7c6\/475d747c6e10607f63e865aac8e3dd6c.png\"><\/div>\n<p>  \u0412\u0441\u0435\u0433\u043e \u0432 \u0431\u0430\u0437\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e 39 \u0442\u044b\u0441\u044f\u0447\u0430\u0445 \u0438\u0433\u0440 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u0441\u0431\u043e\u0440\u043d\u044b\u0445. <\/p>\n<p>  Pandas \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0430\u043c\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043c\u0430\u0442\u0447 \u0431\u044b\u043b \u043c\u0435\u0436\u0434\u0443 \u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0438\u0435\u0439 \u0438 \u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0438\u043c \u0421\u0430\u043c\u043e\u0430 \u0432 2001 \u0433\u043e\u0434\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f \u0441\u043e \u0441\u0447\u0435\u0442\u043e\u043c <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A4%D1%83%D1%82%D0%B1%D0%BE%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%BC%D0%B0%D1%82%D1%87_%D0%90%D0%B2%D1%81%D1%82%D1%80%D0%B0%D0%BB%D0%B8%D1%8F_%E2%80%94_%D0%90%D0%BC%D0%B5%D1%80%D0%B8%D0%BA%D0%B0%D0%BD%D1%81%D0%BA%D0%BE%D0%B5_%D0%A1%D0%B0%D0%BC%D0%BE%D0%B0_(2001)\">31:0<\/a>. <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/81f\/818\/019\/81f8180197ba4f09a4f558bfc5b098da.png\"><\/div>\n<p>  <\/p>\n<hr>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u043e\u0446\u0435\u043d\u043a\u0443 \u0443\u0440\u043e\u0432\u043d\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u0433\u043e\u0434 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043c\u0430\u0442\u0447\u0430. \u0422\u0430\u043a\u0438\u043c\u0438 \u043e\u0446\u0435\u043d\u043a\u0430\u043c\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f FIFA.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b36\/b79\/196\/b36b79196a0a97008a28e9af41ddf655.png\"><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/c15\/3b3\/180\/c153b3180d6495a84eba0fb4f50cb6ef.png\"><\/div>\n<p>  \u041d\u043e, \u043a \u0431\u043e\u043b\u044c\u0448\u043e\u043c\u0443 \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0440\u0435\u0439\u0442\u0438\u043d\u0433 FIFA \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441 1992 \u0433\u043e\u0434\u0430. \u0418, \u0441\u0443\u0434\u044f \u043f\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0443 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c, \u0438 \u043e\u0447\u0435\u043d\u044c \u0431\u044b \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0441\u0440\u0435\u0434\u043d\u044f\u0442\u044c \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 \u0432 \u043c\u0438\u0440\u043e\u0432\u043e\u043c \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0435 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0434\u0430.<\/p>\n<p>  UEFA \u0432\u0435\u0434\u0435\u0442 \u0441\u0432\u043e\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0441 \u0431\u043e\u043b\u0435\u0435 \u0434\u0440\u0435\u0432\u043d\u0438\u0445 \u0432\u0440\u0435\u043c\u0435\u043d, \u043d\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u0439 dataset \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0441\u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0448\u0435\u043b \u044d\u0442\u043e\u0442<a href=\"https:\/\/kassiesa.home.xs4all.nl\/bert\/uefa\/index.html\"> \u0441\u0430\u0439\u0442<\/a>. \u041f\u043e\u0434 Node.js \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u0435\u0441\u0442\u044c \u043c\u043e\u0449\u043d\u044b\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 <a href=\"https:\/\/github.com\/cheeriojs\/cheerio\">\u0421heerio<\/a>, \u043d\u043e \u043f\u043e\u0434 Python \u0432\u0441\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e (\u0434\u0430 \u043f\u0440\u043e\u0441\u0442\u0438\u0442 \u043c\u0435\u043d\u044f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0435\u0431-\u0441\u043a\u0440\u0430\u043f\u0438\u043d\u0433 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">from requests import get from requests.exceptions import RequestException from contextlib import closing from bs4 import BeautifulSoup   def query_url(url):  \u00a0\u00a0\u00a0try:         with closing(get(url, stream=True)) as resp:  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if is_good_response(resp):  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0    return resp.content         else: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0    return None   \u00a0\u00a0except RequestException as e:  log_error('Error during requests to {0} : {1}'.format(url, str(e))) return None  def is_good_response(resp):  \u00a0\u00a0\u00a0content_type = resp.headers['Content-Type'].lower()  \u00a0\u00a0\u00a0return (resp.status_code == 200  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\t and content_type is not None  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\t and content_type.find('html') &gt; -1) def log_error(e):  \u00a0\u00a0\u00a0print(e)   def parse_ranks(raw_html, year):  \u00a0\u00a0\u00a0html = BeautifulSoup(raw_html, 'html.parser')  \u00a0\u00a0\u00a0ranks = []  \u00a0\u00a0\u00a0for tr in html.select('tr'):  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0tds = tr.select(\"td\")  \u00a0\u00a0\u00a0\t if len(tds) == 10:  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\t rank = (year, tds[2].text, tds[7].text)  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\t ranks.append(rank)  \u00a0\u00a0\u00a0return ranks  \u00a0\u00a0 def get_url(year):  \u00a0\u00a0\u00a0if year in range(1960, 1999): method = 1  \u00a0\u00a0\u00a0if year in range(1999, 2004): method = 2  \u00a0\u00a0\u00a0if year in range(2004, 2009): method = 3  \u00a0\u00a0\u00a0if year in range(2009, 2018): method = 4  \u00a0\u00a0\u00a0if year in range(2018, 2019): method = 5  \u00a0\u00a0\u00a0return f\"https:\/\/kassiesa.home.xs4all.nl\/bert\/uefa\/data\/method{method}\/crank{year}.html\"   ranks = [] for year in range(1960, 2019):  \u00a0\u00a0\u00a0url = get_url(year)  \u00a0\u00a0\u00a0print(url)  \u00a0\u00a0\u00a0raw_html = query_url(url)  \u00a0\u00a0\u00a0rank = parse_ranks(raw_html, year)  \u00a0\u00a0\u00a0ranks += rank  \u00a0\u00a0 with open('team_ranks.csv', 'w') as f:  \u00a0\u00a0\u00a0writer = csv.writer(f , lineterminator='\\n')  \u00a0\u00a0\u00a0writer.writerow(['year', 'country', 'rank'])  \u00a0\u00a0\u00a0for rank in ranks:  \u00a0\u00a0\u00a0\t writer.writerow(rank) <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043e\u043b\u0435\u0431\u0430\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430 \u043f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430 UEFA (\u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u0441\u0442\u0440\u0430\u043d \u043f\u043e \u0438\u0442\u043e\u0433\u0430\u043c \u0433\u0435\u043e\u043f\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0440\u043e\u043a\u0438\u0440\u043e\u0432\u043e\u043a):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/f85\/c99\/3ba\/f85c993ba8390780a482619da06cb1a1.png\"><\/div>\n<p>  \u041d\u043e \u0438 \u0442\u0443\u0442 \u043d\u0435 \u043e\u0431\u043e\u0448\u043b\u043e\u0441\u044c \u0431\u0435\u0437 \u0431\u043e\u0447\u043a\u0438 \u0434\u0435\u0433\u0442\u044f \u2014 UEFA \u0432\u0435\u0434\u0435\u0442 \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0432\u0440\u043e\u043f\u0435\u0439\u0441\u043a\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 (\u0441\u0442\u043e\u0438\u0442 \u0438\u043d\u043e\u0433\u0434\u0430 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u043c\u0438 \u0430\u0431\u0431\u0440\u0435\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u043c\u0438, \u043f\u0435\u0440\u0435\u0434 \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c). \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043f\u043b\u0435\u0439-\u043e\u0444\u0444 \u0441\u043b\u043e\u0436\u0438\u043b\u0441\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u00ab\u0435\u0432\u0440\u043e\u043f\u0435\u0439\u0441\u043a\u0438\u0439\u00bb.<\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0433\u0440\u044b \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0438.<\/p>\n<p>  \u0421\u0430\u043c\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u2013 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438. \u0413\u0443\u0433\u043b \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u043b \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2013 \u044d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 MLPClassifier \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Python \u2014 Sklearn. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0431\u0443\u0447\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0428\u0432\u0435\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\">from sklearn.neural_network import MLPClassifier games = pd.read_csv('games.csv')   # \u0422\u043e\u043b\u044c\u043a\u043e \u0438\u0433\u0440\u044b \u0428\u0432\u0435\u0446\u0438\u0438 SwedenGames = games[(games.teamTitle == 'Sweden')]   # \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0433\u0440 y = SwedenGames['score'] y = y.astype('int')  # \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 X = SwedenGames.drop(['score', 'teamTitle', 'againstTitle'], axis=1)   # \u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043d\u0430 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0443\u044e \u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u0443\u044e X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.25)   mlp = MLPClassifier() mlp.fit(X_train, y_train);   predictions = mlp.predict(X_test)   print('Accuracy: {:.2}'.format(  \u00a0\u00a0\u00a0accuracy_score(y_test, mlp.predict(X_test)) )) <\/code><\/pre>\n<p> \u00a0<br \/>  <b>Accuracy: 0.62<\/b><\/p>\n<p>  \u041d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0442\u043e\u0447\u043d\u0435\u0435 \u0431\u0440\u043e\u0441\u0430\u043d\u0438\u044f \u043c\u043e\u043d\u0435\u0442\u044b, \u043d\u043e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0443\u0436\u0435 \u043b\u0443\u0447\u0448\u0435 \u043c\u043e\u0438\u0445 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u00ab\u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043d\u044b\u0445\u00bb \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u043e\u0432. \u0422\u0443\u0442 \u0431\u044b\u043b\u043e \u0431\u044b \u0440\u0430\u0437\u0443\u043c\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043e\u0433\u0430\u0442\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438, \u043d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0443\u0442\u0435\u043c \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0431\u0443\u0441\u0442\u0438\u043d\u0433\u0430 <a href=\"https:\/\/github.com\/catboost\/catboost\">Catboost<\/a> \u043e\u0442 Yandex. \u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u044d\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u0430\u0442\u0440\u0438\u043e\u0442\u0438\u0447\u043d\u043e, \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u043e\u043d\u0438 \u043e\u0431\u0435\u0449\u0430\u044e\u0442 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430\u043c\u0438, \u0447\u0442\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u043c\u0438 <a href=\"https:\/\/towardsdatascience.com\/catboost-vs-light-gbm-vs-xgboost-5f93620723db\">\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f\u043c\u0438<\/a>.<\/p>\n<p>  \u0412\u0437\u044f\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u0437 <a href=\"https:\/\/tech.yandex.com\/catboost\/doc\/dg\/concepts\/python-usages-examples-docpage\/\">\u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/a>:<\/p>\n<pre><code class=\"python\"> # \u0418\u043d\u0434\u0435\u043a\u0441\u044b \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 categorical_features_indices = [1, 2, 4]   train_pool = Pool(X_train, \u00a0y_train, cat_features=categorical_features_indices) validate_pool = Pool(X_test, y_test, cat_features=categorical_features_indices)  # \u0411\u0443\u0441\u0442\u0438\u043d\u0433 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b GridSearchCV. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f  best_params = {  \u00a0\u00a0\u00a0'iterations': 500,  \u00a0\u00a0\u00a0'depth': 10,  \u00a0\u00a0\u00a0'learning_rate': 0.1,  \u00a0\u00a0\u00a0'l2_leaf_reg': 1,  \u00a0\u00a0\u00a0'eval_metric': 'Accuracy',  \u00a0\u00a0\u00a0'random_seed': 42,  \u00a0\u00a0\u00a0'logging_level': 'Silent',  \u00a0\u00a0\u00a0'use_best_model': True }   cb_model = CatBoostClassifier(**best_params) cb_model.fit(train_pool, eval_set=validate_pool)   print('Accuracy: {:.2}'.format(  \u00a0\u00a0\u00a0accuracy_score(y_test, cb_model.predict(X_test)) )) <\/code><\/pre>\n<p>  <b>Accuracy: 0.73<\/b><\/p>\n<p>  \u0423\u0436\u0435 \u043b\u0443\u0447\u0448\u0435, \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432 \u0434\u0435\u043b\u0435<\/p>\n<pre><code class=\"python\"> def get_prediction(country, against):  \u00a0\u00a0\u00a0y = SwdenGames['score']  \u00a0\u00a0\u00a0y = y.astype('int')  \u00a0\u00a0\u00a0X = SwdenGames.drop(['score', 'againstTitle'], axis=1)  \u00a0  \u00a0\u00a0\u00a0train_pool = Pool(X, y, cat_features=[1, 2, 4])  \u00a0\u00a0\u00a0query = [ get_team_rank(country, 2018),                    0,  \u00a0\u00a0\u00a0\t           1 if country == 'Russia' else 0,  \u00a0\u00a0\u00a0               get_team_rank(against, 2018),  \u00a0\u00a0\u00a0\t           against]  \u00a0\u00a0\u00a0return cb_model.predict_proba([query])[0]  team_1 = 'Belgium' team_2 = 'France'   result = get_prediction(team_1, team_2) if result[0] &gt; result[1]:  \u00a0\u00a0\u00a0print(f\"\u041a\u043e\u043c\u0430\u043d\u0434\u0430 {team_1} \u0432\u044b\u0438\u0433\u0440\u0430\u0435\u0442 \u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u044b {team_2} \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e {result[0]*100:.1f}%\") else:     print(f\"\u041a\u043e\u043c\u0430\u043d\u0434\u0430 {team_1} \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 {team_2} \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e {result[1]*100:.1f}%\")  <\/code><\/pre>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/e8a\/5d2\/c8f\/e8a5d2c8fbeb89cadd5ab59392b8e254.png\"><\/div>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0430 \u0434\u043b\u044f \u0444\u0438\u043d\u0430\u043b\u0430 \u00ab\u041a\u043e\u043c\u0430\u043d\u0434\u0430 Crotia \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 France \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e 93,7%\u00bb<\/p>\n<p>  \u0425\u043e\u0442\u044c \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044f \u043d\u0435 \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0435 \u00ab<a href=\"http:\/\/www.norbit.ru\/\">\u041d\u041e\u0420\u0411\u0418\u0422<\/a>\u00bb, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u043d\u0438\u0437\u0438\u0442 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043c\u0430\u0433\u0438\u0438 \u0432 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0430 \u043c\u043e\u0436\u0435\u0442, \u0434\u0430\u0436\u0435 \u0437\u0430\u043c\u043e\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b.<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <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\/company\/lanit\/blog\/427273\/\"> https:\/\/habr.com\/company\/lanit\/blog\/427273\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\u00ab\u041f\u043e\u0431\u0435\u0434\u0430 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430 \u043d\u0430\u0434 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0430\u043c\u0438\u00bb \u2013 \u0442\u0430\u043a\u0438\u043c \u043c\u043e\u0433 \u0441\u0442\u0430\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f. \u041c\u043e\u0433 \u0431\u044b, \u043d\u043e, \u0443\u0432\u044b, \u043d\u0435 \u0441\u0442\u0430\u043b. <\/p>\n<p>  \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442\u0430 \u043c\u0438\u0440\u0430 \u043f\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0443 \u0443 \u043d\u0430\u0441 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 &#171;<a href=\"http:\/\/www.norbit.ru\/\">\u041d\u041e\u0420\u0411\u0418\u0422<\/a>&#187; \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b \u043a\u043e\u043d\u043a\u0443\u0440\u0441 \u043d\u0430 \u043b\u0443\u0447\u0448\u0438\u0439 \u043f\u0440\u043e\u0433\u043d\u043e\u0437 \u043c\u0430\u0442\u0447\u0435\u0439 \u043f\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0443. \u042f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0432 \u0444\u0443\u0442\u0431\u043e\u043b\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0435 \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u043e \u043c\u043e\u044e \u043b\u0435\u043d\u044c. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u2013 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u043c\u0443 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043f\u043b\u043e\u0445\u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0441\u0440\u0435\u0434\u0438 \u0437\u043d\u0430\u0442\u043e\u043a\u043e\u0432 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434. \u041f\u0440\u0430\u0432\u0434\u0430, \u0441\u043e\u0440\u0432\u0430\u0442\u044c \u043a\u0443\u0448 \u043c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, \u0437\u0430\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u043e\u0432\u044b\u0439 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u0438\u0440 Data Science.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/19c\/e1b\/1cd\/19ce1b1cddeb01967584a86fa5124a93.png\"><\/div>\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-291215","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/291215","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=291215"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/291215\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}