{"id":494392,"date":"2026-09-11T12:45:05","date_gmt":"2026-09-11T12:45:05","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=494392"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=494392","title":{"rendered":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Perseus \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f1f\/0ec\/7cd\/f1f0ec7cd65fbc4283c7c8ef6fe28477.png\" width=\"780\" height=\"440\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/f1f\/0ec\/7cd\/f1f0ec7cd65fbc4283c7c8ef6fe28477.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f1f\/0ec\/7cd\/f1f0ec7cd65fbc4283c7c8ef6fe28477.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442! \u042f \u0410\u043d\u044f \u041d\u0438\u043a\u0438\u0444\u043e\u0440\u043e\u0432\u0430, ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0432 \u0422-\u0411\u0430\u043d\u043a\u0435. \u042d\u0442\u0438\u043c \u043b\u0435\u0442\u043e\u043c \u043d\u0430 Turbo ML Conf 2026 \u043c\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Perseus. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0433\u0435\u0442\u0435\u0440\u043e\u0433\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0445\u043e\u0440\u043e\u0448\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043a\u0440\u043e\u0441\u0441-\u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438.\u00a0<\/p>\n<p>\u0412 \u0441\u0438\u043b\u0443 \u0441\u0432\u043e\u0435\u0439 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u043c \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u043c, \u0433\u0434\u0435 \u043f\u043e \u0448\u0430\u0433\u0430\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Perseus \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Perseus \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e, \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e \u043f\u043e\u0432\u0435\u0440\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445: \u043a\u0430\u043a \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0438 \u043a\u0430\u043a \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0438\u0447\u0438, \u043e\u0431\u043e\u0433\u0430\u0449\u0430\u0442\u044c \u0435\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0438 \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c, \u043c\u0435\u043d\u044f\u044f \u043b\u0438\u0448\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<h2>\u041f\u043b\u0430\u043d \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430<\/h2>\n<p><a href=\"https:\/\/github.com\/perseus2026\/perseus\/blob\/main\/tutorial.ipynb\">\u041a\u043e\u0434 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d<\/a>, \u2014 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ef9\/69d\/bcb\/ef969dbcb10d2dfe00c66facf781ae6a.jpg\" alt=\"\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e Perseus\" title=\"\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e Perseus\" width=\"1865\" height=\"2229\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/ef9\/69d\/bcb\/ef969dbcb10d2dfe00c66facf781ae6a.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ef9\/69d\/bcb\/ef969dbcb10d2dfe00c66facf781ae6a.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e Perseus<\/figcaption><\/div>\n<\/figure>\n<p>\u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c <a href=\"https:\/\/habr.com\/ru\/companies\/tbank\/articles\/950696\/\">\u0441 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c T-ECD<\/a>, \u043e\u043d \u0431\u044b\u043b \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043d\u0430\u043c\u0438 \u0432 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0435 2025 \u0438 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 KDD-2026 (A*) \u0432 \u042e\u0436\u043d\u043e\u0439 \u041a\u043e\u0440\u0435\u0435. T-ECD \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0433\u0434\u0435 Perseus \u0443\u0436\u0435 \u0434\u043e\u043a\u0430\u0437\u0430\u043b \u0441\u0432\u043e\u044e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435. \u0420\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u043c \u043a\u044d\u0448\u0431\u0435\u043a\u0435, \u0428\u043e\u043f\u0438\u043d\u0433\u0435 \u0438 \u0421\u0443\u043f\u0435\u0440\u043c\u0430\u0440\u043a\u0435\u0442\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u0413\u043e\u0440\u043e\u0434\u00bb \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0422-\u0411\u0430\u043d\u043a\u0430.<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/68b\/24e\/5c8\/68b24e5c839a5934534b6a505f2da977.png\" alt=\"\u0420\u0430\u0437\u0434\u0435\u043b \u00ab\u0413\u043e\u0440\u043e\u0434\u00bb \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0422-\u0411\u0430\u043d\u043a\u0430\" title=\"\u0420\u0430\u0437\u0434\u0435\u043b \u00ab\u0413\u043e\u0440\u043e\u0434\u00bb \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0422-\u0411\u0430\u043d\u043a\u0430\" width=\"661\" height=\"738\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/68b\/24e\/5c8\/68b24e5c839a5934534b6a505f2da977.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/68b\/24e\/5c8\/68b24e5c839a5934534b6a505f2da977.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0420\u0430\u0437\u0434\u0435\u043b \u00ab\u0413\u043e\u0440\u043e\u0434\u00bb \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0422-\u0411\u0430\u043d\u043a\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u0430\u0442\u0430\u0441\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u044e\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0438\u0440\u043e\u0434\u0435, \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0440\u0435\u043d\u0434 \u0442\u043e\u0432\u0430\u0440\u0430 \u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u0442 \u0438 \u043f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435, \u0438 \u043f\u0440\u0438 \u0437\u0430\u043a\u0430\u0437\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435. \u0412\u0441\u0435\u0433\u043e \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u043f\u044f\u0442\u044c \u0434\u043e\u043c\u0435\u043d\u043e\u0432, \u0438 Perseus \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0435.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/07d\/326\/492\/07d326492675f5eae3f497e03915b6dd.png\" alt=\"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0446\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u0430\u0445 T-ECD\" title=\"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0446\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u0430\u0445 T-ECD\" width=\"1856\" height=\"1120\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/07d\/326\/492\/07d326492675f5eae3f497e03915b6dd.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/07d\/326\/492\/07d326492675f5eae3f497e03915b6dd.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0446\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u0430\u0445 T-ECD<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u043b\u0430\u043d \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430:<\/p>\n<ol>\n<li>\n<p>\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a Perseus \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0438 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0440\u0435\u0448\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 item_id.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u043e\u0433\u0430\u0442\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0444\u0438\u0447\u0430\u043c\u0438, \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043c\u043e\u0434\u0435\u043b\u0438 (\u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0438\u043f \u0431\u044d\u043a\u0431\u043e\u043d\u0430 \u0438 \u043f\u0443\u043b\u0438\u043d\u0433\u0430).<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Perseus.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u043c\u0441\u044f \u0441 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430\u043c\u0438.<\/p>\n<h2>\u0427\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043f\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Perseus<\/h2>\n<p>\u0417\u043e\u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 ML-\u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0442\u044b\u0440\u044c\u043c\u044f \u0448\u0430\u0433\u0430\u043c\u0438:<\/p>\n<ol>\n<li>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0432 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 (Event Hub).<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u043e\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 (timestamp, client_id, target) \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u043c \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438: \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c YAML-\u043a\u043e\u043d\u0444\u0438\u0433\u0430, \u0437\u0430\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u043a\u043e\u043c\u0430\u043d\u0434 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c.<\/p>\n<p><strong>\u041c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u0433\u043b\u043e\u0441\u0441\u0430\u0440\u0438\u0439, <\/strong>\u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u044c \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.\u00a0<\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435:<\/p>\n<ul>\n<li>\n<p>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 \u2014 \u0444\u0430\u043a\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 (timestamp, client_id). \u0423 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u0441\u0435\u0433\u0434\u0430 <abbr class=\"habraabbr\" title=\"\u043e\u043d \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u043c\" data-title=\"&lt;p&gt;\u043e\u043d \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u043c&lt;\/p&gt;&lt;p&gt;&lt;\/p&gt;\" data-abbr=\"\u0435\u0441\u0442\u044c \u0442\u0438\u043f\">\u0435\u0441\u0442\u044c \u0442\u0438\u043f<\/abbr> \u0438 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 id \u0438\u043b\u0438 \u0431\u0440\u0435\u043d\u0434 \u0442\u043e\u0432\u0430\u0440\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b. \u0421\u043e\u0431\u044b\u0442\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c\u0438 \u2014 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0442\u043e\u0432\u0430\u0440\u0430, \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u043c\u0443\u0437\u044b\u043a\u0438, \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u2014 \u0438 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443.\u00a0<\/p>\n<\/li>\n<li>\n<p>Event Hub \u2014 \u0435\u0434\u0438\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e Perseus \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u043d\u0435\u043c \u043d\u0435\u0442, ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0433\u043e \u0442\u0443\u0434\u0430 \u0441\u0430\u043c. Event Hub \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u043e\u0436\u0434\u044b, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 Event Hub \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c \u0438 \u0435\u0433\u043e \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0433\u0430\u0449\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u041f\u0440\u0438\u0437\u043d\u0430\u043a \u2014 \u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442. \u041f\u0440\u0438\u0437\u043d\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438, \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043b\u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430\u0445, \u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430 \u044d\u0442\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u044f\u0432\u043d\u043e (located_in).<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u042d\u043d\u043a\u043e\u0434\u0435\u0440 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u0432 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433: <abbr class=\"habraabbr\" title=\"\u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\" data-title=\"&lt;p&gt;\u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433&lt;\/p&gt;\" data-abbr=\"id \u0434\u043b\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445\">id \u0434\u043b\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445<\/abbr>, <abbr class=\"habraabbr\" title=\"Piecewise Linear Encoding \u0438\u0437 \u0441\u0442\u0430\u0442\u044c\u0438 On Embeddings for Numerical Features in Tabular Deep Learning, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 NeurIPS \u0432 2022\" data-title=\"&lt;p&gt;Piecewise Linear Encoding \u0438\u0437 \u0441\u0442\u0430\u0442\u044c\u0438 On Embeddings for Numerical Features in Tabular Deep Learning, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 NeurIPS \u0432 2022&lt;\/p&gt;\" data-abbr=\"ple \u0434\u043b\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445\">ple \u0434\u043b\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445<\/abbr>, <abbr class=\"habraabbr\" title=\"BPE-\u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0442\u043e\u0440, \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0442\u043e\u043a\u0435\u043d\u0443 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\" data-title=\"&lt;p&gt;BPE-\u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0442\u043e\u0440, \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0442\u043e\u043a\u0435\u043d\u0443 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433&lt;\/p&gt;\" data-abbr=\"bag-of-words \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445\">bag-of-words \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445<\/abbr>. \u041e\u0434\u0438\u043d \u044d\u043d\u043a\u043e\u0434\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0440\u0435\u043d\u0434 \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 \u043e\u0431\u0449\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e.<\/p>\n<\/li>\n<\/ul>\n<p>\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0431\u0430\u0437\u0438\u0441\u0430:<\/p>\n<ul>\n<li>\n<p>\u0411\u0430\u0437\u0438\u0441 \u2014 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 ML-\u0437\u0430\u0434\u0430\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u0431\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u0442\u0441\u044f. \u0414\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u0438\u0441 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 train- \u0438 test-\u0444\u043e\u043b\u0434\u044b, \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041f\u043e test-\u0444\u043e\u043b\u0434\u0443 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043e\u0442 \u044d\u043f\u043e\u0445\u0438 \u043a \u044d\u043f\u043e\u0445\u0435.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u041e\u0431\u044a\u0435\u043a\u0442 \u0431\u0430\u0437\u0438\u0441\u0430 (\u0441\u044d\u043c\u043f\u043b) \u2014 \u043f\u0430\u0440\u0430 (client_id, timestamp): \u043a\u043b\u0438\u0435\u043d\u0442 \u0432 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433 \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u2014 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0443\u0440\u043e\u0432\u043d\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0430\u0437\u0438\u0441\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0442\u0435, \u0447\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u0441\u044d\u043c\u043f\u043b\u0443 \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0430 \u043d\u0435 \u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u044e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438\u043b\u0438 \u0444\u043b\u0430\u0433, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u0442\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u043c \u0434\u043d\u0435\u043c. \u0412 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043d\u0430 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0435.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u0422\u0430\u0440\u0433\u0435\u0442 \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0430\u0437\u0438\u0441\u0430. \u0415\u0433\u043e \u0432\u0438\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0437\u0430\u0434\u0430\u0447\u0438: \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u0441 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0434\u043b\u044f \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043c\u0435\u0442\u043a\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u0447\u0438\u0441\u043b\u043e \u0434\u043b\u044f \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u2014 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u0430\u0440\u0433\u0435\u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0441\u0430\u043c\u0438\u0445 \u0441\u044d\u043c\u043f\u043b\u0430\u0445. \u0414\u043b\u044f \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0430\u0439\u0442\u0435\u043c\u043e\u0432 (\u0438 \u0438\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432), \u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u043d\u0435\u0442.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u0413\u0440\u0443\u043f\u043f\u044b \u2014 \u0441\u0440\u0435\u0437\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e (\u043f\u043e\u043c\u0438\u043c\u043e overall) \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438. \u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f test-\u0444\u043e\u043b\u0434\u0430.<\/p>\n<\/li>\n<\/ul>\n<p>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043c\u043e\u0434\u0435\u043b\u0438:<\/p>\n<ul>\n<li>\n<p>\u0411\u044d\u043a\u0431\u043e\u043d \u0441\u0432\u043e\u0434\u0438\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0432 \u043e\u0434\u0438\u043d \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 event_aggregator \u0432\u0435\u043a\u0442\u043e\u0440\u0438\u0437\u0443\u0435\u0442 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435, context_aggregator \u2014 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0430 \u0437\u0430\u0442\u0435\u043c history_aggregator \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u0435\u043a\u0442\u043e\u0440. history_aggregator \u2014 \u044d\u0442\u043e \u044f\u0434\u0440\u043e \u0431\u044d\u043a\u0431\u043e\u043d\u0430, \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 sequence modeling. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b: modern_bert (\u0434\u0435\u0444\u043e\u043b\u0442), bert, ligr, danet, hstu \u0438 mamba. \u041f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043e\u043d\u0438 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u0445, \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044f mamba.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u0413\u043e\u043b\u043e\u0432\u0430 \u2014 \u0442\u043e, \u0447\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f. \u041e\u0431\u0443\u0447\u0430\u0435\u0442\u0441\u044f end-to-end \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0431\u044d\u043a\u0431\u043e\u043d\u043e\u043c.<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0430\u0439\u043f\u043b\u0430\u0439\u043d:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433 \u2014 \u043e\u0434\u0438\u043d YAML-\u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435: \u0437\u0430\u0434\u0430\u0447\u0430 \u0438 \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438 \u0438\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0438 \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u044b, \u0431\u044d\u043a\u0431\u043e\u043d \u0438 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>Workdir \u2014 \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430. ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043a\u043b\u0430\u0434\u0435\u0442 \u0432 \u043d\u0435\u0435 \u0431\u0430\u0437\u0438\u0441 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433, \u0430 Perseus \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0442\u0443\u0434\u0430 \u0432\u0441\u0435, \u0447\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442 (\u0435\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u2014 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0430). \u0412\u0430\u0436\u043d\u0430\u044f \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0430, \u0447\u0442\u043e Event Hub \u0438 Workdir \u2014 \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c.<\/p>\n<\/li>\n<\/ul>\n<p>Perseus \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u044d\u043c\u043f\u043b\u0430 \u0431\u0430\u0437\u0438\u0441\u0430 \u0438\u0437 Event Hub \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0435\u043c\u0443 \u043d\u0430\u0431\u043e\u0440 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0421\u0438\u043a\u0432\u0435\u043d\u0441 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u044b \u0438 \u0431\u044d\u043a\u0431\u043e\u043d. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0441\u043a\u0440\u044b\u0442\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u0433\u043e\u043b\u043e\u0432\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435, \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u0442\u0430\u0440\u0433\u0435\u0442\u043e\u043c, \u0438 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043b\u043e\u0441\u0441. Event Hub \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u0431\u0430\u0437\u0438\u0441\u043e\u043c \u0447\u0435\u0440\u0435\u0437 (timestamp, client_id).<\/p>\n<h2>\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u2014 Event Hub<\/h2>\n<p>Event Hub \u2014 \u0435\u0434\u0438\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 Perseus \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0441\u0438\u043a\u0432\u0435\u043d\u0441 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u041f\u0443\u0442\u044c \u0434\u043e Event Hub \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f.\u00a0<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0442\u0438\u043f \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0432 Event Hub \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435, \u0430 \u0441\u0430\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u0434\u043d\u044f\u043c \u0438 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u043d\u0438\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4df\/a07\/878\/4dfa07878991e4b4fdf0cb45bf2c1adf.png\" alt=\"\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Event Hub\" title=\"\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Event Hub\" width=\"300\" height=\"316\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/4df\/a07\/878\/4dfa07878991e4b4fdf0cb45bf2c1adf.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4df\/a07\/878\/4dfa07878991e4b4fdf0cb45bf2c1adf.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Event Hub<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Event Hub \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code class=\"bash\">python -m perseus event-hub add-events events.pq --name transactions-purchase\u00a0 # \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438\u0437 parquet-\u0444\u0430\u0439\u043b\u0430python -m perseus event-hub list-events\u00a0 # \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f (\u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u0434\u0430\u0442 + \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b)python -m perseus event-hub delete-events --name transactions-purchase --date-from 2025-01-01 --date-to 2025-06-30\u00a0 # \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0437\u0430 \u043f\u0435\u0440\u0438\u043e\u0434<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h2>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h2>\n<p>\u0422\u0438\u043f \u0440\u0435\u0448\u0430\u0435\u043c\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0417\u0430\u0434\u0430\u0447\u0430 \u0437\u0430\u0434\u0430\u0435\u0442 \u0432\u0438\u0434 \u0442\u0430\u0440\u0433\u0435\u0442\u0430 \u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432, \u043d\u0430\u0431\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043c\u0435\u0442\u0440\u0438\u043a \u0438 \u0433\u043e\u043b\u043e\u0432\u0443. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 ML-\u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c:<\/p>\n<ol>\n<li>\n<p>\u0411\u0438\u0437\u043d\u0435\u0441 \u0445\u043e\u0447\u0435\u0442 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u0442\u0435 \u0442\u043e\u0432\u0430\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0438 \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u043a\u0443\u043f\u044f\u0442 \u0432 \u0441\u0443\u043f\u0435\u0440\u043c\u0430\u0440\u043a\u0435\u0442\u0435. \u042d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439. \u0417\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u043d\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043a\u0443\u043f\u043a\u0438, \u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0445 \u0442\u043e\u0432\u0430\u0440\u043e\u0432. \u0422\u0430\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u043c\u043e\u0436\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u2014 \u043e\u0442\u0431\u043e\u0440\u0430 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432.\u00a0<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u0443\u043b \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0442\u044c \u0432 \u043b\u0435\u043d\u0442\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0441\u0430\u043c\u044b\u0445 \u0432\u0435\u0440\u0445\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0442\u0435, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442 \u043f\u043e\u043a\u0443\u043f\u043a\u0443. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0437\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u0435\u043d \u043d\u0435 \u0444\u0430\u043a\u0442 \u043f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u0442\u043e\u0432\u0430\u0440\u0430 \u0432 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0440\u044f\u0434\u043e\u043a: \u0447\u0435\u043c \u0432\u044b\u0448\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0439 \u0442\u043e\u0432\u0430\u0440, \u0442\u0435\u043c \u043b\u0443\u0447\u0448\u0435 \u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0435\u0435, \u0447\u0435\u043c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445. \u042d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u0441\u0442\u044c \u043e\u0442 \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u043f\u0440\u0438\u0448\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u0442 \u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u0435\u0444\u043e\u043b\u0442 \u043f\u043e \u0441\u0432\u043e\u0438\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430\u043c. \u041f\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0438\u0440\u043e\u0434\u0435 \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0441 \u0434\u0432\u0443\u043c\u044f \u0438\u0441\u0445\u043e\u0434\u0430\u043c\u0438: \u0434\u0435\u0444\u043e\u043b\u0442 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f ML-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0434\u0435\u0441\u044c \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u0443\u044e \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u0435\u0441\u044f\u0446\u0435 \u043f\u043e \u0432\u0441\u0435\u043c \u0441\u0432\u043e\u0438\u043c \u0441\u0447\u0435\u0442\u0430\u043c. \u0417\u0434\u0435\u0441\u044c \u0446\u0435\u043b\u0435\u0432\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u2014 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f.<\/p>\n<\/li>\n<\/ol>\n<p>Perseus \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438. \u0422\u0430\u043a, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Perseus \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0446\u0435\u043d\u0443 \u0442\u043e\u0432\u0430\u0440\u0430, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0443\u043c\u043c\u0430\u0440\u043d\u044b\u0435 \u0442\u0440\u0430\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u0435\u0441\u044f\u0446\u0435.<\/p>\n<p>\u0415\u0449\u0435 \u043e\u0434\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a, \u2014 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0440\u043e\u0431\u043d\u044b\u043c \u0431\u0440\u0430\u0442\u044c timestamp \u0432 \u0431\u0430\u0437\u0438\u0441\u0435. \u041e\u0442 \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0438 \u0441\u0430\u043c\u0430 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445 \u0441\u044d\u043c\u043f\u043b\u043e\u0432. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043b\u0430\u0439\u043a\u043d\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c (timestamp \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043e \u043d\u0430\u043d\u043e\u0441\u0435\u043a\u0443\u043d\u0434), \u0430 \u043c\u043e\u0436\u043d\u043e \u2014 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043b\u0430\u0439\u043a\u043d\u0435\u0442 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043d\u044f (timestamp, \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u043d\u044b\u0439 \u0434\u043e \u0434\u0430\u0442\u044b).\u00a0<\/p>\n<p>\u041e\u0431\u0449\u0430\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f \u2014 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0430\u0437\u0438\u0441 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435: \u0435\u0441\u043b\u0438 \u0440\u0430\u0437 \u0432 \u0441\u0443\u0442\u043a\u0438, \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043e\u043a\u0440\u0443\u0433\u043b\u044f\u0442\u044c timestamp \u0434\u043e \u0434\u0430\u0442\u044b. \u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u0435\u043a \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0435 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d-\u0434\u0430\u043d\u043d\u044b\u0445. \u0415\u0441\u043b\u0438 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0441 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0432 \u0447\u0430\u0441, \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0435\u0441\u0442\u044c \u044d\u0442\u043e\u0442 \u0447\u0430\u0441 \u0438\u0437 timestamp \u0431\u0430\u0437\u0438\u0441\u0430 \u2014 \u0438\u043d\u0430\u0447\u0435 \u043d\u0430 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u0435\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435 \u0435\u0449\u0435 \u043d\u0435 \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f.<\/p>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0430<\/h2>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0432\u0448\u0438\u0441\u044c \u0441 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438, ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0431\u0430\u0437\u0438\u0441 (basis\/) \u0438 \u043a\u043e\u043d\u0444\u0438\u0433 (config.yaml) \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438. \u0410 \u0434\u0430\u043b\u044c\u0448\u0435 \u0432\u0441\u0435 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430. \u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"bash\">python -m perseus train prepare-dataset --workdir &lt;workdir&gt;\u00a0 # \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u0438\u0437 \u0431\u0430\u0437\u0438\u0441\u0430 \u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439accelerate launch -m perseus train fit-model --workdir &lt;workdir&gt;\u00a0 # \u043e\u0431\u0443\u0447\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u0432 checkpoint\/<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a. ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0433\u043e\u0442\u043e\u0432\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e basis\/ \u0438 config.yaml, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e \u043f\u043e \u043c\u0435\u0440\u0435 \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre><code class=\"yaml\">workdir\/\u251c\u2500\u2500 basis\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u2502 \u00a0 \u251c\u2500\u2500 train\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u00a0 \u0444\u043e\u043b\u0434 \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f\u2502 \u00a0 \u2502 \u00a0 \u251c\u2500\u2500 samples.pq\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u00a0 \u00a0 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0431\u0430\u0437\u0438\u0441\u0430 \u0441 \u0442\u0430\u0440\u0433\u0435\u0442\u043e\u043c\u2502 \u00a0 \u2502 \u00a0 \u2514\u2500\u2500 artifacts\/items.pq\u00a0 # \u00a0 \u00a0 \u0430\u0439\u0442\u0435\u043c\u044b \u0438 \u0438\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438\u2502 \u00a0 \u251c\u2500\u2500 test\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u00a0 \u0444\u043e\u043b\u0434 \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0442\u0430 \u0436\u0435\u2502 \u00a0 \u2502 \u00a0 \u251c\u2500\u2500 samples.pq\u2502 \u00a0 \u2502 \u00a0 \u2514\u2500\u2500 artifacts\/items.pq\u2502 \u00a0 \u251c\u2500\u2500 samples.pq\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u00a0 \u0431\u0430\u0437\u0438\u0441 \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430\u2502 \u00a0 \u2514\u2500\u2500 artifacts\/items.pq\u00a0 \u00a0 \u00a0 # \u00a0 \u0430\u0439\u0442\u0435\u043c\u044b \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430\u251c\u2500\u2500 config.yaml \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u251c\u2500\u2500 dataset\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, prepare-dataset: \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f\u2514\u2500\u2500 checkpoint\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, prepare-dataset \u0438 fit-model: \u043f\u0440\u0435\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u044b, \u0430 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u2014 \u0432\u0435\u0441\u0430 \u043c\u043e\u0434\u0435\u043b\u0438<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e, \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0432 \u0432 \u043d\u0435\u0435 \u0447\u0435\u043a\u043f\u043e\u0439\u043d\u0442 \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0442\u043e\u0439 \u0436\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u0415\u0449\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0431\u0430\u0437\u0438\u0441 \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430 \u2014 \u043e\u0442 \u0431\u0430\u0437\u0438\u0441\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u043e\u043d \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u0442\u0430\u0440\u0433\u0435\u0442\u0430. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430:<\/p>\n<pre><code class=\"bash\">python -m perseus inference distribute-samples --workdir &lt;workdir&gt;\u00a0 # \u0440\u0430\u0437\u043b\u043e\u0436\u0438\u0442\u044c \u0431\u0430\u0437\u0438\u0441 \u043f\u043e \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u044f\u043cpython -m perseus inference make-items-embeddings --workdir &lt;workdir&gt;\u00a0 # \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u0430\u0439\u0442\u0435\u043c\u043e\u0432 (\u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0448\u0430\u0433)python -m perseus inference make-backbone-embeddings --workdir &lt;workdir&gt;\u00a0 # \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432python -m perseus inference make-head-predictions --workdir &lt;workdir&gt;\u00a0 # \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0432 predictions\/<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0420\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"yaml\">workdir\/\u251c\u2500\u2500 basis\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u2502 \u00a0 \u251c\u2500\u2500 samples.pq\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u00a0 \u0431\u0430\u0437\u0438\u0441 \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430\u2502 \u00a0 \u2514\u2500\u2500 artifacts\/items.pq\u00a0 \u00a0 \u00a0 # \u00a0 \u0430\u0439\u0442\u0435\u043c\u044b \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430\u251c\u2500\u2500 checkpoint\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, prepare-dataset \u0438 fit-model: \u043f\u0440\u0435\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u044b \u0438 \u0432\u0435\u0441\u0430 \u043c\u043e\u0434\u0435\u043b\u0438\u251c\u2500\u2500 samples\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, distribute-samples: \u0431\u0430\u0437\u0438\u0441 \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430, \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043f\u043e \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u044f\u043c\u251c\u2500\u2500 embeddings\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, make-backbone-embeddings: \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432\u251c\u2500\u2500 items\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, make-items-embeddings: \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u0430\u0439\u0442\u0435\u043c\u043e\u0432\u2514\u2500\u2500 predictions\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Perseus, make-head-predictions: \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b (artifacts\/items.pq) \u043d\u0443\u0436\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0432 \u0431\u0430\u0437\u0438\u0441\u0435 \u043b\u0435\u0436\u0430\u0442 \u0442\u043e\u043b\u044c\u043a\u043e <a href=\"http:\/\/samples.pq\">samples.pq.<\/a> \u041c\u0435\u0442\u0440\u0438\u043a\u0438 \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 Perseus \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0441\u0430\u043c, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 test-\u0444\u043e\u043b\u0434\u0435. \u041c\u0435\u0442\u0440\u0438\u043a\u0438 \u043d\u0430 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0435, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u043e\u043c, \u2014 \u0443\u0436\u0435 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430.\u00a0<\/p>\n<p>\u0412\u0430\u0436\u043d\u043e \u0434\u043b\u044f \u0447\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f: \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0431\u0430\u0437\u0438\u0441\u0430, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0435\u0441\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0440\u0430\u043d\u044c\u0448\u0435 timestamp \u0441\u044d\u043c\u043f\u043b\u0430, \u0438\u043d\u0430\u0447\u0435 \u0441\u044d\u043c\u043f\u043b \u0432\u044b\u043f\u0430\u0434\u0430\u0435\u0442 \u0438 \u0441\u0442\u0440\u043e\u043a \u0432 predictions\/ \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0432 \u0431\u0430\u0437\u0438\u0441\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0435 \u043c\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d \u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u043c \u0431\u0430\u0437\u0438\u0441\u0435 \u0438 \u0438\u043c \u0436\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0432 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f\u0445 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<h2>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u043d\u0430 T-ECD<\/h2>\n<p>\u041f\u0440\u043e\u0439\u0434\u0435\u043c \u043f\u043e \u0432\u0441\u0435\u043c \u0447\u0435\u0442\u044b\u0440\u0435\u043c \u0442\u0438\u043f\u0430\u043c \u0437\u0430\u0434\u0430\u0447. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439: \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0438\u0441, \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d, \u043e\u0431\u0443\u0447\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u044c, \u043f\u0440\u043e\u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u043c \u0435\u0435 \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438 \u0442\u043e\u043c \u0436\u0435 inference-\u0431\u0430\u0437\u0438\u0441\u0435. \u0412\u0441\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0438 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 H100, \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u043a\u043e\u043b\u043e 8 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0441 \u043c\u0430\u043b\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 T-ECD, \u0434\u043e\u043c\u0435\u043d Marketplace: \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0442\u0438\u043f\u043e\u0432 (view, click, like, clickout), \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0441 \u0431\u0440\u0435\u043d\u0434\u043e\u043c \u0438 \u0446\u0435\u043d\u043e\u0439 \u0438 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441 \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 Retail \u0438 Offers.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">snapshot_download(    repo_id=\"t-tech\/T-ECD\",    repo_type=\"dataset\",    allow_patterns=\"dataset\/small\/marketplace\/\",    local_dir=download_dir)snapshot_download(    repo_id=\"t-tech\/T-ECD\",    repo_type=\"dataset\",    allow_patterns=\"dataset\/small\/users.pq\",    local_dir=download_dir)snapshot_download(    repo_id=\"t-tech\/T-ECD\",    repo_type=\"dataset\",    allow_patterns=\"dataset\/small\/retail\/\",    local_dir=download_dir)snapshot_download(    repo_id=\"t-tech\/T-ECD\",    repo_type=\"dataset\",    allow_patterns=\"dataset\/small\/offers\/\",    local_dir=download_dir)EVENTS = pl.read_parquet(download_dir \/ \"dataset\/small\/marketplace\/events\")EVENTS = EVENTS.select(    pl.col(\"action_type\").alias(\"event\"),    pl.col(\"timestamp\").dt.total_microseconds().cast(pl.Datetime(\"us\")).dt.truncate(\"1s\").cast(pl.Datetime(\"ns\")).alias(\"timestamp\"),    pl.col(\"user_id\").cast(pl.String).alias(\"client_id\"),    \"item_id\",    \"subdomain\",).unique()CLIENTS = pl.read_parquet(download_dir \/ \"dataset\/small\/users.pq\", columns=[\"user_id\", \"socdem_cluster\"])CLIENTS = CLIENTS.with_columns(pl.col(\"user_id\").cast(pl.String).alias(\"client_id\")).drop(\"user_id\")ITEMS = pl.read_parquet(download_dir \/ \"dataset\/small\/marketplace\/items.pq\", columns=[\"item_id\", \"brand_id\", \"price\"])retail_events = (    pl.scan_parquet(download_dir \/ \"dataset\/small\/retail\/events\")    .filter(pl.col(\"action_type\").eq(\"order\"))    .select(        pl.col(\"action_type\").alias(\"event\"),        pl.col(\"timestamp\").dt.total_microseconds().cast(pl.Datetime(\"us\")).dt.truncate(\"1s\").cast(pl.Datetime(\"ns\")).alias(\"timestamp\"),        pl.col(\"user_id\").cast(pl.String).alias(\"client_id\")    ).unique()).collect()offers_events = (    pl.scan_parquet(download_dir \/ \"dataset\/small\/offers\/events\")    .filter(~pl.col(\"action_type\").eq(\"view\"))    .select(        pl.col(\"action_type\").alias(\"event\"),        pl.col(\"timestamp\").dt.total_microseconds().cast(pl.Datetime(\"us\")).dt.truncate(\"1s\").cast(pl.Datetime(\"ns\")).alias(\"timestamp\"),        pl.col(\"user_id\").cast(pl.String).alias(\"client_id\"),        pl.col(\"item_id\")    ).unique()    .join(        pl.scan_parquet(download_dir \/ \"dataset\/small\/offers\/items.pq\").select(\"item_id\", \"brand_id\"),         on=\"item_id\",         how=\"left\"    )    .drop(\"item_id\")).collect()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<h2>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 Event Hub<\/h2>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 Event Hub \u2014 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u043f\u0443\u0442\u044c \u0434\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 env-\u0444\u0430\u0439\u043b\u0435. \u041a\u0430\u0436\u0434\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c timestamp (\u0442\u0438\u043f ns) \u0438 client_id (\u0441\u0442\u0440\u043e\u043a\u0430), \u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438: \u0434\u043b\u044f Marketplace \u044d\u0442\u043e item_id \u0438 subdomain (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c, \u0433\u0434\u0435 \u0431\u044b\u043b\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0435).\u00a0<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0442\u0438\u043f \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043f\u043e\u0434 \u0441\u0432\u043e\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u2014 \u0442\u0430\u043a \u0432 Event Hub \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f marketplace-view, marketplace-click, marketplace-like \u0438 marketplace-clickout.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">env = {**os.environ, \"INTERNAL_STORAGE_EVENT_HUB\": \"\/event-hub\/\"}for (event,), group in EVENTS.group_by(\"event\"):    event_name = f\"marketplace-{event}\"    group = group.drop(\"event\")    with tempfile.TemporaryDirectory() as tmp:        staging = Path(tmp) \/ \"events.pq\"        group.write_parquet(staging)        subprocess.run(            [                \"uv\", \"run\", \"python\", \"-m\", \"perseus\",                 \"event-hub\", \"add-events\",                 str(staging),                 \"--name\", event_name,                 \"--source\", \"event_hub\"            ],            env=env,            check=True        )<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/23f\/ca4\/9a3\/23fca49a31b5ba82d52ff78acbaf78c2.png\" alt=\"\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 Event Hub\u00a0\" title=\"\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 Event Hub\u00a0\" width=\"864\" height=\"294\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/23f\/ca4\/9a3\/23fca49a31b5ba82d52ff78acbaf78c2.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/23f\/ca4\/9a3\/23fca49a31b5ba82d52ff78acbaf78c2.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 Event Hub\u00a0<\/figcaption><\/div>\n<\/figure>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f Offers (offers-click, offers-clickout, offers-like) \u0438 Retail (retail-order).\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">for (event,), group in retail_events.group_by(\"event\"):    event_name = f\"retail-{event}\"    group = group.drop(\"event\")    with tempfile.TemporaryDirectory() as tmp:        staging = Path(tmp) \/ \"events.pq\"        group.write_parquet(staging)        subprocess.run(            [                \"uv\", \"run\", \"python\", \"-m\", \"perseus\",                 \"event-hub\", \"add-events\",                 str(staging),                 \"--name\", event_name,                 \"--source\", \"event_hub\"            ],            env=env,            check=True        )for (event,), group in offers_events.group_by(\"event\"):    event_name = f\"offers-{event}\"    group = group.drop(\"event\")    with tempfile.TemporaryDirectory() as tmp:        staging = Path(tmp) \/ \"events.pq\"        group.write_parquet(staging)        subprocess.run(            [                \"uv\", \"run\", \"python\", \"-m\", \"perseus\",                 \"event-hub\", \"add-events\",                 str(staging),                 \"--name\", event_name,                 \"--source\", \"event_hub\"            ],            env=env,            check=True        )<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0421\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043c\u044b \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0431\u0430\u0437\u0438\u0441\u0430, \u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u2014 \u0432 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0434\u0436\u043e\u0439\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u043a \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c Event Hub, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u043e\u043c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f.<\/p>\n<h2>\u041a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f<\/h2>\n<p>\u0411\u0443\u0434\u0435\u043c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u043d\u0430 \u043a\u0430\u043a\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043a\u043b\u0438\u043a\u043d\u0435\u0442 \u0432 Marketplace \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0442\u0440\u0438\u043a \u0432\u043e\u0437\u044c\u043c\u0435\u043c Recall@100, NDCG@100 \u0438 Coverage@100.<\/p>\n<p><strong>\u0411\u0430\u0437\u0438\u0441\u0443<\/strong> \u0434\u043b\u044f \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u2014 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 items.pq \u0441 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u043e\u0439 item. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0435\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0430\u0439\u0442\u0435\u043c\u0430. \u0412 train\/samples.pq \u0442\u0430\u0440\u0433\u0435\u0442 \u2014 \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0439\u0442\u0435\u043c\u043e\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0434\u043b\u044f \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u041d\u0435\u0433\u0430\u0442\u0438\u0432\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0430\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u0412 test\/samples.pq \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0430\u0439\u0442\u0435\u043c\u0430 \u0432 \u0442\u0430\u0440\u0433\u0435\u0442\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c (\u0432\u0435\u0437\u0434\u0435 1, \u0442\u0430\u043a \u043a\u0430\u043a \u0442\u043e\u0432\u0430\u0440\u044b \u043d\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0443\u0440\u043e\u0432\u043d\u044e \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u0438) \u2014 \u043e\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0440\u0430\u0441\u0447\u0435\u0442\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 NDCG. \u0412 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430\u0445 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u043e\u043b\u0434\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0432\u0441\u0435 \u0430\u0439\u0442\u0435\u043c\u044b, \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0432 \u0435\u0433\u043e \u0442\u0430\u0440\u0433\u0435\u0442\u0435.<\/p>\n<p>\u0421\u043e\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0438\u0441 \u0438\u0437 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043a\u043b\u0438\u043a\u043e\u0432 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 120 \u0434\u043d\u0435\u0439. timestamp \u043e\u043a\u0440\u0443\u0433\u043b\u0438\u043c \u0434\u043e \u0434\u0430\u0442\u044b \u0438 \u0441\u0434\u0432\u0438\u043d\u0435\u043c \u043d\u0430 \u221212 \u0447\u0430\u0441\u043e\u0432 (<a href=\"https:\/\/huggingface.co\/datasets\/t-tech\/T-ECD#%E2%9A%A0%25EF%25B8%258F-important-note-on-temporal-data-usage\">\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 T-ECD<\/a>). \u0422\u0430\u0440\u0433\u0435\u0442 \u0441\u044d\u043c\u043f\u043b\u0430 \u2014 \u0432\u0441\u0435 \u0442\u043e\u0432\u0430\u0440\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 \u043a\u043b\u0438\u043a\u043d\u0443\u043b \u0432 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c. \u0420\u0430\u0437\u0434\u0435\u043b\u0438\u043c \u0431\u0430\u0437\u0438\u0441 \u043d\u0430 train \u0438 test \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 80\/20 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0412 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0432\u0441\u0435\u043c \u0430\u0439\u0442\u0435\u043c\u0430\u043c \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c 1, \u0442\u0430\u043a \u043a\u0430\u043a \u0442\u043e\u0432\u0430\u0440\u044b \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430 \u043f\u043e \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0441\u0442\u0438. \u0412 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0432 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u2014 \u0430\u0439\u0442\u0435\u043c\u044b \u0438\u0437 train-\u0447\u0430\u0441\u0442\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0431\u0440\u0435\u043d\u0434\u043e\u043c. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0442 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u044b\u0435: \u043c\u043e\u0434\u0435\u043b\u044c \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u0430 \u043d\u0430 id \u0442\u043e\u0432\u0430\u0440\u0430 \u0438 \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043d\u0435 \u0432\u0438\u0434\u0435\u043b\u0430 \u043f\u0440\u0438 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0438.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">samples = pl.read_parquet(\"\/event-hub\/marketplace-click\")start_date = samples[\"date\"].max() - timedelta(days=120)samples = (    samples    .filter(pl.col(\"timestamp\") &gt;= start_date)    .with_columns((pl.col(\"date\").cast(pl.Datetime) - timedelta(hours=12)).cast(pl.Datetime(\"ns\")).alias(\"timestamp\"))    .drop(\"date\")    .group_by(\"timestamp\", \"client_id\").agg(pl.col(\"item_id\").unique().alias(\"target\"))    .sort(\"timestamp\"))train_ratio = 0.8split_idx = int(len(samples) * train_ratio)split_timestamp = samples[\"timestamp\"][split_idx]train_samples = samples.filter(pl.col(\"timestamp\") &lt; split_timestamp)test_samples = samples.filter(pl.col(\"timestamp\") &gt;= split_timestamp)test_samples = (    test_samples    .with_columns(        pl.col(\"target\").list.eval(            pl.struct([                pl.element().alias(\"item\"),                pl.lit(1).alias(\"relevance\")            ])        ).alias(\"target\")    ))train_samples = train_samples.join(CLIENTS, on=\"client_id\", how=\"left\")train_samples = train_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])test_samples = test_samples.join(CLIENTS, on=\"client_id\", how=\"left\")test_samples = test_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])train_samples.write_parquet(\"..\/retrieval\/basis\/train\/samples.pq\")test_samples.write_parquet(\"..\/retrieval\/basis\/test\/samples.pq\")artifacts = pl.DataFrame(train_samples[\"target\"].explode().unique())artifacts = artifacts.join(ITEMS, left_on=\"target\", right_on=\"item_id\", how=\"left\").rename({\"target\": \"item\"}).select(\"item\", \"brand_id\")artifacts.write_parquet(\"..\/retrieval\/basis\/train\/artifacts\/items.pq\")artifacts.write_parquet(\"..\/retrieval\/basis\/test\/artifacts\/items.pq\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 train\/samples.pq:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a63\/dc9\/06d\/a63dc906d0fe809edadf83af2790b482.png\" width=\"1206\" height=\"476\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a63\/dc9\/06d\/a63dc906d0fe809edadf83af2790b482.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a63\/dc9\/06d\/a63dc906d0fe809edadf83af2790b482.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 test\/samples.pq \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0430\u0439\u0442\u0435\u043c\u0443 \u0442\u0430\u0440\u0433\u0435\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4cf\/7a8\/cbb\/4cf7a8cbb4b3f1f8055eeda0b9a4bf9e.png\" width=\"1208\" height=\"476\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/4cf\/7a8\/cbb\/4cf7a8cbb4b3f1f8055eeda0b9a4bf9e.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4cf\/7a8\/cbb\/4cf7a8cbb4b3f1f8055eeda0b9a4bf9e.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0410 artifacts\/items.pq, \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0444\u043e\u043b\u0434\u043e\u0432, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:\u00a0<\/p>\n<div class=\"floating-image\">\n<figure class=\"float \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c6a\/b3a\/8cc\/c6ab3a8cc201742ddb1a078b65098555.png\" width=\"430\" height=\"338\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/c6a\/b3a\/8cc\/c6ab3a8cc201742ddb1a078b65098555.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c6a\/b3a\/8cc\/c6ab3a8cc201742ddb1a078b65098555.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0411\u0430\u0437\u0438\u0441 \u0434\u043b\u044f \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430 \u2014 \u043a\u043e\u043f\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430\u043c\u0438. \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0434\u043e \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430 \u0438 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u0411\u0430\u0437\u0438\u0441 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043c\u043e\u0434\u0435\u043b\u0438 \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u0441\u0440\u0430\u0432\u043d\u0438\u043c\u044b\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0438 \u0441 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u043e\u043c.<\/p>\n<\/div>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">inference_basis = pl.read_parquet(\"..\/retrieval\/basis\/test\/samples.pq\")inference_basis.write_parquet(\"..\/retrieval\/basis\/samples.pq\")inference_artifacts = pl.read_parquet(\"..\/retrieval\/basis\/test\/artifacts\/items.pq\")inference_artifacts.write_parquet(\"..\/retrieval\/basis\/artifacts\/items.pq\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<pre><code class=\"bash\">uv run python -m perseus inference distribute-samples --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p><strong>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430 <\/strong>\u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0442\u043e\u043f-100 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u0438\u0437 train-\u0447\u0430\u0441\u0442\u0438 \u0431\u0430\u0437\u0438\u0441\u0430 \u0438 \u043f\u043e\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0438\u0445 \u0432\u0441\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c. \u0421\u043a\u043e\u0440 \u0430\u0439\u0442\u0435\u043c\u0430 \u2014 \u0435\u0433\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u044f \u0432 \u0442\u043e\u043f\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439 \u0442\u043e\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">toppop_items = (    train_samples.explode(\"target\")[\"target\"]    .value_counts().sort(\"count\", descending=True).head(100)[\"target\"].to_list())toppop_prediction = [    {\"item\": item, \"score\": float(len(toppop_items) - rank)}    for rank, item in enumerate(toppop_items)]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d \u0441\u0440\u0430\u0437\u0443, \u0434\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0438: \u043d\u0430 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0435 \u0441\u044d\u043c\u043f\u043b\u044b \u0431\u0435\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u044b \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0438\u0434\u0436\u043e\u0439\u043d\u0438\u043c \u043a \u043f\u043e\u043b\u043d\u043e\u043c\u0443 \u0431\u0430\u0437\u0438\u0441\u0443 \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u043e\u043c. \u0422\u0430\u043a \u043e\u0431\u0435 \u043e\u0446\u0435\u043d\u043a\u0438 \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438 \u0442\u043e\u043c \u0436\u0435 \u043d\u0430\u0431\u043e\u0440\u0435 \u0441\u044d\u043c\u043f\u043b\u043e\u0432. \u0414\u0430\u043b\u044c\u0448\u0435 \u0432\u043e \u0432\u0441\u0435\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a \u0436\u0435:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Recall@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Coverage@100<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0422\u043e\u043f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 (\u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1275<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0005<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u2014 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c item_id. \u0412 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u043e\u043f\u0438\u0448\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0446\u0435\u043b\u0435\u0432\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435, \u044d\u043d\u043a\u043e\u0434\u0435\u0440 \u0430\u0439\u0442\u0435\u043c\u0430, \u0431\u044d\u043a\u0431\u043e\u043d (ModernBERT \u043d\u0430 4 \u0441\u043b\u043e\u044f, \u0441\u0443\u043c\u043c\u0443 \u043a\u0430\u043a \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u043e\u0440 \u0441\u043e\u0431\u044b\u0442\u0438\u0439) \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>config1.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: retrieval  metrics:    recall@100:      type: recall_at_k      params:        k: 100    ndcg@100:      type: ndcg_at_k      params:        k: 100    coverage@100:      type: coverage_at_k      params:        k: 100events:  marketplace-click:    attributes:      item_id:    max_duration_per_sequence: 365dmax_events_per_sequence: 512encoders:  item:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  item:    located_in:      artifacts: true    encoder: itembackbone:  dim: 256  history_aggregator:    type: modern_bert    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: sumtraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: recall@100    mode: max    patience: 3  optimizer:    params:      lr: 0.0003inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  predict_kwargs:    k: 1000<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0432\u0443\u0445 \u043a\u043e\u043c\u0430\u043d\u0434: \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u0438 \u043e\u0431\u0443\u0447\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c:\u00a0<\/p>\n<pre><code class=\"bash\">!uv run python -m perseus train prepare-dataset --workdir ..\/retrieval!uv run accelerate launch -m perseus train fit-model --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043b\u043e\u0433\u043e\u0432.\u00a0<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a63\/967\/027\/a63967027327cdd321e6d6cf022f7fc7.png\" alt=\"\u041b\u043e\u0433\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f Perseus\" title=\"\u041b\u043e\u0433\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f Perseus\" width=\"2048\" height=\"366\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a63\/967\/027\/a63967027327cdd321e6d6cf022f7fc7.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a63\/967\/027\/a63967027327cdd321e6d6cf022f7fc7.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041b\u043e\u0433\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f Perseus<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u0440\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u043c ClearML \u0443\u0432\u0438\u0434\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/29d\/4b3\/788\/29d4b3788ac38c13d928012a7740d9d1.png\" alt=\"\u041f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0432 ClearML\" title=\"\u041f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0432 ClearML\" width=\"1802\" height=\"652\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/29d\/4b3\/788\/29d4b3788ac38c13d928012a7740d9d1.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/29d\/4b3\/788\/29d4b3788ac38c13d928012a7740d9d1.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0432 ClearML<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043f\u043e \u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f\u043c \u0442\u0435 \u0436\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0447\u0442\u043e \u0438 \u0434\u043b\u044f \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430:<\/p>\n<pre><code class=\"bash\">uv run python -m perseus inference make-backbone-embeddings --workdir ..\/retrievaluv run python -m perseus inference make-head-predictions --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Recall@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Coverage@100<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0422\u043e\u043f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 (\u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1275<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0005<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus, \u0442\u043e\u043b\u044c\u043a\u043e item_id<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1518<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0545<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0056<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u0430\u0439\u0442\u0435\u043c\u043e\u0432. \u041e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0438\u043b\u0438 \u043a\u0430\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<pre><code class=\"bash\">uv run python -m perseus inference make-items-embeddings --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 Marketplace \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e item_id. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b \u0441\u0435\u0440\u0432\u0438\u0441\u0430 (subdomain) \u0438\u0437 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0431\u0440\u0435\u043d\u0434 \u0442\u043e\u0432\u0430\u0440\u0430 \u0438\u0437 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u0438 \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430. \u041d\u043e\u0432\u043e\u0439 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f: \u0432\u0441\u0435 \u044d\u0442\u043e \u043c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 \u0435\u0449\u0435 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0441\u0431\u043e\u0440\u0430 Event Hub \u0438 \u0431\u0430\u0437\u0438\u0441\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433, \u0443\u043a\u0430\u0437\u0430\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u0433\u0434\u0435 \u043e\u043d \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u0438 \u043a\u0430\u043a\u0438\u043c \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u043e\u043c \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>config2.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: retrieval  metrics:    recall@100:      type: recall_at_k      params:        k: 100    ndcg@100:      type: ndcg_at_k      params:        k: 100    coverage@100:      type: coverage_at_k      params:        k: 100events:  marketplace-click:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365dmax_events_per_sequence: 512encoders:  item:    type: id  subdomain:    type: id  brand_id:    type: id  socdem_cluster:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  item:    located_in:      artifacts: true    encoder: item  subdomain:    located_in:      event: true    encoder: subdomain  brand_id:    located_in:      artifacts: true    encoder: brand_id  socdem_cluster:    located_in:      context: true    encoder: socdem_cluster  backbone:  dim: 256  history_aggregator:    type: modern_bert    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: sum  context_aggregator:    type: identitytraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: recall@100    mode: max    patience: 3  optimizer:    params:      lr: 0.0003      inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  predict_kwargs:    k: 1000<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u0442\u0430\u0441\u0435\u0442 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0435\u0440\u0435\u043c, \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u0431\u0443\u0447\u0438\u043c \u0438 \u043f\u0440\u043e\u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u043c \u0437\u0430\u043d\u043e\u0432\u043e:<\/p>\n<pre><code class=\"bash\">uv run python -m perseus inference make-backbone-embeddings --workdir ..\/retrievaluv run python -m perseus inference make-head-predictions --workdir ..\/retrievaluv run python -m perseus inference make-items-embeddings --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Recall@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Coverage@100<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus, \u0442\u043e\u043b\u044c\u043a\u043e item_id<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1518<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0545<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0056<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1553<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0572<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0099<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u043e\u0434\u0435\u043b\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0431\u043e\u0433\u0430\u0442\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438. \u041f\u043e\u043c\u0438\u043c\u043e \u043a\u043b\u0438\u043a\u043e\u0432 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043b\u0430\u0439\u043a\u0438 \u0438 \u043a\u043b\u0438\u043a\u0430\u0443\u0442\u044b Marketplace, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 \u0434\u043e\u043c\u0435\u043d\u043e\u0432: \u0437\u0430\u043a\u0430\u0437\u044b \u0432 Retail \u0438 \u043a\u043b\u0438\u043a\u0438, \u043b\u0430\u0439\u043a\u0438 \u0438 \u043a\u043b\u0438\u043a\u0430\u0443\u0442\u044b \u0432 Offers. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438. \u0423 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 Offers \u043d\u0435\u0442 item_id, \u0437\u0430\u0442\u043e \u0435\u0441\u0442\u044c \u0431\u0440\u0435\u043d\u0434 \u2014 \u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a, \u0447\u0442\u043e \u0438 \u0432 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430\u0445 Marketplace, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0449\u0438\u043c \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u043e\u043c \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 \u0442\u043e \u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e. \u0410 \u0435\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0441\u0442\u0430\u043b\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435, \u0430 \u0434\u043b\u0438\u043d\u0430 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u0446\u0435\u043b\u0435\u0432\u043e\u043c\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u044e \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442. \u0418\u043d\u0430\u0447\u0435 \u043a\u043b\u0438\u043a\u0438 \u043f\u043e \u0442\u043e\u0432\u0430\u0440\u0430\u043c \u0432\u044b\u0442\u0435\u0441\u043d\u044f\u0442\u0441\u044f \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438.<\/p>\n<details class=\"spoiler\">\n<summary>config3.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: retrieval  metrics:    recall@100:      type: recall_at_k      params:        k: 100    ndcg@100:      type: ndcg_at_k      params:        k: 100    coverage@100:      type: coverage_at_k      params:        k: 100events:  marketplace-click:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 2  marketplace-like:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  marketplace-clickout:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  retail-order:    max_duration_per_sequence: 365d  offers-click:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-like:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-clickout:    attributes:      brand_id:    max_duration_per_sequence: 365dmax_events_per_sequence: 512encoders:  item:    type: id  subdomain:    type: id  brand_id:    type: id  socdem_cluster:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  item:    located_in:      artifacts: true    encoder: item  subdomain:    located_in:      event: true    encoder: subdomain  brand_id:    located_in:      event: true      artifacts: true    encoder: brand_id  socdem_cluster:    located_in:      context: true    encoder: socdem_clusterbackbone:  dim: 256  history_aggregator:    type: modern_bert    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: sum  context_aggregator:    type: identitytraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: recall@100    mode: max    patience: 3  optimizer:    params:      lr: 0.0003inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  predict_kwargs:    k: 1000<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0421\u043d\u043e\u0432\u0430 \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0434\u0430\u0442\u0430\u0441\u0435\u0442, \u043e\u0431\u0443\u0447\u0438\u043c \u0438 \u043f\u0440\u043e\u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0436\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre><code class=\"bash\">uv run python -m perseus inference make-backbone-embeddings --workdir ..\/retrievaluv run python -m perseus inference make-head-predictions --workdir ..\/retrievaluv run python -m perseus inference make-items-embeddings --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Recall@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Coverage@100<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1553<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0572<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0099<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u0441\u043e\u0431\u044b\u0442\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1638<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0634<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0046<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412\u0438\u0434\u0438\u043c \u043f\u0440\u0438\u0440\u043e\u0441\u0442\u044b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u0438. \u0412 \u044d\u0442\u043e\u043c \u0438 \u0435\u0441\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0441\u0438\u043b\u0430 Perseus: \u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u0445\u0435\u043c\u0430\u043c\u0438. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0438\u0437 \u043e\u0431\u0448\u0438\u0440\u043d\u043e\u0433\u043e Event Hub \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043e\u0431\u0443\u0447\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0440\u0435\u0437\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0445 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438.\u00a0<\/p>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443: \u0437\u0430\u043c\u0435\u043d\u0438\u043c ModernBERT \u043d\u0430 HSTU (\u043e\u043d \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u043d\u043e \u0438 \u0432\u0440\u0435\u043c\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438), \u0430 \u0441\u0443\u043c\u043c\u0443 \u0432 \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u043e\u0440\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u2014 \u043d\u0430 \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>config4.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: retrieval  metrics:    recall@100:      type: recall_at_k      params:        k: 100    ndcg@100:      type: ndcg_at_k      params:        k: 100    coverage@100:      type: coverage_at_k      params:        k: 100events:  marketplace-click:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 2  marketplace-like:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  marketplace-clickout:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  retail-order:    max_duration_per_sequence: 365d  offers-click:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-like:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-clickout:    attributes:      brand_id:    max_duration_per_sequence: 365dmax_events_per_sequence: 512encoders:  item:    type: id  subdomain:    type: id  brand_id:    type: id  socdem_cluster:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  item:    located_in:      artifacts: true    encoder: item  subdomain:    located_in:      event: true    encoder: subdomain  brand_id:    located_in:      event: true      artifacts: true    encoder: brand_id  socdem_cluster:    located_in:      context: true    encoder: socdem_clusterbackbone:  dim: 256  history_aggregator:    type: hstu    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: weighted_sum  context_aggregator:    type: identitytraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: recall@100    mode: max    patience: 3  optimizer:    params:      lr: 0.0003inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  predict_kwargs:    k: 1000<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u2014 \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"bash\">cp ..\/retrieval\/config.yaml ..\/retrieval\/checkpoint\/config.yamluv run accelerate launch -m perseus train fit-model --workdir ..\/retrievaluv run python -m perseus inference make-backbone-embeddings --workdir ..\/retrievaluv run python -m perseus inference make-head-predictions --workdir ..\/retrieval<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u0438\u0434\u0438\u043c \u0437\u0430\u043c\u0435\u0442\u043d\u044b\u0439 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 \u043c\u0435\u0442\u0440\u0438\u043a.\u00a0<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Recall@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Coverage@100<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u0441\u043e\u0431\u044b\u0442\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1638<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0634<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0046<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1812<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0705<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0542<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041d\u0443\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>\u0421\u043e\u0431\u0435\u0440\u0435\u043c \u0432\u0441\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0432 \u043e\u0434\u043d\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Recall@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@100<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Coverage@100<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0422\u043e\u043f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 (\u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1275<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0005<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus, \u0442\u043e\u043b\u044c\u043a\u043e item_id<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1518<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0545<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0056<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1553<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0572<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0099<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u0441\u043e\u0431\u044b\u0442\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1638<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0634<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0046<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus + \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1812<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0705<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0542<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0437\u0430 \u0441\u0447\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u0442\u0438\u0442\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0438.\u00a0<\/p>\n<h2>\u0420\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043f\u0435\u0440\u0435\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u0443\u043b \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432. \u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0440\u0430\u043d\u0436\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043a\u0430\u043a clickout &gt; like &gt; click &gt; view. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0442\u0440\u0438\u043a \u0432\u043e\u0437\u044c\u043c\u0435\u043c NDCG@20 \u0438 MRR@20.<\/p>\n<p>\u0412 Perseus \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0446\u0435\u043b\u0435\u0432\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 (multi-label classification). \u041f\u043e \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u0435 \u044d\u0442\u0438\u0445 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0437\u0430\u0442\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u044b. \u0412\u0435\u0441\u0430 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0430\u043f\u0440\u0438\u043e\u0440\u043d\u043e, \u0430 \u043d\u0435 \u0432\u044b\u0443\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043c\u043e\u0434\u0435\u043b\u044c\u044e, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0446\u0435\u043b\u0435\u0439 \u0431\u0438\u0437\u043d\u0435\u0441\u0430.<\/p>\n<p><strong>\u0411\u0430\u0437\u0438\u0441. <\/strong>\u0420\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e, \u043a\u0430\u043a \u0438 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0443\u0436\u043d\u044b \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u0441 \u0430\u0439\u0442\u0435\u043c\u0430\u043c\u0438, \u0430 \u0442\u0430\u0440\u0433\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0430\u0439\u0442\u0435\u043c\u0430 \u0432 \u043d\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c \u0430\u0439\u0442\u0435\u043c, \u043d\u043e \u0438 \u043d\u0430\u0431\u043e\u0440 \u0431\u0443\u043b\u0435\u0432\u044b\u0445 \u043c\u0435\u0442\u043e\u043a \u2014 \u043a\u0430\u043a\u0438\u043c\u0438 \u0438\u043c\u0435\u043d\u043d\u043e \u0446\u0435\u043b\u0435\u0432\u044b\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u0441 \u043d\u0438\u043c \u043f\u0440\u043e\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b. \u0412 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043a \u043c\u0435\u0442\u043a\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c, \u0430 \u0432 \u0441\u0430\u043c\u0438\u0445 \u0441\u044d\u043c\u043f\u043b\u0430\u0445 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0430 items \u2014 \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043f\u0443\u043b \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u0442\u044c.<\/p>\n<p>\u0421\u043e\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0438\u0441 \u0438\u0437 \u0432\u0441\u0435\u0445 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0442\u0438\u043f\u043e\u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 Marketplace \u0437\u0430 \u0442\u0435 \u0436\u0435 120 \u0434\u043d\u0435\u0439 \u0438 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435\u043c timestamp \u0434\u043e \u0434\u0430\u0442\u044b. \u041c\u0435\u0442\u043a\u0430\u043c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0447\u0435\u0442\u044b\u0440\u0435 \u0444\u043b\u0430\u0433\u0430 \u043f\u043e \u0442\u0438\u043f\u0430\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0430 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u2014 0 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430, 1 \u0434\u043b\u044f \u043a\u043b\u0438\u043a\u0430, 2 \u0434\u043b\u044f \u043b\u0430\u0439\u043a\u0430 \u0438 3 \u0434\u043b\u044f \u043a\u043b\u0438\u043a\u0430\u0443\u0442\u0430. \u041e\u0441\u0442\u0430\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u0441\u044d\u043c\u043f\u043b\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u0438: \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0430\u0439\u0442\u0435\u043c\u044b \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0445\u043e\u0440\u043e\u0448\u0438, \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u0447\u0435\u0433\u043e \u0438 \u043c\u0435\u0442\u0440\u0438\u043a\u0430 \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0441\u044d\u043c\u043f\u043b\u0443 \u043d\u0435\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u0430. \u0414\u0430\u043b\u0435\u0435 \u0442\u0430\u043a \u0436\u0435, \u043a\u0430\u043a \u0438 \u0432 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438: \u0441\u043f\u043b\u0438\u0442 80\/20 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0430\u0439\u0442\u0435\u043c\u044b \u0441 \u0431\u0440\u0435\u043d\u0434\u043e\u043c \u0432 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">samples = pl.concat([    pl.read_parquet(\"\/event-hub\/marketplace-clickout\").with_columns(pl.lit(\"clickout\").alias(\"event_type\")),    pl.read_parquet(\"\/event-hub\/marketplace-click\").with_columns(pl.lit(\"click\").alias(\"event_type\")),    pl.read_parquet(\"\/event-hub\/marketplace-like\").with_columns(pl.lit(\"like\").alias(\"event_type\")),    pl.read_parquet(\"\/event-hub\/marketplace-view\").with_columns(pl.lit(\"view\").alias(\"event_type\")),])start_date = samples[\"date\"].max() - timedelta(days=120)samples = (    samples    .filter(pl.col(\"timestamp\") &gt;= start_date)    .with_columns((pl.col(\"date\").cast(pl.Datetime) - timedelta(hours=12)).cast(pl.Datetime(\"ns\")).alias(\"timestamp\")).drop(\"date\"))samples = samples.with_columns(    pl.struct([        pl.col(\"item_id\").alias(\"item\"),        pl.struct([            (pl.col(\"event_type\") == \"view\").alias(\"view\"),            (pl.col(\"event_type\") == \"like\").alias(\"like\"),            (pl.col(\"event_type\") == \"click\").alias(\"click\"),            (pl.col(\"event_type\") == \"clickout\").alias(\"clickout\"),        ]).alias(\"labels\"),    ]).alias(\"target\")).drop(\"item_id\", \"event_type\")samples = (    samples    .group_by(\"timestamp\", \"client_id\")    .agg(pl.col(\"target\").unique())    .filter(        pl.col(\"target\").list.eval(            pl.when(pl.element().struct.field(\"labels\").struct.field(\"view\")).then(0)            .when(pl.element().struct.field(\"labels\").struct.field(\"click\")).then(1)            .when(pl.element().struct.field(\"labels\").struct.field(\"like\")).then(2)            .when(pl.element().struct.field(\"labels\").struct.field(\"clickout\")).then(3)            .otherwise(-1)        ).list.unique().list.len() &gt; 1    )    .sort(\"timestamp\"))train_ratio = 0.8split_idx = int(len(samples) * train_ratio)split_timestamp = samples[\"timestamp\"][split_idx]train_samples = samples.filter(pl.col(\"timestamp\") &lt; split_timestamp)test_samples = samples.filter(pl.col(\"timestamp\") &gt;= split_timestamp)test_samples = (    test_samples    .explode(\"target\")    .with_columns([        pl.col(\"target\").struct.field(\"item\").alias(\"item\"),        pl.col(\"target\").struct.field(\"labels\").struct.field(\"view\").alias(\"view\"),        pl.col(\"target\").struct.field(\"labels\").struct.field(\"like\").alias(\"like\"),        pl.col(\"target\").struct.field(\"labels\").struct.field(\"click\").alias(\"click\"),        pl.col(\"target\").struct.field(\"labels\").struct.field(\"clickout\").alias(\"clickout\"),    ])    .with_columns(        pl.when(pl.col(\"view\")).then(0)         .when(pl.col(\"click\")).then(1)         .when(pl.col(\"like\")).then(2)         .when(pl.col(\"clickout\")).then(3)         .otherwise(-1)         .alias(\"relevance\")    )    .group_by(\"timestamp\", \"client_id\", \"item\")    .agg([        pl.col(\"view\").any(),        pl.col(\"like\").any(),        pl.col(\"click\").any(),        pl.col(\"clickout\").any(),        pl.col(\"relevance\").max()    ])    .with_columns(        pl.struct([            \"item\",            pl.struct([\"view\", \"like\", \"click\", \"clickout\"]).alias(\"labels\"),            \"relevance\"        ]).alias(\"target\")    )    .group_by(\"timestamp\", \"client_id\")    .agg([        pl.col(\"target\"),        pl.col(\"item\").alias(\"items\")    ]))train_samples = train_samples.join(CLIENTS, on=\"client_id\", how=\"left\")train_samples = train_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])test_samples = test_samples.join(CLIENTS, on=\"client_id\", how=\"left\")test_samples = test_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])train_samples.write_parquet(\"..\/ranking\/basis\/train\/samples.pq\")test_samples.write_parquet(\"..\/ranking\/basis\/test\/samples.pq\")artifacts = pl.DataFrame(    train_samples.select(pl.col(\"target\").list.eval(pl.element().struct.field(\"item\")).explode()).unique()).rename({\"target\": \"item\"})artifacts = artifacts.with_columns(pl.col(\"item\")).join(ITEMS, left_on=\"item\", right_on=\"item_id\", how=\"left\").select(\"item\", \"brand_id\")artifacts.write_parquet(\"..\/ranking\/basis\/train\/artifacts\/items.pq\")artifacts.write_parquet(\"..\/ranking\/basis\/test\/artifacts\/items.pq\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>train\/samples.pq \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/699\/d60\/787\/699d6078744fbce66187c1f84d3a567a.png\" width=\"1206\" height=\"496\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/699\/d60\/787\/699d6078744fbce66187c1f84d3a567a.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/699\/d60\/787\/699d6078744fbce66187c1f84d3a567a.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 test\/samples.pq \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0430\u0439\u0442\u0435\u043c\u0443 \u0442\u0430\u0440\u0433\u0435\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c, \u0430 \u0440\u044f\u0434\u043e\u043c \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0430 items \u2014 \u043f\u0443\u043b \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432 (labels \u0434\u043b\u044f \u043a\u0440\u0430\u0442\u043a\u043e\u0441\u0442\u0438 \u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044b, \u0432 \u0444\u0430\u0439\u043b\u0435 \u043e\u043d\u0438 \u0442\u0430\u043a\u0438\u0435 \u0436\u0435, \u043a\u0430\u043a \u0432 train):<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7c4\/4bc\/323\/7c44bc323a019d53b2c859ac194a4bfd.png\" width=\"1236\" height=\"594\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/7c4\/4bc\/323\/7c44bc323a019d53b2c859ac194a4bfd.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7c4\/4bc\/323\/7c44bc323a019d53b2c859ac194a4bfd.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u0442\u0435 \u0436\u0435, \u0447\u0442\u043e \u0438 \u0432 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u2014 item \u0438 \u0431\u0440\u0435\u043d\u0434:<\/p>\n<div class=\"floating-image\">\n<figure class=\"float bordered \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6b7\/5d8\/2b8\/6b75d82b8b820c667d4da5013d63e07d.png\" width=\"432\" height=\"336\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/6b7\/5d8\/2b8\/6b75d82b8b820c667d4da5013d63e07d.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6b7\/5d8\/2b8\/6b75d82b8b820c667d4da5013d63e07d.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0443\u043b\u043e\u043c \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432 \u043d\u0430 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043b\u043e\u043d\u043a\u0430 items \u0438\u0437 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u2014 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u044d\u043c\u043f\u043b\u0430, \u0442\u043e\u0442 \u0436\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u0412 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435 \u043f\u0443\u043b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b \u0431\u044b \u043e\u0442 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442 retrieval-\u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430. \u0412 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0435 \u043c\u044b \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0447\u0438\u0441\u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043f\u0443\u043b \u043a\u043b\u0430\u0434\u0435\u043c \u0430\u0439\u0442\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u0432\u0438\u0434\u0435\u043b.<\/p>\n<\/div>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430 \u043e\u0442\u0440\u0430\u043d\u0436\u0438\u0440\u0443\u0435\u043c \u043f\u0443\u043b \u043f\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 \u0430\u0439\u0442\u0435\u043c\u0430 \u0432 train-\u0447\u0430\u0441\u0442\u0438 \u0431\u0430\u0437\u0438\u0441\u0430, \u0441\u0447\u0438\u0442\u0430\u044f \u0435\u0435 \u043f\u043e \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c: \u043a\u043b\u0438\u043a\u0443, \u043b\u0430\u0439\u043a\u0443 \u0438 \u043a\u043b\u0438\u043a\u0430\u0443\u0442\u0443.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">item_to_popularity = dict(    train_samples.select(pl.col(\"target\").explode()).unnest(\"target\").unnest(\"labels\")    .filter(pl.col(\"click\") | pl.col(\"like\") | pl.col(\"clickout\"))    [\"item\"].value_counts().iter_rows())inference_basis = pl.read_parquet(\"..\/ranking\/basis\/samples.pq\")inference_artifacts = pl.read_parquet(\"..\/ranking\/basis\/artifacts\/items.pq\")inference_basis = inference_basis.with_columns(    baseline_prediction=pl.col(\"items\").list.eval(        pl.struct(            item=pl.element(),            probas=pl.struct(**{label: pl.lit(0.0, pl.Float32) for label in [\"view\", \"click\", \"like\", \"clickout\"]}),            score=pl.element().replace_strict(item_to_popularity, default=0).cast(pl.Float32),        )    ))<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u0430, \u0430 \u043f\u0443\u043b \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0441\u043a\u043e\u0440\u0443 \u2014 \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u0435 \u044d\u0442\u0438\u0445 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0435\u0441\u0430 \u0440\u0430\u0432\u043d\u044b, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0432\u043d\u043e\u0441\u0438\u0442 \u0432 \u0441\u043a\u043e\u0440 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0432\u043a\u043b\u0430\u0434, \u0447\u0442\u043e \u0438 \u043a\u043b\u0438\u043a\u0430\u0443\u0442. \u0427\u0435\u0440\u0435\u0437 label_to_weight \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u0432\u0435\u0441\u0430 \u0440\u0430\u0432\u043d\u044b\u043c\u0438 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044f\u043c: \u0442\u043e\u0433\u0434\u0430 \u0441\u043a\u043e\u0440 \u2014 \u044d\u0442\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0430\u044f \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u044b \u0435\u0435 \u043d\u0435 \u0437\u0430\u0432\u044b\u0448\u0430\u044e\u0442.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>config5.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: ranking  head:    label_to_weight:      view: 0      click: 1      like: 2      clickout: 3  metrics:    ndcg@20:      type: ndcg_at_k      params:        k: 20    mrr@20:      type: mrr_at_k      params:        k: 20events:  marketplace-click:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  marketplace-like:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 2  marketplace-clickout:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 3  marketplace-view:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 0max_events_per_sequence: 512encoders:  item:    type: id  subdomain:    type: id  brand_id:    type: id  socdem_cluster:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  item:    located_in:      artifacts: true    encoder: item  subdomain:    located_in:      event: true    encoder: subdomain  brand_id:    located_in:      artifacts: true    encoder: brand_id  socdem_cluster:    located_in:      context: true    encoder: socdem_clusterbackbone:  dim: 256  history_aggregator:    type: modern_bert    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: sum  context_aggregator:    type: identitytraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: ndcg@20    mode: max    patience: 3  optimizer:    params:      lr: 0.0003inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043a\u0430\u043a \u0432 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438: \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u0430\u0442\u0430\u0441\u0435\u0442, \u043e\u0431\u0443\u0447\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c, \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u043c \u0442\u0435\u043c\u0438 \u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438:<\/p>\n<pre><code class=\"bash\">uv run python -m perseus inference distribute-samples --workdir ..\/rankinguv run python -m perseus inference make-backbone-embeddings --workdir ..\/rankinguv run python -m perseus inference make-head-predictions --workdir ..\/ranking<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u0438\u0445 \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b98\/e2a\/2c6\/b98e2a2c6b0bd08e517c05923a9a0fc0.png\" alt=\"\u041f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f Perseus\" title=\"\u041f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f Perseus\" width=\"2048\" height=\"467\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/b98\/e2a\/2c6\/b98e2a2c6b0bd08e517c05923a9a0fc0.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b98\/e2a\/2c6\/b98e2a2c6b0bd08e517c05923a9a0fc0.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f Perseus<\/figcaption><\/div>\n<\/figure>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>NDCG@20<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>MRR@20<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 (\u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,4812<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,4357<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,4984<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,4578<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Perseus \u0432\u044b\u0438\u0433\u0440\u044b\u0432\u0430\u0435\u0442 \u0443 \u0431\u0435\u0439\u0437\u043b\u0430\u043d\u0430, \u0445\u043e\u0442\u044f \u0438 \u0441 \u043c\u0435\u043d\u044c\u0448\u0438\u043c \u043e\u0442\u0440\u044b\u0432\u043e\u043c, \u0447\u0435\u043c \u0431\u044b\u043b\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0435\u0439.<\/p>\n<h2>\u041a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<\/h2>\n<p>\u0411\u0443\u0434\u0435\u043c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442 \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 (\u043a\u043b\u0438\u043a, \u043b\u0430\u0439\u043a \u0438\u043b\u0438 \u043a\u043b\u0438\u043a\u0430\u0443\u0442) \u0432 Marketplace \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 7 \u0434\u043d\u0435\u0439 \u043f\u043e\u0441\u043b\u0435 \u0434\u0430\u0442\u044b \u0441\u044d\u043c\u043f\u043b\u0430. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0432\u043e\u0437\u044c\u043c\u0435\u043c ROC-AUC.<\/p>\n<p><strong>\u0411\u0430\u0437\u0438\u0441<\/strong> \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e: \u0442\u0430\u0440\u0433\u0435\u0442 \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0430, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f. \u0421\u043e\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0438\u0441 \u0438\u0437 \u0434\u043d\u0435\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u044b\u043b \u0430\u043a\u0442\u0438\u0432\u0435\u043d \u0432 Marketplace, \u0437\u0430 \u0442\u0435 \u0436\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 120 \u0434\u043d\u0435\u0439 \u0438 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435\u043c timestamp.\u00a0<\/p>\n<p>\u0422\u0430\u0440\u0433\u0435\u0442 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043f\u043e \u043e\u043a\u043d\u0443 (t, t + 7 \u0434\u043d\u0435\u0439], \u0442\u043e \u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u0433\u043e \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u044d\u043c\u043f\u043b\u0430: visit, \u0435\u0441\u043b\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0432 \u043e\u043a\u043d\u0435 \u0431\u044b\u043b\u0430, \u0438 no_visit \u0438\u043d\u0430\u0447\u0435. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 7 \u0434\u043d\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043e\u0442\u0431\u0440\u043e\u0441\u0438\u043c: \u0434\u043b\u044f \u043d\u0438\u0445 \u043e\u043a\u043d\u043e \u043d\u0435\u043f\u043e\u043b\u043d\u043e\u0435 \u0438 \u0442\u0430\u0440\u0433\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0431\u044b \u0437\u0430\u043d\u0438\u0436\u0435\u043d. \u0417\u0430\u0442\u0435\u043c, \u043a\u0430\u043a \u0438 \u0440\u0430\u043d\u044c\u0448\u0435, \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043c \u0431\u0430\u0437\u0438\u0441 80\/20 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">samples = pl.concat([    pl.read_parquet(\"\/event-hub\/marketplace-click\"),    pl.read_parquet(\"\/event-hub\/marketplace-like\"),    pl.read_parquet(\"\/event-hub\/marketplace-clickout\"),]).select(\"date\", \"timestamp\", \"client_id\")start_date = samples[\"date\"].max() - timedelta(days=120)samples = (    samples    .filter(pl.col(\"timestamp\") &gt;= start_date)    .with_columns((pl.col(\"date\").cast(pl.Datetime) - timedelta(hours=12)).cast(pl.Datetime(\"ns\")).alias(\"timestamp\")).drop(\"date\")    .unique([\"timestamp\", \"client_id\"])    .sort(\"client_id\", \"timestamp\"))horizon = timedelta(days=7)next_week_visits = samples.rolling(    index_column=\"timestamp\",    period=\"7d\",    offset=\"0d\",    closed=\"right\",    group_by=\"client_id\",).agg(pl.len().alias(\"num_visits\"))samples = (    samples    .filter(pl.col(\"timestamp\") &lt; pl.col(\"timestamp\").max() - horizon)    .join(next_week_visits, on=[\"client_id\", \"timestamp\"], how=\"left\")    .select(        \"timestamp\",        \"client_id\",        pl.when(pl.col(\"num_visits\") &gt; 0).then(pl.lit(\"visit\")).otherwise(pl.lit(\"no_visit\")).alias(\"target\"),    )    .sort(\"timestamp\"))train_ratio = 0.8split_idx = int(len(samples) * train_ratio)split_timestamp = samples[\"timestamp\"][split_idx]train_samples = samples.filter(pl.col(\"timestamp\") &lt; split_timestamp)test_samples = samples.filter(pl.col(\"timestamp\") &gt;= split_timestamp)train_samples = train_samples.join(CLIENTS, on=\"client_id\", how=\"left\")train_samples = train_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])test_samples = test_samples.join(CLIENTS, on=\"client_id\", how=\"left\")test_samples = test_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])train_samples.write_parquet(\"..\/classification\/basis\/train\/samples.pq\")test_samples.write_parquet(\"..\/classification\/basis\/test\/samples.pq\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>train\/samples.pq \u0438 test\/samples.pq \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8c9\/c8c\/2c1\/8c9c8c2c1cc9afe9162cd1cd1c55f7ca.png\" width=\"980\" height=\"340\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/8c9\/c8c\/2c1\/8c9c8c2c1cc9afe9162cd1cd1c55f7ca.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8c9\/c8c\/2c1\/8c9c8c2c1cc9afe9162cd1cd1c55f7ca.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e\u043c: \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u0443\u044e \u043c\u0435\u0442\u043a\u0443, \u0435\u0441\u043b\u0438 \u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0431\u044b\u043b\u043e \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0437\u0430 30-\u0434\u043d\u0435\u0432\u043d\u044b\u0439 \u043f\u0435\u0440\u0438\u043e\u0434, \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 timestamp-\u0443 \u0441\u044d\u043c\u043f\u043b\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">visit_rate = (train_samples[\"target\"] == \"visit\").mean()baseline_prediction = pl.struct(  no_visit=pl.lit(1 - visit_rate, pl.Float32),  visit=pl.lit(visit_rate, pl.Float32),)inference_basis = pl.read_parquet(\"..\/classification\/basis\/samples.pq\")activity = pl.concat([train_samples, test_samples]).select(\"client_id\", \"timestamp\").sort(\"client_id\", \"timestamp\")visited_before = activity.join(  activity.rolling(      index_column=\"timestamp\",      period=\"7d\",      offset=\"-30d\",      closed=\"left\",      group_by=\"client_id\",  ).agg(pl.len().alias(\"num_prior_visits\")),  on=[\"client_id\", \"timestamp\"],  how=\"left\",).with_columns(  (pl.col(\"num_prior_visits\").fill_null(0) &gt; 0).cast(pl.Float32).alias(\"visit\")).select(\"client_id\", \"timestamp\", \"visit\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445: \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u043d\u0435 \u043d\u0443\u0436\u043d\u044b, \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u043c. \u0414\u043b\u044f ROC-AUC \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c pos_label.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>config6.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: classification  metrics:    roc_auc:      params:        pos_label: visitevents:  marketplace-click:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 2  marketplace-like:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  marketplace-clickout:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  retail-order:    max_duration_per_sequence: 365d  offers-click:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-like:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-clickout:    attributes:      brand_id:    max_duration_per_sequence: 365dmax_events_per_sequence: 512encoders:  item:    type: id  subdomain:    type: id  brand_id:    type: id  socdem_cluster:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  subdomain:    located_in:      event: true    encoder: subdomain  brand_id:    located_in:      event: true    encoder: brand_id  socdem_cluster:    located_in:      context: true    encoder: socdem_clusterbackbone:  dim: 256  history_aggregator:    type: modern_bert    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: sum  context_aggregator:    type: identitytraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: roc_auc    mode: max    patience: 3  optimizer:    params:      lr: 0.0003inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c\u0438 \u0436\u0435, \u043a\u0430\u043a \u043f\u0440\u0438 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438:<\/p>\n<pre><code class=\"bash\">uv run python -m perseus train prepare-dataset --workdir ..\/classificationuv run accelerate launch -m perseus train fit-model --workdir ..\/classificationuv run python -m perseus inference distribute-samples --workdir ..\/classificationuv run python -m perseus inference make-backbone-embeddings --workdir ..\/classificationuv run python -m perseus inference make-head-predictions --workdir ..\/classification<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>ROC-AUC<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u0440\u0430\u0432\u0438\u043b\u043e (\u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,52<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,59<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h2>\u0420\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f<\/h2>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f. \u0411\u0443\u0434\u0435\u043c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0443\u043c\u043c\u0430\u0440\u043d\u0443\u044e \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u0440\u043e\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 Marketplace \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043c\u0435\u0441\u044f\u0446\u0430. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u044b \u0432 \u043d\u0435\u0435 \u043d\u0435 \u0432\u0445\u043e\u0434\u044f\u0442, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u2014 \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u0435\u0442\u0440\u0438\u043a \u0432\u043e\u0437\u044c\u043c\u0435\u043c MAE \u0438 RMSE.<\/p>\n<p>\u0421\u043e\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0438\u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u043b\u0438 \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438. \u041d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u044b \u0441\u0430\u043c\u0438 \u0442\u043e\u0432\u0430\u0440\u044b \u0438 \u0438\u0445 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0434\u043e \u043f\u0430\u0440 (\u0434\u0430\u0442\u0430, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c) \u0431\u0443\u0434\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0434\u0436\u043e\u0439\u043d\u0430 \u0441\u043e \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0442\u043e\u0432\u0430\u0440\u043e\u0432. \u0421\u0432\u0435\u0440\u043d\u0435\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043a\u043e\u0440\u0437\u0438\u043d\u044b \u0437\u0430 \u0434\u0435\u043d\u044c \u0438 \u043f\u0440\u043e\u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u043c \u0435\u0435 \u0432 \u043e\u043a\u043d\u0435 (t, t + 30 \u0434\u043d\u0435\u0439]. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043e\u0442\u0431\u0440\u043e\u0441\u0438\u043c \u043a\u0430\u043a \u043d\u0435\u043f\u043e\u043b\u043d\u044b\u0439.\u00a0<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">events = pl.concat([    pl.read_parquet(\"\/event-hub\/marketplace-click\"),    pl.read_parquet(\"\/event-hub\/marketplace-like\"),    pl.read_parquet(\"\/event-hub\/marketplace-clickout\"),]).select(\"date\", \"timestamp\", \"client_id\", \"item_id\")start_date = events[\"date\"].max() - timedelta(days=120)events = (    events    .filter(pl.col(\"timestamp\") &gt;= start_date)    .with_columns((pl.col(\"date\").cast(pl.Datetime) - timedelta(hours=12)).cast(pl.Datetime(\"ns\")).alias(\"timestamp\")).drop(\"date\")    .unique([\"timestamp\", \"client_id\", \"item_id\"])    .join(ITEMS.select(\"item_id\", pl.col(\"price\").cast(pl.Float64)), on=\"item_id\", how=\"left\"))horizon = timedelta(days=30)samples = (    events    .group_by(\"timestamp\", \"client_id\")    .agg(pl.col(\"price\").sum().alias(\"daily_spend\"))    .sort(\"client_id\", \"timestamp\"))next_month_spend = samples.rolling(    index_column=\"timestamp\",    period=\"30d\",    offset=\"0d\",    closed=\"right\",    group_by=\"client_id\",).agg(pl.col(\"daily_spend\").sum().alias(\"target\"))samples = (    samples    .filter(pl.col(\"timestamp\") &lt; pl.col(\"timestamp\").max() - horizon)    .join(next_month_spend, on=[\"client_id\", \"timestamp\"], how=\"left\")    .select(\"timestamp\", \"client_id\", pl.col(\"target\").fill_null(0.0))    .sort(\"timestamp\"))train_ratio = 0.8split_idx = int(len(samples) * train_ratio)split_timestamp = samples[\"timestamp\"][split_idx]train_samples = samples.filter(pl.col(\"timestamp\") &lt; split_timestamp)test_samples = samples.filter(pl.col(\"timestamp\") &gt;= split_timestamp)train_samples = train_samples.join(CLIENTS, on=\"client_id\", how=\"left\")train_samples = train_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])test_samples = test_samples.join(CLIENTS, on=\"client_id\", how=\"left\")test_samples = test_samples.with_columns(    pl.struct([\"socdem_cluster\"]).alias(\"context\")).drop([\"socdem_cluster\"])train_samples.write_parquet(\"..\/regression\/basis\/train\/samples.pq\")test_samples.write_parquet(\"..\/regression\/basis\/test\/samples.pq\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0411\u0430\u0437\u0438\u0441 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0444\u043e\u0440\u043c\u044b, \u0447\u0442\u043e \u0438 \u0432 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u0432 target-\u0447\u0438\u0441\u043b\u043e:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d6a\/d01\/c22\/d6ad01c22bf2a5b887da7f96970b919f.png\" width=\"964\" height=\"340\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/d6a\/d01\/c22\/d6ad01c22bf2a5b887da7f96970b919f.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d6a\/d01\/c22\/d6ad01c22bf2a5b887da7f96970b919f.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u2014 \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u043f\u043e train-\u0447\u0430\u0441\u0442\u0438 \u0431\u0430\u0437\u0438\u0441\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>Listing<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">mean_target = train_samples[\"target\"].mean()baseline_prediction = pl.lit(mean_target, pl.Float32)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433 \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442 \u043a\u043e\u043d\u0444\u0438\u0433 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438: \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0442\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438, \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0438 \u0433\u043e\u043b\u043e\u0432\u0430. \u0422\u0430\u0440\u0433\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043a\u043e\u0448\u0435\u043d\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u043d\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u2014 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c MinMax Scaling, \u0443\u043a\u0430\u0437\u0430\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>config7.yaml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"yaml\">task:  type: regression  metrics:    mae:    rmse:  preprocessor:    scaler: minmaxevents:  marketplace-click:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 2  marketplace-like:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  marketplace-clickout:    attributes:      item_id:      subdomain:    max_duration_per_sequence: 365d    priority: 1  retail-order:    max_duration_per_sequence: 365d  offers-click:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-like:    attributes:      brand_id:    max_duration_per_sequence: 365d  offers-clickout:    attributes:      brand_id:    max_duration_per_sequence: 365dmax_events_per_sequence: 512encoders:  item:    type: id  subdomain:    type: id  brand_id:    type: id  socdem_cluster:    type: idfeatures:  item_id:    located_in:      event: true    encoder: item  subdomain:    located_in:      event: true    encoder: subdomain  brand_id:    located_in:      event: true    encoder: brand_id  socdem_cluster:    located_in:      context: true    encoder: socdem_clusterbackbone:  dim: 256  history_aggregator:    type: modern_bert    params:      num_layers: 4      num_heads: 4      dropout: 0.1  event_aggregator:    type: sum  context_aggregator:    type: identitytraining:  num_epochs: 10  log_every_n_train_steps: 1000  dataloader:    batch_size: 32    num_workers: 2    pin_memory: true    shuffle: true  test_dataloader:    batch_size: 32    num_workers: 2    pin_memory: true  early_stopping:    metric: rmse    mode: min    patience: 3  optimizer:    params:      lr: 0.0003inference:  backbone_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true  head_dataloader:    batch_size: 64    num_workers: 0    pin_memory: true<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0442\u0435 \u0436\u0435, \u0447\u0442\u043e \u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445:<\/p>\n<pre><code class=\"bash\">uv run python -m perseus train prepare-dataset --workdir ..\/regressionuv run accelerate launch -m perseus train fit-model --workdir ..\/regressionuv run python -m perseus inference distribute-samples --workdir ..\/regressionuv run python -m perseus inference make-backbone-embeddings --workdir ..\/regressionuv run python -m perseus inference make-head-predictions --workdir ..\/regression<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>MAE<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>RMSE<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0421\u0440\u0435\u0434\u043d\u0435\u0435 (\u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d)<\/p>\n<\/td>\n<td>\n<p align=\"left\">7,7591<\/p>\n<\/td>\n<td>\n<p align=\"left\">13,9357<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Perseus<\/p>\n<\/td>\n<td>\n<p align=\"left\">7,1497<\/p>\n<\/td>\n<td>\n<p align=\"left\">13,5175<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Perseus \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0441\u0435\u0431\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u0430 \u0431\u044d\u043a\u0431\u043e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u043a\u0430\u043a \u0431\u044b\u043b\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0435\u0439, \u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u044f.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Perseus. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430 T-ECD, \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u043d\u043e\u0433\u043e\u0433\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043c\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438 \u0447\u0435\u0442\u044b\u0440\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f: \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e, \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e. \u0412 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043b\u0438 \u0441 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u043e\u043c \u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438, \u043a\u0430\u043a \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e.<\/p>\n<p>\u0422\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430. \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0438\u0447\u0438? \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430? \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u044d\u043a\u0431\u043e\u043d \u0438\u043b\u0438 \u0442\u0438\u043f \u043f\u0443\u043b\u0438\u043d\u0433\u0430? \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u0432 YAML-\u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u2014 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0441 \u043d\u0443\u043b\u044f.<\/p>\n<p>\u041c\u044b \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c Perseus \u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0439 \u0442\u0435\u043e\u0440\u0438\u0438. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0432\u043e\u0438\u0442\u044c\u0441\u044f, \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432, \u043d\u043e, \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u043d\u0430\u0448 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u0441\u0442\u0430\u043d\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430. \u041c\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e Perseus \u0441\u0442\u043e\u0438\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u044f, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u043c\u0443\u043b\u044c\u0442\u0438\u0434\u043e\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p>\u0416\u0434\u0435\u043c \u0432\u0430\u0448\u0438\u0445 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0439, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432!<\/p>\n<p><strong>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:\u00a0<\/strong><\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/github.com\/perseus2026\/perseus\/blob\/main\/tutorial.ipynb\">\u041a\u043e\u0434 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/perseus2026\/perseus\">Perseus, \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/tbank\/articles\/1061236\/\">Perseus, \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0425\u0430\u0431\u0440<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/huggingface.co\/datasets\/t-tech\/T-ECD\">T-ECD, HuggingFace<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/tbank\/articles\/950696\/\">T-ECD, \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0425\u0430\u0431\u0440<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p>\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\/articles\/1081276\/\">https:\/\/habr.com\/ru\/articles\/1081276\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0442! \u042f \u0410\u043d\u044f \u041d\u0438\u043a\u0438\u0444\u043e\u0440\u043e\u0432\u0430, ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0432 \u0422-\u0411\u0430\u043d\u043a\u0435. \u042d\u0442\u0438\u043c \u043b\u0435\u0442\u043e\u043c \u043d\u0430 Turbo ML Conf 2026 \u043c\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Perseus. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0433\u0435\u0442\u0435\u0440\u043e\u0433\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0445\u043e\u0440\u043e\u0448\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043a\u0440\u043e\u0441\u0441-\u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438.\u00a0\u0412 \u0441\u0438\u043b\u0443 \u0441\u0432\u043e\u0435\u0439 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u043c \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u043c, \u0433\u0434\u0435 \u043f\u043e \u0448\u0430\u0433\u0430\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Perseus \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Perseus \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e, \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e \u043f\u043e\u0432\u0435\u0440\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445: \u043a\u0430\u043a \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0438 \u043a\u0430\u043a \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0438\u0447\u0438, \u043e\u0431\u043e\u0433\u0430\u0449\u0430\u0442\u044c \u0435\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0438 \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c, \u043c\u0435\u043d\u044f\u044f \u043b\u0438\u0448\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.\u041f\u043b\u0430\u043d \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430\u041a\u043e\u0434 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d, \u2014 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e Perseus\u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c T-ECD, \u043e\u043d \u0431\u044b\u043b \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043d\u0430\u043c\u0438 \u0432 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0435 2025 \u0438 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 KDD-2026 (A*) \u0432 \u042e\u0436\u043d\u043e\u0439 \u041a\u043e\u0440\u0435\u0435. T-ECD \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0433\u0434\u0435 Perseus \u0443\u0436\u0435 \u0434\u043e\u043a\u0430\u0437\u0430\u043b \u0441\u0432\u043e\u044e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435. \u0420\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u043c \u043a\u044d\u0448\u0431\u0435\u043a\u0435, \u0428\u043e\u043f\u0438\u043d\u0433\u0435 \u0438 \u0421\u0443\u043f\u0435\u0440\u043c\u0430\u0440\u043a\u0435\u0442\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u0413\u043e\u0440\u043e\u0434\u00bb \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0422-\u0411\u0430\u043d\u043a\u0430.\u0420\u0430\u0437\u0434\u0435\u043b \u00ab\u0413\u043e\u0440\u043e\u0434\u00bb \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0422-\u0411\u0430\u043d\u043a\u0430\u0414\u0430\u0442\u0430\u0441\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u044e\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0438\u0440\u043e\u0434\u0435, \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0440\u0435\u043d\u0434 \u0442\u043e\u0432\u0430\u0440\u0430 \u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u0442 \u0438 \u043f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435, \u0438 \u043f\u0440\u0438 \u0437\u0430\u043a\u0430\u0437\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435. \u0412\u0441\u0435\u0433\u043e \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u043f\u044f\u0442\u044c \u0434\u043e\u043c\u0435\u043d\u043e\u0432, \u0438 Perseus \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0435.\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0446\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u0430\u0445 T-ECD\u041f\u043b\u0430\u043d \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430:\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a Perseus \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0438 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c.\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432.\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0440\u0435\u0448\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438.\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 item_id.\u041e\u0431\u043e\u0433\u0430\u0442\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0444\u0438\u0447\u0430\u043c\u0438, \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043c\u043e\u0434\u0435\u043b\u0438 (\u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0438\u043f \u0431\u044d\u043a\u0431\u043e\u043d\u0430 \u0438 \u043f\u0443\u043b\u0438\u043d\u0433\u0430).\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Perseus.\u0421\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438.\u041e\u0431\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044e.\u0412 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u043c\u0441\u044f \u0441 \u0431\u0435\u0439\u0437\u043b\u0430\u0439\u043d\u0430\u043c\u0438.\u0427\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043f\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Perseus\u0417\u043e\u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 ML-\u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0442\u044b\u0440\u044c\u043c\u044f \u0448\u0430\u0433\u0430\u043c\u0438:\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0432 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 (Event Hub).\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u043e\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 (timestamp, client_id, target) \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u043c \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438: \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438.\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c YAML-\u043a\u043e\u043d\u0444\u0438\u0433\u0430, \u0437\u0430\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0434\u0435\u043b\u0438.\u0417\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u043a\u043e\u043c\u0430\u043d\u0434 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430.\u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c.\u041c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u0433\u043b\u043e\u0441\u0441\u0430\u0440\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u044c \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.\u00a0\u0414\u0430\u043d\u043d\u044b\u0435:\u0421\u043e\u0431\u044b\u0442\u0438\u0435 \u2014 \u0444\u0430\u043a\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 (timestamp, client_id). \u0423 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0442\u0438\u043f \u0438 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 id \u0438\u043b\u0438 \u0431\u0440\u0435\u043d\u0434 \u0442\u043e\u0432\u0430\u0440\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b. \u0421\u043e\u0431\u044b\u0442\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c\u0438 \u2014 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0442\u043e\u0432\u0430\u0440\u0430, \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u043c\u0443\u0437\u044b\u043a\u0438, \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u2014 \u0438 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443.\u00a0Event Hub \u2014 \u0435\u0434\u0438\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e Perseus \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u043d\u0435\u043c \u043d\u0435\u0442, ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0433\u043e \u0442\u0443\u0434\u0430 \u0441\u0430\u043c. Event Hub \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u043e\u0436\u0434\u044b, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 Event Hub \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c \u0438 \u0435\u0433\u043e \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0433\u0430\u0449\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438.\u041f\u0440\u0438\u0437\u043d\u0430\u043a \u2014 \u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442. \u041f\u0440\u0438\u0437\u043d\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438, \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043b\u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430\u0445, \u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430 \u044d\u0442\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u044f\u0432\u043d\u043e (located_in).\u042d\u043d\u043a\u043e\u0434\u0435\u0440 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u0432 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433: id \u0434\u043b\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445, ple \u0434\u043b\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445, bag-of-words \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445. \u041e\u0434\u0438\u043d \u044d\u043d\u043a\u043e\u0434\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0440\u0435\u043d\u0434 \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 \u043e\u0431\u0449\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e.\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0431\u0430\u0437\u0438\u0441\u0430:\u0411\u0430\u0437\u0438\u0441 \u2014 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 ML-\u0437\u0430\u0434\u0430\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u0431\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0438\u0442\u0441\u044f. \u0414\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u0438\u0441 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 train- \u0438 test-\u0444\u043e\u043b\u0434\u044b, \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041f\u043e test-\u0444\u043e\u043b\u0434\u0443 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043e\u0442 \u044d\u043f\u043e\u0445\u0438 \u043a \u044d\u043f\u043e\u0445\u0435.\u041e\u0431\u044a\u0435\u043a\u0442 \u0431\u0430\u0437\u0438\u0441\u0430 (\u0441\u044d\u043c\u043f\u043b) \u2014 \u043f\u0430\u0440\u0430 (client_id, timestamp): \u043a\u043b\u0438\u0435\u043d\u0442 \u0432 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433 \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435.\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u2014 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0443\u0440\u043e\u0432\u043d\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0430\u0437\u0438\u0441\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0442\u0435, \u0447\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u0441\u044d\u043c\u043f\u043b\u0443 \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0430 \u043d\u0435 \u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u044e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043e\u0446\u0434\u0435\u043c-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438\u043b\u0438 \u0444\u043b\u0430\u0433, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u0442\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u043c \u0434\u043d\u0435\u043c. \u0412 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043d\u0430 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0435.\u0422\u0430\u0440\u0433\u0435\u0442 \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0430\u0437\u0438\u0441\u0430. \u0415\u0433\u043e \u0432\u0438\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0437\u0430\u0434\u0430\u0447\u0438: \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0439\u0442\u0435\u043c\u043e\u0432 \u0441 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0434\u043b\u044f \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043c\u0435\u0442\u043a\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u0447\u0438\u0441\u043b\u043e \u0434\u043b\u044f \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438.\u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u2014 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u0430\u0440\u0433\u0435\u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0441\u0430\u043c\u0438\u0445 \u0441\u044d\u043c\u043f\u043b\u0430\u0445. \u0414\u043b\u044f \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0430\u0439\u0442\u0435\u043c\u043e\u0432 (\u0438 \u0438\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432), \u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u043d\u0435\u0442.\u0413\u0440\u0443\u043f\u043f\u044b \u2014 \u0441\u0440\u0435\u0437\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e (\u043f\u043e\u043c\u0438\u043c\u043e overall) \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438. \u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f test-\u0444\u043e\u043b\u0434\u0430.\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043c\u043e\u0434\u0435\u043b\u0438:\u0411\u044d\u043a\u0431\u043e\u043d \u0441\u0432\u043e\u0434\u0438\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0432 \u043e\u0434\u0438\u043d \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 event_aggregator \u0432\u0435\u043a\u0442\u043e\u0440\u0438\u0437\u0443\u0435\u0442 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435, context_aggregator \u2014 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0430 \u0437\u0430\u0442\u0435\u043c history_aggregator \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u0435\u043a\u0442\u043e\u0440. history_aggregator \u2014 \u044d\u0442\u043e \u044f\u0434\u0440\u043e \u0431\u044d\u043a\u0431\u043e\u043d\u0430, \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 sequence modeling. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b: modern_bert (\u0434\u0435\u0444\u043e\u043b\u0442), bert, ligr, danet, hstu \u0438 mamba. \u041f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043e\u043d\u0438 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u0445, \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044f mamba.\u0413\u043e\u043b\u043e\u0432\u0430 \u2014 \u0442\u043e, \u0447\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f. \u041e\u0431\u0443\u0447\u0430\u0435\u0442\u0441\u044f end-to-end \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0431\u044d\u043a\u0431\u043e\u043d\u043e\u043c.\u041f\u0430\u0439\u043f\u043b\u0430\u0439\u043d:\u041a\u043e\u043d\u0444\u0438\u0433 \u2014 \u043e\u0434\u0438\u043d YAML-\u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435: \u0437\u0430\u0434\u0430\u0447\u0430 \u0438 \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438 \u0438\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0438 \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u044b, \u0431\u044d\u043a\u0431\u043e\u043d \u0438 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441\u0430.Workdir \u2014 \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430. ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043a\u043b\u0430\u0434\u0435\u0442 \u0432 \u043d\u0435\u0435 \u0431\u0430\u0437\u0438\u0441 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433, \u0430 Perseus \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0442\u0443\u0434\u0430 \u0432\u0441\u0435, \u0447\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442 (\u0435\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u2014 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0430). \u0412\u0430\u0436\u043d\u0430\u044f \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0430, \u0447\u0442\u043e Event Hub \u0438 Workdir \u2014 \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c.Perseus \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u044d\u043c\u043f\u043b\u0430 \u0431\u0430\u0437\u0438\u0441\u0430 \u0438\u0437 Event Hub \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0435\u043c\u0443 \u043d\u0430\u0431\u043e\u0440 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0421\u0438\u043a\u0432\u0435\u043d\u0441 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u044b \u0438 \u0431\u044d\u043a\u0431\u043e\u043d. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0441\u043a\u0440\u044b\u0442\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u0433\u043e\u043b\u043e\u0432\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435, \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u0442\u0430\u0440\u0433\u0435\u0442\u043e\u043c, \u0438 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043b\u043e\u0441\u0441. Event Hub \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u0431\u0430\u0437\u0438\u0441\u043e\u043c \u0447\u0435\u0440\u0435\u0437 (timestamp, client_id).\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u2014 Event HubEvent Hub \u2014 \u0435\u0434\u0438\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 Perseus \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0441\u0438\u043a\u0432\u0435\u043d\u0441 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u041f\u0443\u0442\u044c \u0434\u043e Event Hub \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f.\u00a0\u041a\u0430\u0436\u0434\u044b\u0439 \u0442\u0438\u043f \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0432 Event Hub \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435, \u0430 \u0441\u0430\u043c\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u0434\u043d\u044f\u043c \u0438 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u043d\u0438\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 Event Hub\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Event Hub \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:python -m perseus event-hub add-events events.pq &#8212;name transactions-purchase\u00a0 # \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438\u0437 parquet-\u0444\u0430\u0439\u043b\u0430python -m perseus event-hub list-events\u00a0 # \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f (\u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u0434\u0430\u0442 + \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b)python -m perseus event-hub delete-events &#8212;name transactions-purchase &#8212;date-from 2025-01-01 &#8212;date-to 2025-06-30\u00a0 # \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0437\u0430 \u043f\u0435\u0440\u0438\u043e\u0434\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438\u0422\u0438\u043f \u0440\u0435\u0448\u0430\u0435\u043c\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0417\u0430\u0434\u0430\u0447\u0430 \u0437\u0430\u0434\u0430\u0435\u0442 \u0432\u0438\u0434 \u0442\u0430\u0440\u0433\u0435\u0442\u0430 \u0438 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432, \u043d\u0430\u0431\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043c\u0435\u0442\u0440\u0438\u043a \u0438 \u0433\u043e\u043b\u043e\u0432\u0443. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 ML-\u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c:\u0411\u0438\u0437\u043d\u0435\u0441 \u0445\u043e\u0447\u0435\u0442 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u0442\u0435 \u0442\u043e\u0432\u0430\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0438 \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u043a\u0443\u043f\u044f\u0442 \u0432 \u0441\u0443\u043f\u0435\u0440\u043c\u0430\u0440\u043a\u0435\u0442\u0435. \u042d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439. \u0417\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u043d\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043a\u0443\u043f\u043a\u0438, \u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0445 \u0442\u043e\u0432\u0430\u0440\u043e\u0432. \u0422\u0430\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u043c\u043e\u0436\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u2014 \u043e\u0442\u0431\u043e\u0440\u0430 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432.\u00a0\u0415\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u0443\u043b \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0442\u044c \u0432 \u043b\u0435\u043d\u0442\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0441\u0430\u043c\u044b\u0445 \u0432\u0435\u0440\u0445\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0442\u0435, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442 \u043f\u043e\u043a\u0443\u043f\u043a\u0443. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0437\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u0435\u043d \u043d\u0435 \u0444\u0430\u043a\u0442 \u043f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u0442\u043e\u0432\u0430\u0440\u0430 \u0432 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0440\u044f\u0434\u043e\u043a: \u0447\u0435\u043c \u0432\u044b\u0448\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0439 \u0442\u043e\u0432\u0430\u0440, \u0442\u0435\u043c \u043b\u0443\u0447\u0448\u0435 \u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0435\u0435, \u0447\u0435\u043c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445. \u042d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.\u041f\u0443\u0441\u0442\u044c \u043e\u0442 \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u043f\u0440\u0438\u0448\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u0442 \u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u0435\u0444\u043e\u043b\u0442 \u043f\u043e \u0441\u0432\u043e\u0438\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430\u043c. \u041f\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0438\u0440\u043e\u0434\u0435 \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0441 \u0434\u0432\u0443\u043c\u044f \u0438\u0441\u0445\u043e\u0434\u0430\u043c\u0438: \u0434\u0435\u0444\u043e\u043b\u0442 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u0442 \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f ML-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0434\u0435\u0441\u044c \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u0443\u044e \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e.\u041d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u0435\u0441\u044f\u0446\u0435 \u043f\u043e \u0432\u0441\u0435\u043c \u0441\u0432\u043e\u0438\u043c \u0441\u0447\u0435\u0442\u0430\u043c. \u0417\u0434\u0435\u0441\u044c \u0446\u0435\u043b\u0435\u0432\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u2014 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f.Perseus \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438. \u0422\u0430\u043a, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Perseus \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0446\u0435\u043d\u0443 \u0442\u043e\u0432\u0430\u0440\u0430, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0443\u043c\u043c\u0430\u0440\u043d\u044b\u0435 \u0442\u0440\u0430\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043c\u0435\u0441\u044f\u0446\u0435.\u0415\u0449\u0435 \u043e\u0434\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 ML-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a, \u2014 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0440\u043e\u0431\u043d\u044b\u043c \u0431\u0440\u0430\u0442\u044c timestamp \u0432 \u0431\u0430\u0437\u0438\u0441\u0435. \u041e\u0442 \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0438 \u0441\u0430\u043c\u0430 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445 \u0441\u044d\u043c\u043f\u043b\u043e\u0432. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043b\u0430\u0439\u043a\u043d\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c (timestamp \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043e \u043d\u0430\u043d\u043e\u0441\u0435\u043a\u0443\u043d\u0434), \u0430 \u043c\u043e\u0436\u043d\u043e \u2014 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043b\u0430\u0439\u043a\u043d\u0435\u0442 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043d\u044f (timestamp, \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u043d\u044b\u0439 \u0434\u043e \u0434\u0430\u0442\u044b).\u00a0\u041e\u0431\u0449\u0430\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f \u2014 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0430\u0437\u0438\u0441 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435: \u0435\u0441\u043b\u0438 \u0440\u0430\u0437 \u0432 \u0441\u0443\u0442\u043a\u0438, \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043e\u043a\u0440\u0443\u0433\u043b\u044f\u0442\u044c timestamp \u0434\u043e \u0434\u0430\u0442\u044b. \u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u0435\u043a \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0435 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d-\u0434\u0430\u043d\u043d\u044b\u0445. \u0415\u0441\u043b\u0438 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-494392","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/494392","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=494392"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/494392\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=494392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=494392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=494392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}