{"id":292494,"date":"2019-07-24T15:00:29","date_gmt":"2019-07-24T15:00:29","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=292494"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=292494","title":{"rendered":"Rekko Challenge 2019: \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b\u043e"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hb\/u7\/gu\/hbu7guq0ic25zumfxsf5bbipkcq.png\"><\/p>\n<p>  \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 <a href=\"http:\/\/boosters.pro\">Boosters <\/a>\u043f\u0440\u043e\u0448\u0435\u043b \u043a\u043e\u043d\u0442\u0435\u0441\u0442 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043e\u0442 \u043e\u043d\u043b\u0430\u0439\u043d-\u043a\u0438\u043d\u043e\u0442\u0435\u0430\u0442\u0440\u0430 Okko \u2014 <a href=\"https:\/\/habr.com\/ru\/company\/okko\/blog\/439180\/\">Rekko Challenge 2019<\/a>. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0431\u044b\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442 \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0432 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0441 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u043e\u043c (\u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0441\u0438\u043b\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0445\u0430\u043a\u0430\u0442\u043e\u043d\u0435). \u0417\u0430\u0434\u0430\u0447\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u0430 \u043c\u043d\u0435 \u0438\u0437 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438, \u043f\u0440\u0438\u0437\u043e\u0432\u043e\u0439 \u0444\u043e\u043d\u0434 \u0435\u0441\u0442\u044c, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0431\u044b\u043b \u0441\u043c\u044b\u0441\u043b \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u0437\u0430\u043d\u044f\u043b 14 \u043c\u0435\u0441\u0442\u043e, \u0437\u0430 \u0447\u0442\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u0432\u044b\u0434\u0430\u043b\u0438 \u043f\u0430\u043c\u044f\u0442\u043d\u0443\u044e \u0444\u0443\u0442\u0431\u043e\u043b\u043a\u0443. \u041f\u0440\u0438\u044f\u0442\u043d\u043e. \u0421\u043f\u0430\u0441\u0438\u0431\u043e. <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043a\u0440\u0430\u0442\u043a\u043e \u043f\u043e\u0433\u0440\u0443\u0436\u0443 \u0432\u0430\u0441 \u0432 \u0437\u0430\u0434\u0430\u0447\u0443, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0432\u044b\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445 \u043c\u043d\u043e\u0439 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0430\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0437\u0430\u0442\u0430\u0449\u0438\u0442\u044c \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c \u0438 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u0442\u043e\u043f-15 \u0431\u0435\u0437 \u043e\u043f\u044b\u0442\u0430 \u0441\u0442\u0435\u043a\u0438\u043d\u0433\u0430, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0442\u0435\u043c, \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u0441\u0442\u0430\u0445. <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b <\/h3>\n<p>   \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u2014 \u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0442\u043e, \u0447\u0442\u043e \u043e\u043d <s>\u0445\u043e\u0447\u0435\u0442<\/s> \u043a\u0443\u043f\u0438\u0442 (\u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0433\u0438\u043f\u0435\u0440\u0442\u0440\u043e\u0444\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430\u0432\u044f\u0437\u0430\u043d\u043e \u043d\u0430\u043c \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c). <br \/>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u0430\u0434\u0430\u0447 (\u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u043e\u0438\u0441\u043a \u043f\u043e\u0445\u043e\u0436\u0438\u0445, \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430), \u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u041d\u0443 \u0438 \u0432\u0441\u0435 \u043c\u044b \u043b\u044e\u0431\u0438\u043c \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0432 \u0432\u044b\u0431\u043e\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447\u0438. \u0425\u043e\u0440\u043e\u0448\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044b \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/ru\/company\/lanit\/blog\/420499\/\">\u0410\u043d\u0430\u0442\u043e\u043c\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c<\/a>. \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b <a href=\"http:\/\/www.no-free-lunch.org\">NFL-\u0442\u0435\u043e\u0440\u0435\u043c\u0443<\/a>, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b.<\/p>\n<h3>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>   \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u0437\u0430\u0434\u0430\u0447\u0435 \u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 <a href=\"https:\/\/habr.com\/ru\/company\/okko\/blog\/439180\/\">\u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432. TL;DR \u0437\u0434\u0435\u0441\u044c \u044f \u043e\u043f\u0438\u0448\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430.<\/p>\n<p>  \u0412 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438 \u0442\u044b\u0441\u044f\u0447 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0441 \u0430\u043d\u043e\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0430\u0442\u0440\u0438\u0446 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f user-item \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b:<\/p>\n<ul>\n<li>\u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0430\u043a\u0442\u044b \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430\/ \u0432\u0437\u044f\u0442\u0438\u044f \u0432 \u0430\u0440\u0435\u043d\u0434\u0443\/ \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043f\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0435;<\/li>\n<li>\u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0438 \u2014 \u043e\u0446\u0435\u043d\u043a\u0438 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438;<\/li>\n<li>\u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u2014 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0438\u043b\u044c\u043c\u0430 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438.<\/li>\n<\/ul>\n<p>  \u0412\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0432\u0437\u044f\u0442\u0430 \u0437\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u0443\u0441\u043b\u043e\u0432\u043d\u044b\u0445 \u0435\u0434\u0438\u043d\u0438\u0446\u0430\u0445, \u0438\u043c\u0435\u044e\u0449\u0438\u0445 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u0443.  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d78\/9fd\/d01\/d789fdd01bedc4d29a16af90e141170f.svg\" alt=\"$ts = f(ts_{real})$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u0436\u0435 \u0438\u043c\u0435\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/14\/hj\/uu\/14hjuuoannzvkwpal7n7xwqyvyk.png\"><\/p>\n<p>  \u041f\u0440\u043e \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432, \u043d\u043e \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u0443\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0431\u0440\u043e\u0441\u0438\u043b\u043e\u0441\u044c \u0432 \u0433\u043b\u0430\u0437\u0430: \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u00abattributes\u00bb. \u0412 \u043d\u0435\u043c \u0431\u044b\u043b \u043c\u0435\u0448\u043e\u043a \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0441 \u043a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0432 ~36 \u0442\u044b\u0441\u044f\u0447. \u0412 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u0431\u044b\u043b\u043e \u043f\u043e 15 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043d\u0430 \u0444\u0438\u043b\u044c\u043c. \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0432 \u044d\u0442\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u044b \u043a\u0430\u043a \u0440\u0430\u0437 \u0441\u0430\u043c\u044b\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442: \u0430\u043a\u0442\u0435\u0440\u044b, \u0440\u0435\u0436\u0438\u0441\u0441\u0435\u0440\u044b, \u0441\u0442\u0440\u0430\u043d\u0430, \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0438\u043b\u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438, \u043a \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0444\u0438\u043b\u044c\u043c.<\/p>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c 20 \u0444\u0438\u043b\u044c\u043c\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u044f\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u2014 \u044d\u0442\u043e 50 \u0442\u044b\u0441\u044f\u0447 \u0438\u0437 \u0432\u0441\u0435\u0445 500 \u0442\u044b\u0441\u044f\u0447 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u041d\u0430 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0435 \u043e\u043d\u0438 \u043f\u043e\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u043e\u043f\u043e\u043b\u0430\u043c: \u043f\u043e 25 \u0442\u044b\u0441\u044f\u0447 \u0432 public\/private.<\/p>\n<h3>\u041c\u0435\u0442\u0440\u0438\u043a\u0430<\/h3>\n<p>   \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 Mean Normalize Average Precision \u043d\u0430 20 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0445 (MNAP@20). \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e MAP \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432\u0448\u0438\u0445 20 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043f\u0435\u0440\u0438\u043e\u0434\u0435, \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0435 \u043d\u0430 k, \u0430 \u043d\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tk\/xt\/fn\/tkxtfnagqxtookssvkg8rjiicqg.png\"><\/p>\n<p>  \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u0434 \u043d\u0430 Cython \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/habr.com\/ru\/company\/okko\/blog\/439180\/\">\u0437\u0434\u0435\u0441\u044c.<\/a> <\/p>\n<h3>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f<\/h3>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0437\u0430\u0434\u0430\u0447\u0438. \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043d\u0430 \u0447\u0435\u043c \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u0422\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0444\u0438\u043b\u044c\u043c\u044b \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c, \u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u043c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c. \u0418\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0430\u043d\u043e\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0435\u0433\u043e \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0432\u0437\u044f\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0433\u0440\u0430\u0444\u0438\u043a \u043f\u043e \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u043c \u0438 \u0432\u044b\u044f\u0432\u0438\u043b \u043d\u0435\u043a\u0443\u044e \u0441\u0435\u0437\u043e\u043d\u043d\u043e\u0441\u0442\u044c. \u0411\u044b\u043b\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e, \u0447\u0442\u043e \u043e\u043d\u0430 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u0430\u044f, \u0430 \u0437\u043d\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u0443\u0442\u043a\u0430\u043c\u0438, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0437\u0430 \u043a\u0430\u043a\u043e\u0439 \u043f\u0435\u0440\u0438\u043e\u0434 \u0431\u044b\u043b\u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u0434\u0430\u043d\u043d\u044b\u0435. \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0437\u0430 6 \u043c\u0435\u0441\u044f\u0446\u0435\u0432. \u041f\u043e\u0437\u0436\u0435 \u044d\u0442\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u043e\u0441\u044c \u0432 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u043a\u0430\u043d\u0430\u043b\u0435, \u0433\u0434\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u043e \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u0441\u0442\u0430. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ba\/3_\/67\/ba3_67yp9-znxb9b_uoeummo6li.png\"><\/p>\n<p>  \u041d\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u0432\u044b\u0448\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u043f\u043e\u0447\u0430\u0441\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u0438\u043d\u043e\u044e \u0432 \u043e\u0434\u0438\u043d \u043c\u0435\u0441\u044f\u0446. \u0422\u0440\u0438 \u0432\u044b\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u0438\u043a\u0430 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0430 \u0432\u0435\u0447\u0435\u0440\u0430 \u043f\u044f\u0442\u043d\u0438\u0446\u044b, \u0441\u0443\u0431\u0431\u043e\u0442\u044b \u0438 \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. <\/p>\n<p>  \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0448\u0435\u0441\u0442\u044c \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432, \u0438 \u043d\u0430\u0434\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u043c\u044b \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0432\u0430. \u0411\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0442\u0440\u0435\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043a\u0430\u043a \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0434\u0430\u0442\u0430\u0441\u0435\u0442. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mu\/uy\/cm\/muuycmuqlah95etk4kqmdrbpygo.jpeg\"><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u0431\u043c\u0438\u0442\u043e\u0432 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0441\u043f\u043b\u0438\u0442 \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d \u0443\u0434\u0430\u0447\u043d\u043e \u0438 \u0441\u043a\u043e\u0440 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u043d\u043e \u043a\u043e\u0440\u0440\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u0441 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u043e\u043c. <\/p>\n<h3>\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u0434\u0435\u0430\u043d\u043e\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0434\u0435\u0430\u043d\u043e\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0444\u0438\u043b\u044c\u043c\u044b, \u0447\u0442\u043e\u0431\u044b:<\/p>\n<ul>\n<li>\u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0443\u0447\u0443 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u043f\u043e \u043c\u0435\u0442\u0430-\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430. \u041d\u0430 \u0443\u043c, \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442: \u0436\u0430\u043d\u0440\u044b, \u0430\u043a\u0442\u0435\u0440\u0441\u043a\u0438\u0439 \u0441\u043e\u0441\u0442\u0430\u0432, \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438, \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u0442.\u0434.; <\/li>\n<li>\u043f\u043e\u0434\u043a\u0438\u043d\u0443\u0442\u044c \u0432 \u0442\u043e\u043f\u043a\u0443 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0446\u0438\u0439 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0435\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043c\u0430\u0442\u0440\u0438\u0446\u044b. \u0414\u0430-\u0434\u0430, \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430 \u043d\u0435 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u0430\u0434\u0435\u0436\u0434\u044b \u043d\u0430 \u043c\u0430\u0442\u0447\u0438\u043d\u0433 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c\u0438 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430\u043c\u0438, \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u043d\u0435 \u0431\u044b\u043b\u043e, \u043d\u043e \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 \u043f\u043e\u0440\u0442\u0430\u043b\u043e\u0432 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b.<\/li>\n<\/ul>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u043b\u043e\u0433\u0438\u0447\u043d\u0430\u044f \u043c\u043e\u0442\u0438\u0432\u0430\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u043f\u043e \u043c\u043e\u0438\u043c \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f\u043c, \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u043b\u0430 \u0441\u0442\u0430\u0442\u044c \u043a\u0438\u043b\u043b\u0435\u0440-\u0444\u0438\u0447\u0435\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0441\u0430\u0439\u0442 Okko \u0438 \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u043e\u0442\u0442\u0443\u0434\u0430 \u0432\u0441\u0435 \u0444\u0438\u043b\u044c\u043c\u044b \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 (\u0440\u0435\u0439\u0442\u0438\u043d\u0433, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u043d\u044b\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u0435). \u041d\u0443 \u043a\u0430\u043a \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u2014 \u0432\u0441\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f API: <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/c6\/i8\/8s\/c6i88s9db6wj9nl7aqvysuappt8.png\"><\/p>\n<p>  \u0417\u0430\u0439\u0434\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u0432\u044b\u0431\u0440\u0430\u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0436\u0430\u043d\u0440 \u0438\u043b\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0437\u0430\u0439\u0442\u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u0448\u0435 \u0432\u044b\u0432\u0430\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u044c \u043c\u0430\u0441\u0441\u0438\u0432 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0432 \u0436\u0430\u043d\u0440\u0435\/\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0435 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438. \u041e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \ud83d\ude42 <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0422\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043e\u0434\u043d\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"json\">\"element\": {     \"id\": \"c2f98ef4-2eb5-4bfd-b765-b96589d4c470\",     \"type\": \"SERIAL\",     \"name\": \"\u0421\u0442\u0430\u0440\u0430\u044f \u0433\u0432\u0430\u0440\u0434\u0438\u044f\",     \"originalName\": \"\u0421\u0442\u0430\u0440\u0430\u044f \u0433\u0432\u0430\u0440\u0434\u0438\u044f\",     \"covers\": {...},     \"basicCovers\": {...},     \"description\": \"\u0412\u0435\u0434\u044f \u0434\u0435\u043b\u043e \u043e\u0431 \u0430\u0432\u0430\u0440\u0438\u0438 \u0441\u043e \u0441\u043c\u0435\u0440\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043e\u043c, \u043c\u043e\u043b\u043e\u0434\u043e\u0439 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0412\u0435\u0440\u0430 ...\",     \"title\": null,     \"worldReleaseDate\": 1558731600000,     \"ageAccessType\": \"16\",     \"ageAccessDescription\": \"16+ \u0414\u043b\u044f \u0434\u0435\u0442\u0435\u0439 \u0441\u0442\u0430\u0440\u0448\u0435 16 \u043b\u0435\u0442\",     \"duration\": null,     \"trailers\": {...},     \"kinopoiskRating\": 6,     \"okkoRating\": 4,     \"imdbRating\": null,     \"alias\": \"staraja-gvardija\",     \"has3d\": false,     \"hasHd\": true,     \"hasFullHd\": true,     \"hasUltraHd\": false,     \"hasDolby\": false,     \"hasSound51\": false,     \"hasMultiAudio\": false,     \"hasSubtitles\": false,     \"inSubscription\": true,     \"inNovelty\": true,     \"earlyWindow\": false,     \"releaseType\": \"RELEASE\",     \"playbackStartDate\": null,     \"playbackTimeMark\": null,     \"products\": {         \"items\": [             {                 \"type\": \"PURCHASE\",                 \"consumptionMode\": \"SUBSCRIPTION\",                 \"fromConsumptionMode\": null,                 \"qualities\": [                     \"Q_FULL_HD\"                 ],                 \"fromQuality\": null,                 \"price\": {                     \"value\": 0,                     \"currencyCode\": \"RUB\"                 },                 \"priceCategory\": \"679\",                 \"startDate\": 1554670800000,                 \"endDate\": null,                 \"description\": null,                 \"subscription\": {                     \"element\": {                         \"id\": \"bc682dc6-c0f7-498e-9064-7d6cafd8ca66\",                         \"type\": \"SUBSCRIPTION\",                         \"alias\": \"119228\"                     }                 },                 \"offer\": null,                 \"originalPrice\": null             },             ...         ],         \"emptyReason\": null     },     \"licenses\": null,     \"assets\": {...},     \"genres\": {         \"items\": [             {                 \"element\": {                     \"id\": \"Detective\",                     \"type\": \"GENRE\",                     \"name\": \"\u0414\u0435\u0442\u0435\u043a\u0442\u0438\u0432\u044b\",                     \"alias\": \"Detective\"                 }             },             ...         ],         \"totalSize\": 2     },     \"countries\": {         \"items\": [             {                 \"element\": {                     \"id\": \"3b9706f4-a681-47fb-918e-182ea9dfef0b\",                     \"type\": \"COUNTRY\",                     \"name\": \"\u0420\u043e\u0441\u0441\u0438\u044f\",                     \"alias\": \"russia\"                 }             }         ],         \"totalSize\": 1     },     \"subscriptions\": {         \"items\": [             {                 \"element\": {                     \"id\": \"bc682dc6-c0f7-498e-9064-7d6cafd8ca66\",                     \"type\": \"SUBSCRIPTION\",                     \"name\": \"\u0422\u0438\u043d\u044c\u043a\u043e\u0444\u0444 \u041a\u0438\u043d\u043e \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u044b\",                     \"alias\": \"119228\"                 }             },             ...         ],         \"totalSize\": 7     },     \"promoText\": null,     \"innerColor\": null,     \"updateRateDescription\": null,     \"contentCountDescription\": null,     \"copyright\": null,     \"subscriptionStartDate\": null,     \"subscriptionEndDate\": null,     \"subscriptionActivateDate\": null,     \"stickerText\": null,     \"fullSeasonPriceText\": null,     \"purchaseDate\": null,     \"expireDate\": null,     \"lastWatchedChildId\": null,     \"bookmarkDate\": null,     \"userRating\": null,     \"consumeDate\": null,     \"lastStartingDate\": null,     \"watchDate\": null,     \"startingDate\": null,     \"earlyWatchDate\": null } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u0432\u0441\u0435\u043c \u0436\u0430\u043d\u0440\u0430\u043c, \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c JSON, \u0430 \u0437\u0430\u0442\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u044b, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u0434\u0438\u043d \u0444\u0438\u043b\u044c\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u0436\u0430\u043d\u0440\u0430\u043c\/\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u043c. <\/p>\n<p>  \u0414\u0430, \u0442\u0443\u0442 \u043c\u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u043b\u043e \u0438 \u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u043b \u043a\u0443\u0447\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0432\u0430\u0448 \u0441\u043b\u0443\u0447\u0430\u0439, \u0438 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0430\u0440\u0441\u0438\u0442\u044c html \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u0442\u043e \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0435\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0438 \u0441 \u044d\u0442\u0438\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"https:\/\/habr.com\/ru\/post\/280238\/\">\u0432\u043e\u0442<\/a>.<\/p>\n<p>  \u00ab\u0414\u0435\u043b\u043e \u0432 \u0448\u043b\u044f\u043f\u0435, \u2014 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u044f, \u2014 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043c\u0435\u0440\u0436\u0438\u0442\u044c\u00bb. \u00ab\u0414\u0435\u043b\u043e \u2014 \u0448\u043b\u044f\u043f\u0430\u00bb, \u2014 \u043f\u043e\u043d\u044f\u043b \u044f \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c: \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e. \u041e\u0431 \u044d\u0442\u043e\u043c \u043d\u0438\u0436\u0435.<\/p>\n<p>  \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0441\u044f: \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 \u2014 10200, \u0441\u043e\u0431\u0440\u0430\u043b \u0441 \u0441\u0430\u0439\u0442\u0430 \u2014 8870. \u042d\u0442\u043e \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u043e \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u043d\u043e\u0441\u0442\u0438 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430: \u0431\u044b\u043b\u043e \u0432\u044b\u043a\u0430\u0447\u0430\u043d\u043e \u043b\u0438\u0448\u044c \u0442\u043e, \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0435\u0441\u0442\u044c \u0441\u0435\u0439\u0447\u0430\u0441, \u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430 \u2014 \u0437\u0430 2018 \u0433\u043e\u0434. \u041a\u0430\u043a\u0438\u0435-\u0442\u043e \u0438\u0437 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0443\u0436\u0435 \u0441\u0442\u0430\u043b\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b. \u0423\u043f\u0441.<\/p>\n<p>  \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0438\u0437 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043d\u0430 \u043c\u0430\u0442\u0447\u0438\u043d\u0433 \u0431\u044b\u043b\u0430 \u0441\u0442\u043e\u0439\u043a\u0430\u044f \u0438\u043d\u0442\u0443\u0438\u0446\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445:<\/p>\n<p>  <i>feature5<\/i> \u2014 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u043d\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435. \u041f\u043e\u043d\u044f\u0442\u044c \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0435\u0433\u043a\u043e. \u041a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430 \u2014 5 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 float \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438 \u00ab-1\u00bb. \u0421\u0440\u0435\u0434\u0438 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u044b\u043b \u043d\u0430\u0439\u0434\u0435\u043d \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u00abageAccessType\u00bb \u043a\u0430\u043a \u0440\u0430\u0437 \u0441 \u043a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e 5. \u041c\u0430\u043f\u043f\u0438\u043d\u0433 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"python\">catalogue.age_rating = catalogue.age_rating.map({0: 0, 0.4496666915: 6 0.5927161087: 12 0.6547073468: 16 0.6804096966000001: 18}) <\/code><\/pre>\n<p>  <i>feature2<\/i> \u2014 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u0444\u0438\u043b\u044c\u043c\u0430 \u0441 \u043a\u0438\u043d\u043e\u043f\u043e\u0438\u0441\u043a\u0430. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 EDA \u0438\u0434\u0435\u044e, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0434\u0435\u043b\u043e \u0441 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u043c, \u043f\u043e\u0434\u0430\u043b\u0430 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0441 \u043e\u0431\u0449\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432. \u0412\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u043a\u0438\u043d\u043e\u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u00abkinopoiskRating\u00bb \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u0430.<\/p>\n<p>  \u0415\u0449\u0435 \u043d\u0430 \u0448\u0430\u0433 \u0431\u043b\u0438\u0436\u0435 \u043a \u043c\u0430\u0442\u0447\u0438\u043d\u0433\u0443! \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u0430\u043d\u043e\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <i>feature2<\/i>.<\/p>\n<p>  \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 <i>feature2<\/i>: <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pq\/pl\/_d\/pqpl_d1lpm0xed8limzxedbevfa.png\"><\/p>\n<p>  \u0410 \u0442\u0430\u043a \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <i>kinopoiskRating<\/i>:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wn\/6a\/np\/wn6anpuxtav5ghzgq4tdme0lji8.png\"><\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u044d\u0442\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u043b\u0435\u0433\u0435 \u0421\u0430\u0448\u0435, \u043e\u043d \u0441\u0440\u0430\u0437\u0443 \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0442\u0440\u043e\u0439\u043a\u0438. \u0422\u0440\u043e\u0439\u043a\u0438 \u0443 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u043e\u0432 \u043d\u0435 \u0432 \u043f\u043e\u0447\u0435\u0442\u0435, \u0430 \u0432\u043e\u0442 \u0447\u0438\u0441\u043b\u043e Pi \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435. \u0412 \u0438\u0442\u043e\u0433\u0435, \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tw\/tt\/4u\/twtt4uravymgxe1lhxj2d9ydqly.png\"><\/p>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u0432\u0441\u0435, \u043d\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c. \u041c\u044b \u0432\u0438\u0434\u0438\u043c \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f, \u043d\u043e \u043d\u043e\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0435 \u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f. \u0415\u0441\u043b\u0438 \u0431\u044b \u043c\u044b \u0437\u043d\u0430\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0442\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0431\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044f. \u041d\u043e \u0438\u0445 \u0443 \u043d\u0430\u0441 \u043d\u0435 \u0431\u044b\u043b\u043e. <\/p>\n<p>  \u0410\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043a\u0441\u0442\u0430\u0442\u0438, \u043d\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0441\u043b\u043e\u0432\u043e. \u041d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439, \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0432\u043d\u043e\u0439 \u043d\u0443\u043b\u044e. \u0422\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0432 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 2 \u0437\u043d\u0430\u043a\u0430 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f. \u0415\u0441\u043b\u0438 \u0443\u0447\u0435\u0441\u0442\u044c, \u0447\u0442\u043e \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0441 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u043c 6.xx \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0438 \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u0444\u0438\u043b\u044c\u043c\u044b \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u043c, \u0442\u043e \u0437\u0430 precision \u0437\u0434\u0435\u0441\u044c \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0431\u043e\u0440\u043e\u0442\u044c\u0441\u044f.<\/p>\n<p>  \u0427\u0442\u043e \u0436\u0435 \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c? \u041c\u043e\u0436\u043d\u043e \u043e\u043f\u0435\u0440\u0435\u0442\u044c\u0441\u044f \u043d\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f MinMaxScaler, \u043d\u043e \u043d\u0435\u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0441\u0440\u0430\u0437\u0443 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u0441\u043e\u0448\u043b\u043e\u0441\u044c, \u0438 \u043d\u0430\u0448 \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u2014 \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439, \u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u2014 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435. \u0422.\u0435. \u043d\u0435\u0442 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0439, \u0447\u0442\u043e \u0444\u0438\u043b\u044c\u043c\u044b \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u043c \u0432 \u043e\u0431\u0435\u0438\u0445 \u0433\u0440\u0443\u043f\u043f\u0430\u0445 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b (\u0442\u0430\u043a \u0438 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c: \u0443 \u043d\u0438\u0445 \u0431\u044b\u043b\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u043d\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435, \u0438 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435 \u0441\u0445\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u043e\u0442 \u0441\u043b\u043e\u0432\u0430 \u00ab\u0441\u043e\u0432\u0441\u0435\u043c\u00bb), \u043a\u0430\u043a \u043d\u0435\u0442 \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u043e OKKO \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0443 \u0441\u0435\u0431\u044f \u0432 API \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0439\u0441\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043a\u0438\u043d\u043e\u043f\u043e\u0438\u0441\u043a\u0430.<\/p>\n<p>  \u0422\u0430\u043a \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0435\u0449\u0435 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u044b \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>  <b>\u0427\u0442\u043e \u0435\u0449\u0435 \u0435\u0441\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e?<\/b><\/p>\n<p>  <i>feature1<\/i> \u2014 \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u0434\u0430\u0442\u0430. \u041f\u043e \u0438\u0434\u0435\u0435, \u0434\u043b\u044f \u0434\u0430\u0442 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u043e\u0431\u0435\u0449\u0430\u043b\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0440\u0430precision\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0439, \u0447\u0442\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u043b\u043e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e. \u0412 \u043e\u0431\u0449\u0435\u043c, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0443 <i>ts<\/i>\u0434\u043b\u044f \u043c\u0430\u0442\u0440\u0438\u0446 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u043f\u043e <i>feature_1<\/i>\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/q2\/94\/dn\/q294dngcpjgbfdgxcpwsrsv-1lu.png\"><\/p>\n<p>  \u2026 \u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043c\u0435\u0442\u0430\u0435\u0442\u0441\u044f \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u0434\u0430\u0442\u044b \u0432\u044b\u0445\u043e\u0434\u0430 \u0444\u0438\u043b\u044c\u043c\u0430. \u0418\u043d\u0442\u0443\u0438\u0446\u0438\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u2014 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0445 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0435\u0439 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0441\u0442\u0438 \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c. \u042d\u0442\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435.<\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441 \u0441\u0430\u0439\u0442\u0430 \u0435\u0441\u0442\u044c 14 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432. \u041d\u0430 \u0434\u0435\u043b\u0435, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wg\/bw\/64\/wgbw64outbnbatpbee2vt5ge8y0.png\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/5t\/ba\/pw\/5tbapwosxnjwma2wxnznoj3ntfm.png\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rj\/l8\/jb\/rjl8jbpximeqbwahvzmrdbummm4.png\"><\/p>\n<p>  \u041d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0432\u044b\u0448\u0435 \u043d\u0435 \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 <i>feature_1<\/i>. \u0427\u0442\u043e \u0436, \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u0434\u0435\u0439 \u043f\u043e \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0438 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u044f \u0432\u043e\u0437\u043d\u044f \u0441 \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0440\u0430\u0441\u043d\u043e\u0439. \u042f, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u043b\u044b\u0448\u0430\u043b \u043f\u0440\u043e \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u044b, \u0433\u0434\u0435 \u0440\u0435\u0431\u044f\u0442\u0430 \u0440\u0430\u0437\u043c\u0435\u0447\u0430\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u043d\u043e \u043d\u0435 \u043a\u043e\u0433\u0434\u0430 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u0441\u043e\u0442\u043d\u044f\u0445 \u0438 \u0442\u044b\u0441\u044f\u0447\u0430\u0445 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432.<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h3>\n<p>  <b>1. \u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438<\/b><\/p>\n<p>  \u041e\u0441\u043e\u0437\u043d\u0430\u0432, \u0447\u0442\u043e \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e, \u044f \u043f\u0440\u0438\u043d\u044f\u043b\u0441\u044f \u0441\u043c\u0438\u0440\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043d\u0430\u0447\u0430\u0442\u044c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e. \u042f \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0432 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Collaborative_filtering\">\u043a\u043e\u043b\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044e<\/a> (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 item-based) \u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_factorization_(recommender_systems)\">\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043c\u0430\u0442\u0440\u0438\u0446<\/a>.<\/p>\n<p>  \u0412 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435 \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043d\u0430 python: <a href=\"https:\/\/github.com\/benfred\/implicit\">implicit<\/a> \u0438 <a href=\"https:\/\/github.com\/lyst\/lightfm\">LightFM<\/a>. \u041f\u0435\u0440\u0432\u0430\u044f \u0443\u043c\u0435\u0435\u0442 \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 ALS, \u0430 \u0442\u0430\u043a\u0436\u0435 Nearest Neighbour Collaborative Filtering \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 item-item \u043c\u0430\u0442\u0440\u0438\u0446\u044b. \u0423 \u0432\u0442\u043e\u0440\u043e\u0439 \u0434\u0432\u0430 \u043e\u0442\u043b\u0438\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u043a\u0442\u043e\u0440\u0430: <\/p>\n<ul>\n<li>\u0424\u0430\u043a\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 SGD, \u0447\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0442\u0435\u0440\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u044d\u043c\u043f\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 <a href=\"https:\/\/lyst.github.io\/lightfm\/docs\/examples\/warp_loss.html\">WARP<\/a>.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u044f \u0432 \u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e \u043b\u0430\u0442\u0435\u043d\u0442\u043d\u044b\u0439 \u0432\u0435\u043a\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u2014 \u0441\u0443\u043c\u043c\u0430 \u043b\u0430\u0442\u0435\u043d\u0442\u043d\u044b\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u0435\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432. \u0418 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u0430\u0439\u0442\u0435\u043c\u043e\u0432. \u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0447\u0440\u0435\u0437\u0432\u044b\u0447\u0430\u0439\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\/\u0430\u0439\u0442\u0435\u043c\u0430.<\/li>\n<\/ul>\n<p>  \u0410\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443 \u043d\u0430\u0441 \u043d\u0435 \u0431\u044b\u043b\u043e (\u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0438\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0444\u0438\u043b\u044c\u043c\u0430\u043c\u0438), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0430\u0439\u0442\u0435\u043c\u043e\u0432.<\/p>\n<p>  \u0418\u0442\u043e\u0433\u043e \u043d\u0430 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c 6 \u0441\u0435\u0442\u0442\u0438\u043d\u0433\u043e\u0432. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f \u0442\u0440\u0435\u0445 \u043c\u0430\u0442\u0440\u0438\u0446, \u0433\u0434\u0435 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0438 \u0431\u044b\u043b\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u044b \u043a \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443. \u0421\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441 \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0441\u0435\u0442\u0442\u0438\u043d\u0433\u0430 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0438\u0436\u0435.  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td><b>Model<\/b><\/td>\n<td><b>Test MNAP@20<\/b><\/td>\n<\/tr>\n<tr>\n<td>Implicit ALS<\/td>\n<td>0.02646<\/td>\n<\/tr>\n<tr>\n<td>Implicit Cosine kNN CF<\/td>\n<td><b>0.03170<\/b><\/td>\n<\/tr>\n<tr>\n<td>Implicit TFIDF kNN CF<\/td>\n<td>0.03113<\/td>\n<\/tr>\n<tr>\n<td>LightFM (without item features), BPR loss<\/td>\n<td>0.02567<\/td>\n<\/tr>\n<tr>\n<td>LightFM (without item features), WARP loss<\/td>\n<td>0.02632<\/td>\n<\/tr>\n<tr>\n<td>LightFM with item features, WARP loss<\/td>\n<td>0.02635<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u043b\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u0441\u0435\u0431\u044f \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438. \u041d\u0435 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e, \u043d\u043e \u043e\u0442 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430 \u043c\u043d\u043e\u0433\u043e\u0433\u043e \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f. \u0421\u0430\u0431\u043c\u0438\u0442 \u0441 \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u0434\u0430\u043b 0.03048 \u043d\u0430 public \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0435. \u0423\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u043d\u044e \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u043d\u0430 \u0442\u043e \u0432\u0440\u0435\u043c\u044f, \u043d\u043e \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0436\u0435 \u044d\u0442\u043e\u0442 \u0441\u0430\u0431\u043c\u0438\u0442 \u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043f\u0430\u043b \u0431\u044b \u0432 \u0442\u043e\u043f-80 \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u043b \u0431\u0440\u043e\u043d\u0437\u043e\u0432\u0443\u044e \u043c\u0435\u0434\u0430\u043b\u044c\u043a\u0443.<\/p>\n<p>  <b>2. \u041f\u0440\u0438\u0432\u0435\u0442 \u0431\u0443\u0441\u0442\u0438\u043d\u0433\u0443<\/b><\/p>\n<p>  \u0427\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u043e\u0434\u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u044c? \u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e: \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0435\u043b\u0435\u0439. <\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u0441\u0442\u0430\u043b\u043e \u0430\u043d\u0441\u0430\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043b\u0438, \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439, \u0440\u0430\u043d\u0436\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u044f \u0432\u0437\u044f\u043b <a href=\"https:\/\/habr.com\/ru\/company\/avito\/blog\/439206\/\">\u044d\u0442\u0443<\/a> \u0441\u0442\u0430\u0442\u044c\u044e \u043e\u0442 \u0440\u0435\u0431\u044f\u0442 \u0438\u0437 Avito. \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u0433\u043e\u0442\u043e\u0432\u0438\u043b \u0441\u0442\u0440\u043e\u0433\u043e \u043f\u043e \u0440\u0435\u0446\u0435\u043f\u0442\u0443, \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043c\u0435\u0448\u0438\u0432\u0430\u044f \u0438 \u043f\u0440\u0438\u043f\u0440\u0430\u0432\u043b\u044f\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438 \u0444\u0438\u043b\u044c\u043c\u043e\u0432. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435\u043c \u0431\u044b\u043b\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432: \u044f \u0431\u0440\u0430\u043b \u0442\u043e\u043f-200 \u0438\u0437 LightFM, \u0442.\u043a. \u043f\u0440\u0438 500 000 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u0435\u0449\u0430\u043b\u043e\u0441\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u044c.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435, \u0441\u043a\u043e\u0440, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0439 \u043c\u043d\u043e\u0439 \u043d\u0430 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438, \u0431\u044b\u043b \u0445\u0443\u0436\u0435, \u0447\u0435\u043c \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u043d\u0435\u0439 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438\u0448\u043b\u043e \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0430\u043c\u043e. \u0418\u043b\u0438 \u044f \u043d\u0435 \u0443\u043c\u0435\u044e \u044d\u0442\u043e \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c (\u0441\u043f\u043e\u0439\u043b\u0435\u0440: \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u043e\u0442\u0432\u0435\u0442). \u0427\u0442\u043e \u0436\u0435 \u044f \u0434\u0435\u043b\u0430\u044e \u043d\u0435 \u0442\u0430\u043a? \u041d\u0430 \u0443\u043c \u043f\u0440\u0438\u0448\u043b\u0438 \u0434\u0432\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b:<\/p>\n<ul>\n<li>\u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0431\u0440\u0430\u0442\u044c \u0442\u043e\u043f-200 \u0438\u0437 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0437\u0434\u0440\u0430\u0432\u043e \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u00abhard negative\u00bb \u0441\u044d\u043c\u043f\u043b\u043e\u0432, \u0442.\u0435. \u0442\u0435\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432, \u0447\u0442\u043e \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u0438\u043c. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043f\u0435\u0440\u0438\u043e\u0434\u0435, \u0430 \u043c\u044b \u043f\u043e\u0434\u0430\u0435\u043c \u044d\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u0430\u043a \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0435. \u0414\u0430\u043b\u0435\u0435 \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u043d\u0438\u0437\u0438\u0442\u044c \u0440\u0438\u0441\u043a\u0438 \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u043a\u0442\u0430, \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0432 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u043c: \u0432\u0437\u044f\u043b \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u0432\u0441\u0435 \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b + \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435. \u0421\u043a\u043e\u0440 \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u043d\u0435 \u0443\u043b\u0443\u0447\u0448\u0438\u043b\u0441\u044f. \u0422\u0443\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u0441\u0435\u043c\u043f\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430 \u0442\u0435\u0441\u0442\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u0438 \u0442\u043e\u043f-\u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0438\u0437 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f, \u0438\u0431\u043e \u043d\u0430 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0435 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0441\u043a\u0430\u0436\u0435\u0442 \u043c\u043d\u0435 \u0432\u0441\u0435 \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b.<\/li>\n<li>\u0418\u0437 10 200 \u0444\u0438\u043b\u044c\u043c\u043e\u0432, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435, \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u043b\u0438\u0441\u044c \u043b\u0438\u0448\u044c \u0441 8 296 \u0444\u0438\u043b\u044c\u043c\u043e\u0432. \u0415\u0449\u0435 \u043f\u043e\u0447\u0442\u0438 2 000 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0431\u044b\u043b\u0438 \u043b\u0438\u0448\u0435\u043d\u044b \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043e\u0442\u0447\u0430\u0441\u0442\u0438 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0431\u044b\u043b\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438\/\u0430\u0440\u0435\u043d\u0434\u044b\/\u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438. \u0420\u0435\u0431\u044f\u0442\u0430 \u0432 \u0447\u0430\u0442\u0435 \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b\u0438, \u043c\u043e\u0433\u0443\u0442 \u043b\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0444\u0438\u043b\u044c\u043c\u044b \u0441\u0442\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043f\u0435\u0440\u0438\u043e\u0434\u0435. \u041e\u0442\u0432\u0435\u0442 \u0431\u044b\u043b \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439. \u0412\u044b\u043a\u0438\u0434\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043d\u0435\u043b\u044c\u0437\u044f. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043b, \u0447\u0442\u043e \u0435\u0449\u0435 \u043f\u043e\u0447\u0442\u0438 2 000 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0435 2 \u043c\u0435\u0441\u044f\u0446\u0430. \u0418\u043d\u0430\u0447\u0435 \u0437\u0430\u0447\u0435\u043c \u0437\u0430\u043a\u0438\u0434\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442?<\/li>\n<\/ul>\n<p>  <b>3. \u041d\u0435\u0439\u0440\u043e\u043d\u043e\u0447\u043a\u0438<\/b><\/p>\n<p>  \u0418\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430 \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u0438\u043b\u044c\u043c\u0430\u043c\u0438, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0435\u0449\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439? \u0414\u0430, \u0432\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c item features \u0432 LightFM, \u043d\u043e \u043a\u0430\u043a \u043f\u043e\u043c\u043d\u0438\u043c, \u043e\u043d\u0438 \u043d\u0435 \u0437\u0430\u0448\u043b\u0438. \u0427\u0442\u043e \u0435\u0449\u0435? \u041d\u0435\u0439\u0440\u043e\u043d\u043a\u0438!<\/p>\n<p>  \u0412 \u0430\u0440\u0441\u0435\u043d\u0430\u043b\u0435 open source \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438: <a href=\"https:\/\/maciejkula.github.io\/spotlight\/index.html\">Spotlight <\/a>\u043e\u0442 Maciej Kula (\u0430\u0432\u0442\u043e\u0440\u0430 LightFM) \u0438 <a href=\"https:\/\/github.com\/jfkirk\/tensorrec\">TensorRec<\/a>. \u0423 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c PyTorch, \u0443 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u2014 Tensorflow.<\/p>\n<p>  Spotlight \u0443\u043c\u0435\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430 implicit\/explicit-\u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430\u0445 \u043d\u0435\u0439\u0440\u043e\u043d\u043a\u0430\u043c\u0438 \u0438 sequence \u043c\u043e\u0434\u0435\u043b\u0438. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c user\/item-\u0444\u0438\u0447\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0440\u043e\u0441\u0430\u0435\u043c. <\/p>\n<p>  TensorRec, \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u0442\u043e\u043b\u044c\u043a\u043e \u0438 \u0443\u043c\u0435\u0435\u0442 \u0447\u0442\u043e \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043a\u0430\u0440\u043a\u0430\u0441: <\/p>\n<ul>\n<li>representation graph \u2014 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f (\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c \u0434\u043b\u044f user\/item) \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 embedding, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0440\u0430\u0441\u0447\u0435\u0442\u044b \u0432 prediction graph. \u0412\u044b\u0431\u043e\u0440 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0441\u043b\u043e\u0435\u0432 \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0439. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u0438 \u0432\u043e\u0442\u043a\u043d\u0443\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u043b\u043e\u0435\u0432 keras.<\/li>\n<li>prediction graph \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u0432 \u043a\u043e\u043d\u0446\u0435: \u043b\u044e\u0431\u0438\u043c\u044b\u0439 dot product, euclidean \u0438 cosine distance.<\/li>\n<li>loss \u2014 \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c, \u0438\u0437 \u0447\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c. \u041f\u043e\u0440\u0430\u0434\u043e\u0432\u0430\u043b\u0430 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f WMRB (\u043f\u043e \u0441\u0443\u0442\u0438 \u0442\u043e\u0442 \u0436\u0435 WARP, \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043c\u0435\u0435\u0442 \u043e\u0431\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0431\u0430\u0442\u0447\u0430\u043c\u0438 \u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e)<\/li>\n<\/ul>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e TensorRec \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u043c\u0438 \u0444\u0438\u0447\u0430\u043c\u0438, \u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u0438\u0437\u043d\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0438\u0434\u0435\u0435\u0439 LightFM. \u0427\u0442\u043e \u0436, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c. \u0411\u0435\u0440\u0435\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (\u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438) \u0438 item features. <\/p>\n<p>  \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439 \u0438 \u0436\u0434\u0435\u043c. \u041f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 LightFM \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u043d\u0435\u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0433\u043e.<\/p>\n<p>  \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e, \u0431\u044b\u043b\u0430 \u0435\u0449\u0435 \u043f\u0430\u0440\u0430 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f: <\/p>\n<ol>\n<li>\u041e\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0444\u043b\u0430\u0433\u0430 verbose \u0443 \u043c\u0435\u0442\u043e\u0434\u0430 <i>fit<\/i> \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u043e\u0441\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0432\u0430\u043c callback\u2019\u043e\u0432 \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0434\u0435\u043b\u0430\u043b\u0430 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0439 \u044d\u043f\u043e\u0445\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043c\u0435\u0442\u043e\u0434 <i>fit_partial<\/i>, \u0430 \u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u043b\u0430 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0434\u043b\u044f train \u0438 test (\u0432 \u043e\u0431\u043e\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u044d\u043c\u043f\u043b\u044b \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430). <\/li>\n<li>\u0412 \u0446\u0435\u043b\u043e\u043c, \u0430\u0432\u0442\u043e\u0440 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043c\u043e\u043b\u043e\u0434\u0435\u0446 \u0438 \u0432\u0435\u0437\u0434\u0435 \u0443\u0442\u0438\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 tf.SparseTensor. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 prediction, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438, \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 dense \u0432\u0438\u0434\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u0441 \u0434\u043b\u0438\u043d\u043e\u0439 n_items \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044e\u0437\u0435\u0440\u0430. \u0418\u0437 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0434\u0432\u0430 \u0441\u043e\u0432\u0435\u0442\u0430: \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0446\u0438\u043a\u043b \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0431\u0430\u0442\u0447\u0430\u043c\u0438 (\u043c\u0435\u0442\u043e\u0434 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442) \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 top-k \u0438 \u0433\u043e\u0442\u043e\u0432\u044c\u0442\u0435 \u043f\u043b\u0430\u043d\u043a\u0438 \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u044c\u044e.<\/li>\n<\/ol>\n<p>  \u0412 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u043d\u0430 \u043b\u0443\u0447\u0448\u0435\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0432\u044b\u0436\u0430\u0442\u044c 0.02869 \u043d\u0430 \u043c\u043e\u0435\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435. \u041d\u0430 LB \u0431\u044b\u043b\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u0435. <\/p>\n<p>  \u041d\u0443 \u0430 \u043d\u0430 \u0447\u0442\u043e \u044f \u043d\u0430\u0434\u0435\u044f\u043b\u0441\u044f? \u0427\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0441\u0442\u0438 \u0432 item features \u0434\u0430\u0441\u0442 \u0434\u0432\u0443\u043a\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u0432 \u043c\u0435\u0442\u0440\u0438\u043a\u0435? \u041d\u0430\u0438\u0432\u043d\u043e. <\/p>\n<p>  <b>4. \u0411\u0435\u043a \u0442\u0443 \u0442\u0430\u0441\u043a<\/b><\/p>\n<p>  \u0422\u0430\u043a, \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435. \u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u044f \u0441\u043d\u043e\u0432\u0430 \u0443\u043f\u043e\u0440\u043e\u043b\u0441\u044f \u0432 \u0436\u043e\u043d\u0433\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043a\u0430\u043c\u0438. \u041a\u0430\u043a\u0443\u044e \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0445\u043e\u0442\u0435\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0437\u044f\u043b\u0441\u044f \u0437\u0430 \u044d\u0442\u043e \u0434\u0435\u043b\u043e? \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u0437\u0432\u0443\u0447\u0430\u043b\u0430 \u0442\u0430\u043a: \u00ab\u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 2 \u043c\u0435\u0441\u044f\u0446\u0430 \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043d\u0430 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u044f\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0438 2 000 \u043d\u043e\u0432\u044b\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432. \u0427\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u0437\u0430\u0431\u0435\u0440\u0435\u0442 \u043d\u0430 \u0441\u0435\u0431\u044f \u0443\u0432\u0435\u0441\u0438\u0441\u0442\u0443\u044e \u0434\u043e\u043b\u044e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432\u00bb. <\/p>\n<p>  \u0422\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u044d\u0442\u043e \u0432 2 \u0448\u0430\u0433\u0430:<\/p>\n<ol>\n<li>\u041d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443 \u043d\u0430\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0432 \u0447\u0435\u0441\u0442\u043d\u043e \u043e\u0442\u043a\u043e\u043b\u043e\u0442\u043e\u043c \u043d\u0430\u043c\u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043f\u0435\u0440\u0438\u043e\u0434\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e train. \u0415\u0441\u043b\u0438 \u0431\u0440\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u044b, \u0442\u043e \u00ab\u043d\u043e\u0432\u044b\u0445\u00bb \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0432\u0441\u0435\u0433\u043e 240(!). \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0448\u0430\u0442\u043d\u0443\u043b\u0430\u0441\u044c. \u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0437\u0430\u043a\u0443\u043f\u043a\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0442\u0430\u043a\u043e\u0435 \u043a\u043e\u043b-\u0432\u043e \u043e\u0442 \u043f\u0435\u0440\u0438\u043e\u0434\u0430 \u043a \u043f\u0435\u0440\u0438\u043e\u0434\u0443.<\/li>\n<li>\u0414\u043e\u0431\u0438\u0432\u0430\u0435\u043c. \u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0431\u0443\u0447\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 item features (\u0432 LightFM, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0441\u043b\u0438 \u043c\u044b \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0435 \u0437\u0430\u0441\u0442\u044d\u043a\u0430\u043b\u0438 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0441 identity \u043c\u0430\u0442\u0440\u0438\u0446\u0435\u0439). \u0414\u0430\u043b\u0435\u0435 \u0434\u043b\u044f \u0438\u043d\u0444\u0440\u0435\u043d\u0435\u0441\u0430 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0434\u0430\u0442\u044c \u0432 \u044d\u0442\u0443 \u043c\u043e\u0434\u0435\u043b\u044c \u0442\u043e\u043b\u044c\u043a\u043e(!) \u043d\u0430\u0448\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0438 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0440\u0430\u043d\u0435\u0435 \u0444\u0438\u043b\u044c\u043c\u044b. \u0418\u0437 \u044d\u0442\u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0430\u0431\u043c\u0438\u0442 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c 0.0000136.<\/li>\n<\/ol>\n<p>  \u0411\u0438\u043d\u0433\u043e! \u0417\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0442\u044c \u00ab\u0432\u044b\u0436\u0438\u043c\u0430\u0442\u044c\u00bb \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u0443 \u0438\u0437 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0444\u0438\u043b\u044c\u043c\u043e\u0432. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438, \u043d\u0430 DataFest \u0440\u0435\u0431\u044f\u0442\u0430 \u0438\u0437 \u041e\u041a\u041a\u041e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0431\u044b\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0441\u0442\u0430\u0440\u044b\u0435 \u0444\u0438\u043b\u044c\u043c\u044b.<\/p>\n<p>  \u041d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435, \u0430 \u043d\u043e\u0432\u043e\u0435 \u2014 \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u0431\u044b\u0442\u043e\u0435 \u0441\u0442\u0430\u0440\u043e\u0435. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0437\u0430\u0431\u044b\u0442\u043e\u0435, \u0430 \u0442\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043f\u0430\u0440\u0443 \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434. \u041a\u043e\u043b\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f?<\/p>\n<p>  <b>5. \u0422\u044e\u043d\u0438\u043c \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d<\/b><\/p>\n<p>  \u0427\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u043e\u0447\u044c \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0443 \u0441 CF?<\/p>\n<p>  <b>\u0418\u0434\u0435\u044f \u21161<\/b><\/p>\n<p>  \u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u0445 \u044f \u043d\u0430\u0448\u0435\u043b \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u0440\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 likelihood ratio test \u0441 \u0446\u0435\u043b\u044c\u044e \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432. <\/p>\n<p>  \u041d\u0438\u0436\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u043d\u0430 python \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 LLR score, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u044d\u0442\u043e\u0439 \u0438\u0434\u0435\u0438.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 LLR<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">import numpy as np from scipy.sparse import csr_matrix from tqdm import tqdm  class LLR:      def __init__(self, interaction_matrix, interaction_matrix_2=None):          interactions, lack_of_interactions = self.make_two_tables(interaction_matrix)         if interaction_matrix_2 is not None:             interactions_2, lack_of_interactions_2 = self.make_two_tables(interaction_matrix_2)         else:             interactions_2, lack_of_interactions_2 = interactions, lack_of_interactions          self.num_items = interaction_matrix.shape[1]         self.llr_matrix = np.zeros((self.num_items, self.num_items))          # k11 - item-item co-occurrence         self.k_11 = np.dot(interactions, interactions_2.T)         # k12 - how many times row elements was bought without column elements         self.k_12 = np.dot(interactions, lack_of_interactions_2.T)         # k21 - how many times column elements was bought without row elements         self.k_21 = np.dot(lack_of_interactions, interactions_2.T)         # k22 - how many times elements was not bought together         self.k_22 = np.dot(lack_of_interactions, lack_of_interactions_2.T)      def make_two_tables(self, interaction_matrix):         interactions = interaction_matrix         if type(interactions) == csr_matrix:             interactions = interactions.todense()         interactions = np.array(interactions.astype(bool).T)         lack_of_interactions = ~interactions         interactions = np.array(interactions, dtype=np.float32)         lack_of_interactions = np.array(lack_of_interactions, dtype=np.float32)         return interactions, lack_of_interactions      def entropy(self, k):         N = np.sum(k)         return np.nansum((k \/ N + (k == 0)) * np.log(k \/ N))      def get_LLR(self, item_1, item_2):         k = np.array([[self.k_11[item_1, item_2], self.k_12[item_1, item_2]],                       [self.k_21[item_1, item_2], self.k_22[item_1, item_2]]])          LLR = 2 * np.sum(k) * (self.entropy(k) - self.entropy(np.sum(k, axis=0)) - self.entropy(np.sum(k, axis=1)))         return LLR      def compute_llr_matrix(self):         for item_1 in range(self.num_items):             for item_2 in range(item_1, self.num_items):                  self.llr_matrix[item_1, item_2] = self.get_LLR(item_1, item_2)                  if item_1 != item_2:                     self.llr_matrix[item_2, item_1] = self.llr_matrix[item_1, item_2]       def get_top_n(self, n=100, mask=False):         filtered_matrix = self.llr_matrix.copy()         for i in tqdm(range(filtered_matrix.shape[0])):             ind = np.argpartition(filtered_matrix[i], -n)[-n:]             filtered_matrix[i][[x for x in range(filtered_matrix.shape[0]) if x not in ind]] = 0          if mask:             return filtered_matrix != 0         else:             return filtered_matrix <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043c\u0430\u0441\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438 \u0437\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c threshold \u0438\u043b\u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c top-k \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u043d\u0430\u0438\u0432\u044b\u0441\u0448\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c. \u0422\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0432\u043b\u0438\u044f\u043d\u0438\u0439 \u043d\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0443 \u0432 \u043e\u0434\u0438\u043d \u0441\u043a\u043e\u0440 \u0434\u043b\u044f \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u0439\u0442\u0435\u043c\u043e\u0432, \u0438\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u0442\u0435\u0441\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u043e, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0432 \u043f\u043e\u043a\u0443\u043f\u043a\u0443. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0435\u0449\u0430\u044e\u0449\u0435, \u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e, \u0447\u0442\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c LLR score \u0434\u0430\u0435\u0442 \u0441\u043e\u0432\u0441\u0435\u043c \u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u044b\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442, \u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u043a\u043e\u0440\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0445\u0443\u0434\u0448\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u0412\u0438\u0434\u0438\u043c\u043e, \u0441\u043f\u043e\u0441\u043e\u0431 \u043d\u0435 \u043f\u043e\u0434 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435. \u0418\u0437 \u043f\u043b\u044e\u0441\u043e\u0432 \u043c\u043e\u0433\u0443 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044f\u0441\u044c \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u0434\u0435\u044e, \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u043a\u043e\u043f\u0430\u0442\u044c\u0441\u044f \u0443 implicit \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438 \u0432 implicit \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u043f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0432 implicit<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\"># \u0421\u0447\u0438\u0442\u0430\u0435\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443 LLR scores.  \u0418\u0442\u043e\u0433\u043e\u0432\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u0442\u0440\u0438\u0446\u0430 n_items * n_items. llr = LLR(train_csr, train_csr) llr.compute_llr_matrix() # \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u0430\u0441\u043a\u0443 \u043f\u043e id, \u0444\u0438\u043b\u044c\u043c\u043e\u0432, \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u044b llr_based_mask = llr.get_top_n(n=500, mask=True)  # \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0438 \u043e\u0431\u0443\u0447\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 - CosineRecommender. model = CosineRecommender(K=10200) model.fit(train_csr.T)  # model.similarity - \u0442\u043e\u0436\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u0430 co-occurrence (\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 Cosine - \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f). \u0415\u0451 \u0442\u043e \u043c\u044b \u0438 \u0431\u0443\u0434\u0435\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0435\u0439 \u043c\u0430\u0441\u043a\u043e\u0439. masked_matrix = np.array(model.similarity.todense()) * llr_based_mask # \u041f\u043e\u0441\u043b\u0435 fit() \u043d\u0430\u0448 scorer \u0431\u044b\u043b \u043f\u0440\u043e\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u0440\u0430\u0437 model.similarity. # \u041f\u0435\u0440\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0439 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u0435\u0439. model.scorer = NearestNeighboursScorer(csr_matrix(masked_matrix))  # \u041d\u0443 \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u0432\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043c\u0435\u0442\u043e\u0434 recommend \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0438\u043a\u0442\u043e\u0432. test_predict = {} for id_ in tqdm(np.unique(test_csr.nonzero()[0])):     test_predict[id_] = model.recommend(id_, train_csr, filter_already_liked_items=True, N=20) # \u043d\u0430\u043c \u0432\u0435\u0440\u043d\u0443\u043b\u0438\u0441\u044c tuples (item_id, score), \u0437\u0430\u0431\u0435\u0440\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e id \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438. test_predict_ids = {k: [x[0] for x in v] for k, v in test_predict.items()}  # \u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043f\u043e\u0434\u043c\u0435\u043d\u043e\u0439\/\u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u044b, \u0443\u0442\u0438\u043b\u0438\u0437\u0438\u0440\u0443\u044f \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 Cython.<\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <b>\u0418\u0434\u0435\u044f \u21162<\/b><\/p>\n<p>  \u041f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u0438\u0434\u0435\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0433\u043b\u0430 \u0431\u044b \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u043b\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438. \u0412 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u044b\u0445 \u043e\u0446\u0435\u043d\u043e\u043a, \u043d\u043e \u0443 \u043d\u0430\u0441 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c 2 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043a\u0435\u0439\u0441\u0430: <\/p>\n<ol>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043c\u043e\u0442\u0440\u044f\u0442 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043d\u043e\u0432\u0438\u043d\u043a\u0438<\/li>\n<li>\u00ab\u0414\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0449\u0438\u0435\u00bb. \u0422\u043e \u0435\u0441\u0442\u044c \u0442\u0435, \u043a\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0438 \u043c\u043e\u0433\u0443\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0430\u043d\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0444\u0438\u043b\u044c\u043c\u044b. <\/li>\n<\/ol>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u043e\u043b\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0443\u044e \u043d\u0430 \u0434\u0432\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u0433\u0440\u0443\u043f\u043f\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0432\u044b\u0434\u0443\u043c\u0430\u043b \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u0432\u043c\u0435\u0441\u0442\u043e implicit-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u00ab1\u00bb \u0438\u043b\u0438 \u00ab0\u00bb \u043d\u0430 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0444\u0438\u043b\u044c\u043c\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u0435\u043d \u044d\u0442\u043e\u0442 \u0444\u0438\u043b\u044c\u043c \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/961\/b32\/2e2\/961b322e26cf5d089af3f772d77c3cd8.svg\" alt=\"$confidence(movie) =\u03b1*StartTime + \u03b2*\u0394WatchTime$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0433\u0434\u0435 <i>StartTime<\/i> \u2014 \u0434\u0430\u0442\u0430 \u0432\u044b\u0445\u043e\u0434\u0430 \u0444\u0438\u043b\u044c\u043c\u0430, \u0430 <i>\u0394WatchTime<\/i> \u2014 \u044d\u0442\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u0434\u0430\u0442\u043e\u0439 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438 \u0434\u0430\u0442\u043e\u0439 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c, \u0430 <i>\u03b1 <\/i>\u0438 <i>\u03b2<\/i> \u2014 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043f\u0435\u0440\u0432\u043e\u0435 \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u043e\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u0440 \u0444\u0438\u043b\u044c\u043c\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0432\u044b\u0448\u043b\u0438, \u0430 \u0432\u0442\u043e\u0440\u043e\u0435 \u2014 \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0441\u0442\u0440\u0430\u0441\u0442\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043a \u0441\u0442\u0430\u0440\u044b\u043c \u0444\u0438\u043b\u044c\u043c\u0430\u043c. \u0415\u0441\u043b\u0438 \u043a\u0438\u043d\u043e \u0432\u044b\u0448\u043b\u043e \u0434\u0430\u0432\u043d\u043e, \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0435\u0433\u043e \u0441\u0440\u0430\u0437\u0443 \u043a\u0443\u043f\u0438\u043b, \u0442\u043e \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c, \u044d\u0442\u043e\u0442 \u0444\u0430\u043a\u0442 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u043d\u043e\u0432\u0438\u043d\u043a\u0430, \u0442\u043e \u043d\u0430\u0434\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0431\u043e\u043b\u044c\u0448\u0435\u043c\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u043a\u0436\u0435 \u0441\u043c\u043e\u0442\u0440\u044f\u0442 \u043d\u043e\u0432\u0438\u043d\u043a\u0438. \u0415\u0441\u043b\u0438 \u0436\u0435 \u043a\u0438\u043d\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u0440\u0435\u0432\u043d\u0435\u0435, \u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0435\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u0442\u043e \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0432\u0430\u0436\u043d\u044b\u043c \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0436\u0435, \u043a\u0430\u043a \u043e\u043d.<\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043c\u0435\u043b\u043e\u0447\u044c \u2014 \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b <i>\u03b1 <\/i>\u0438 <i>\u03b2<\/i>. \u041e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043d\u043e\u0447\u044c, \u0438 \u0434\u0435\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u0441\u043e\u0432\u0441\u0435\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u0431\u044b\u043b \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c, \u0430 \u043d\u0438\u0436\u0435 \u0443\u0436\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u043f\u0442\u0438\u043c\u0443\u043c\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ej\/iy\/qk\/ejiyqkpfmhz43nlifcd3o_zv40o.png\"><\/p>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u044d\u0442\u043e\u0439 \u0438\u0434\u0435\u0438 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u0435 \u0434\u0430\u043b\u0430 \u0441\u043a\u043e\u0440 0.03627 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0438 0.03685 \u043d\u0430 public LB, \u0447\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0431\u0443\u0441\u0442 \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438. \u041d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u0442\u043e \u0432\u044b\u0432\u0435\u043b\u043e \u043c\u0435\u043d\u044f, \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0432 \u0442\u043e\u043f-20.<\/p>\n<p>  <b>\u0418\u0434\u0435\u044f \u21163 <\/b><\/p>\n<p>  \u0424\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u0434\u0435\u0435\u0439 \u0431\u044b\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u0441\u0442\u0430\u0440\u044b\u0435 \u0444\u0438\u043b\u044c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0434\u0430\u0432\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435. \u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u043e\u0442\u0441\u0435\u0432\u0430 \u0432 CF \u0447\u0430\u0441\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043f\u0440\u0443\u043d\u0438\u043d\u0433\u043e\u043c. \u041f\u0435\u0440\u0435\u0431\u0435\u0440\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pk\/xd\/uk\/pkxduk8vw3eyyojevyibbesixbi.png\"><\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441 \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0435\u0439 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 25 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439.<\/p>\n<p>  \u0418\u0442\u043e\u0433\u043e, \u043f\u0443\u0442\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0441\u043a\u043e\u0440\u0430 0.040312 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435, \u0430 \u0441\u0430\u0431\u043c\u0438\u0442 \u0441 \u044d\u0442\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0434\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 0.03870 \u0438 0.03990 \u043d\u0430 public\/private \u0447\u0430\u0441\u0442\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u043b \u043c\u0435\u043d\u044f 14-\u043c \u043c\u0435\u0441\u0442\u043e\u043c \u0438 \u0444\u0443\u0442\u0431\u043e\u043b\u043a\u043e\u0439.<\/p>\n<h3>Acknowledgments<\/h3>\n<p>  \u0412\u0435\u0441\u0442\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0432 jupyter notebook \u2014 \u043d\u0435\u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0435 \u0434\u0435\u043b\u043e. \u0422\u044b \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0442\u0435\u0440\u044f\u0435\u0448\u044c\u0441\u044f \u0432 \u0441\u0432\u043e\u0435\u043c \u043a\u043e\u0434\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043a\u0438\u0434\u0430\u043d \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u0442\u0435\u0442\u0440\u0430\u0434\u044f\u043c. \u0410 \u0442\u0440\u0435\u043a\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 output \u044f\u0447\u0435\u0435\u043a \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u043f\u0430\u0441\u043d\u043e \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0442\u0430\u0441\u0430\u0435\u043d\u0442\u0438\u0441\u0442\u044b \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0442\u043e \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0442. \u041c\u044b \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u0432\u043e\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 <a href=\"https:\/\/drivendata.github.io\/cookiecutter-data-science\/\">cookiecutter-data-science<\/a> \u2014 Ocean. \u042d\u0442\u043e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u041e \u0435\u0433\u043e \u043f\u043b\u044e\u0441\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/habr.com\/ru\/company\/surfstudio\/blog\/459340\/\">\u0441\u0442\u0430\u0442\u044c\u0435<\/a>. \u0412\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0445\u043e\u0440\u043e\u0448\u0435\u043c\u0443 \u043f\u043e\u0434\u0445\u043e\u0434\u0443 \u043a \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u044f \u043d\u0435 \u0441\u043e\u0448\u0451\u043b \u0441 \u0443\u043c\u0430 \u0438 \u043d\u0435 \u0437\u0430\u043f\u0443\u0442\u0430\u043b\u0441\u044f \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0433\u0438\u043f\u043e\u0442\u0435\u0437.<\/p>\n<h3>\u0421\u0435\u043a\u0440\u0435\u0442 \u0443\u0441\u043f\u0435\u0445\u0430 (\u043d\u0435 \u043c\u043e\u0435\u0433\u043e)<\/h3>\n<p>   \u041a\u0430\u043a \u0441\u0442\u0430\u043b\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f private \u0447\u0430\u0441\u0442\u0438 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0430, \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0440\u0435\u0431\u044f\u0442\u0430 \u0441 \u0442\u043e\u043f\u043e\u0432\u044b\u043c\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u0438 \u0431\u0443\u0441\u0442\u0438\u043d\u0433 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0444\u0438\u0447\u0430\u043c\u0438 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c. \u041a\u0430\u043a \u044f \u043f\u043e\u043d\u044f\u043b \u043f\u043e\u0442\u043e\u043c, \u043c\u043e\u0438\u043c \u043f\u0440\u043e\u043a\u043e\u043b\u043e\u043c \u0432 \u044d\u0442\u043e\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0441\u0442\u0430\u043b \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u042f \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0442\u0430\u043a: <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vq\/c1\/ds\/vqc1dsjoq63esgrlttp3v9-ky2g.jpeg\"><\/p>\n<p>  \u041e\u0441\u043e\u0437\u043d\u0430\u0432, \u0447\u0442\u043e \u044d\u0442\u043e \u0433\u043b\u0443\u043f\u043e\u0441\u0442\u044c, \u044f \u043d\u0430\u0447\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u043d\u0443 \u0441\u043e\u0432\u0441\u0435\u043c \u0443\u0436 \u0438\u0437\u043e\u0449\u0440\u0435\u043d\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b, \u0432\u0440\u043e\u0434\u0435 \u0432\u043e\u0442 \u044d\u0442\u043e\u0433\u043e: <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/p3\/im\/w3\/p3imw3yj1ip5bvqorv_uexldawu.jpeg\"><\/p>\n<p>  \u041d\u0443 \u0430 \u0432\u0435\u0440\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u044f \u043d\u0430\u0448\u0435\u043b \u043d\u0430 \u0441\u043b\u0430\u0439\u0434\u0435 \u0438\u0437 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0421\u043c\u0438\u0440\u043d\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043d\u044f\u043b 2 \u043c\u0435\u0441\u0442\u043e. \u042d\u0442\u043e \u0431\u044b\u043b \u0441\u043f\u043b\u0438\u0442 \u043f\u043e \u044e\u0437\u0435\u0440\u0430\u043c \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u0412\u0440\u043e\u0434\u0435 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e, \u043d\u043e \u043a\u043e \u043c\u043d\u0435 \u044d\u0442\u0430 \u0438\u0434\u0435\u044f \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i9\/rs\/gw\/i9rsgwcjimnuhjbgqcpmlyaj2rk.jpeg\"><\/p>\n<h3>\u0412\u044b\u0432\u043e\u0434<\/h3>\n<p>   \u041a\u043e\u043d\u0442\u0435\u0441\u0442\u044b \u2014 \u044d\u0442\u043e \u043a\u043e\u043d\u0442\u0435\u0441\u0442\u044b. \u0422\u044f\u0436\u0435\u043b\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0430\u044e\u0442 \u0431\u041e\u043b\u044c\u0448\u0443\u044e \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0443\u043c\u0435\u0442\u044c \u0438\u0445 \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c. \u041f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u0438 \u044d\u0442\u043e\u0442 \u043e\u043f\u044b\u0442? \u0412\u043c\u0435\u0441\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u0441\u043a\u0438\u043d\u0443\u043b\u0438 \u0441\u043f\u043e\u0439\u043b\u0435\u0440 \u2014 \u0433\u0440\u0430\u0444\u0438\u043a feature importance \u0438\u0437 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043e\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u00ab\u0443\u0441\u043f\u0435\u0448\u043d\u044b\u0439\u00bb \u043f\u043e\u0434\u0445\u043e\u0434 \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435. \u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0432 \u043f\u0440\u043e\u0434\u0435 \u0442\u043e\u0436\u0435 \u0441\u0442\u0435\u043a\u0430\u044e\u0442. <\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043e\u043f\u044b\u0442 \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0431\u044b\u043b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0432 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u043b\u0430\u043d\u0435. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438; \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f, \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<\/p><\/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\/ru\/company\/surfstudio\/blog\/461055\/\"> https:\/\/habr.com\/ru\/company\/surfstudio\/blog\/461055\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hb\/u7\/gu\/hbu7guq0ic25zumfxsf5bbipkcq.png\"><\/p>\n<p>  \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 <a href=\"http:\/\/boosters.pro\">Boosters <\/a>\u043f\u0440\u043e\u0448\u0435\u043b \u043a\u043e\u043d\u0442\u0435\u0441\u0442 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043e\u0442 \u043e\u043d\u043b\u0430\u0439\u043d-\u043a\u0438\u043d\u043e\u0442\u0435\u0430\u0442\u0440\u0430 Okko \u2014 <a href=\"https:\/\/habr.com\/ru\/company\/okko\/blog\/439180\/\">Rekko Challenge 2019<\/a>. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0431\u044b\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442 \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0432 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0441 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u043e\u043c (\u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0441\u0438\u043b\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0445\u0430\u043a\u0430\u0442\u043e\u043d\u0435). \u0417\u0430\u0434\u0430\u0447\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u0430 \u043c\u043d\u0435 \u0438\u0437 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438, \u043f\u0440\u0438\u0437\u043e\u0432\u043e\u0439 \u0444\u043e\u043d\u0434 \u0435\u0441\u0442\u044c, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0431\u044b\u043b \u0441\u043c\u044b\u0441\u043b \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u0437\u0430\u043d\u044f\u043b 14 \u043c\u0435\u0441\u0442\u043e, \u0437\u0430 \u0447\u0442\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u044b \u0432\u044b\u0434\u0430\u043b\u0438 \u043f\u0430\u043c\u044f\u0442\u043d\u0443\u044e \u0444\u0443\u0442\u0431\u043e\u043b\u043a\u0443. \u041f\u0440\u0438\u044f\u0442\u043d\u043e. \u0421\u043f\u0430\u0441\u0438\u0431\u043e. <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043a\u0440\u0430\u0442\u043a\u043e \u043f\u043e\u0433\u0440\u0443\u0436\u0443 \u0432\u0430\u0441 \u0432 \u0437\u0430\u0434\u0430\u0447\u0443, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0432\u044b\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445 \u043c\u043d\u043e\u0439 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0430\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0437\u0430\u0442\u0430\u0449\u0438\u0442\u044c \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c \u0438 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u0442\u043e\u043f-15 \u0431\u0435\u0437 \u043e\u043f\u044b\u0442\u0430 \u0441\u0442\u0435\u043a\u0438\u043d\u0433\u0430, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0442\u0435\u043c, \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u0441\u0442\u0430\u0445.   <\/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-292494","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292494","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=292494"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292494\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=292494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=292494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=292494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}