{"id":2858,"date":"2020-12-01T09:12:45","date_gmt":"2020-12-01T06:12:45","guid":{"rendered":"http:\/\/demensdeum.com\/blog\/?p=2858"},"modified":"2024-12-16T22:32:25","modified_gmt":"2024-12-16T19:32:25","slug":"%d1%83%d0%b3%d0%b0%d0%b4%d0%b0%d0%b9-%d0%b3%d1%80%d1%83%d0%bf%d0%bf%d1%83","status":"publish","type":"post","link":"https:\/\/demensdeum.com\/blog\/ja\/2020\/12\/01\/%d1%83%d0%b3%d0%b0%d0%b4%d0%b0%d0%b9-%d0%b3%d1%80%d1%83%d0%bf%d0%bf%d1%83\/","title":{"rendered":"\u30b0\u30eb\u30fc\u30d7\u3092\u63a8\u6e2c\u3057\u3066\u304f\u3060\u3055\u3044"},"content":{"rendered":"<p>\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001fasttext \u30c6\u30ad\u30b9\u30c8\u5206\u985e\u5b50\u306e\u64cd\u4f5c\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30fc\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8 &#8211;\u30c6\u30ad\u30b9\u30c8\u5206\u985e\u306e\u305f\u3081\u306e\u6a5f\u68b0\u5b66\u7fd2\u30e9\u30a4\u30d6\u30e9\u30ea\u3002\u5f7c\u5973\u306b\u66f2\u306e\u30bf\u30a4\u30c8\u30eb\u3067\u30e1\u30bf\u30eb\u30d0\u30f3\u30c9\u3092\u898b\u5206\u3051\u308b\u3088\u3046\u306b\u6559\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b0\u30eb\u30fc\u30d7\u540d\u3092\u4ed8\u3051\u305f\u66f2\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>__label__metallica fuel\n__label__metallica escape\n__label__black_sabbath gypsy\n__label__black_sabbath snowblind\n__label__black_sabbath am i going insane\n__label__anthrax anthrax\n__label__anthrax i'm alive\n__label__anthrax antisocial\n[\u0438 \u0442.\u0434.]<\/code><\/pre>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code><p>\u041e\u0431\u0443\u0447\u0438\u043c fasttext \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u044c:<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>model.save_model(\"model.bin\")\n<\/code><\/pre>\n<\/div>\n<p>\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3055\u308c\u305f\u30e2\u30c7\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u3001\u66f2\u306e\u540d\u524d\u3067\u30b0\u30eb\u30fc\u30d7\u3092\u8b58\u5225\u3059\u308b\u3088\u3046\u306b\u8981\u6c42\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>predictResult = model.predict(\"Bleed\")\nprint(predictResult)<\/code><\/pre>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0445\u043e\u0436 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u044f \u043f\u043e\u0445\u043e\u0436\u0435\u0441\u0442\u0438 \u0446\u0438\u0444\u0440\u043e\u0439, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0441\u043d\u0438 Bleed \u043d\u0430 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0433\u0440\u0443\u043f\u043f \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430.<br \/>\n\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0434\u0435\u043b\u044c fasttext \u0443\u043c\u0435\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0437\u0430 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0440\u0435\u0436\u0438\u043c autotune \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0430\u0439\u043b\u0430 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 (\u0444\u0430\u0439\u043b \u0442\u0435\u0441\u0442). \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0430\u0432\u0442\u043e\u0442\u044e\u043d\u0430 fasttext \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0433\u0438\u043f\u0435\u0440\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0434\u0435\u043b\u0438, \u043f\u0440\u043e\u0432\u043e\u0434\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0438\u0437 \u0442\u0435\u0441\u0442 \u0444\u0430\u0439\u043b\u0430. \u0412\u0440\u0435\u043c\u044f \u0430\u0432\u0442\u043e\u0442\u044e\u043d\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0432 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 autotuneDuration.<br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0430\u0439\u043b\u0430 \u0442\u0435\u0441\u0442:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code><\/p>\n<h3>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438<\/h3>\n<p><a href=\"https:\/\/fasttext.cc\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/fasttext.cc<\/a><br \/>\n<a href=\"https:\/\/gosha20777.github.io\/tutorial\/2018\/04\/12\/fasttext-for-windows\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/gosha20777.github.io\/tutorial\/2018\/04\/12\/fasttext-for-windows<\/a><\/p>\n<h3>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434<\/h3>\n<p><a href=\"https:\/\/gitlab.com\/demensdeum\/MachineLearning\/-\/tree\/master\/6bandClassifier\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/gitlab.com\/demensdeum\/MachineLearning\/-\/tree\/master\/6bandClassifier<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001fasttext \u30c6\u30ad\u30b9\u30c8\u5206\u985e\u5b50\u306e\u64cd\u4f5c\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u30d5\u30a1\u30fc\u30b9\u30c8\u30c6\u30ad\u30b9\u30c8 &#8211;\u30c6\u30ad\u30b9\u30c8\u5206\u985e\u306e\u305f\u3081\u306e\u6a5f\u68b0\u5b66\u7fd2\u30e9\u30a4\u30d6\u30e9\u30ea\u3002\u5f7c\u5973\u306b\u66f2\u306e\u30bf\u30a4\u30c8\u30eb\u3067\u30e1\u30bf\u30eb\u30d0\u30f3\u30c9\u3092\u898b\u5206\u3051\u308b\u3088\u3046\u306b\u6559\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u30b0\u30eb\u30fc\u30d7\u540d\u3092\u4ed8\u3051\u305f\u66f2\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046: __label__metallica fuel __label__metallica escape __label__black_sabbath gypsy __label__black_sabbath snowblind __label__black_sabbath am i going insane __label__anthrax anthrax __label__anthrax i&#8217;m alive __label__anthrax antisocial [\u0438 \u0442.\u0434.] \u0424\u043e\u0440\u043c\u0430\u0442 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438: \u041e\u0431\u0443\u0447\u0438\u043c fasttext \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u044c: model.save_model(&#8220;model.bin&#8221;) \u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3055\u308c\u305f\u30e2\u30c7\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u3001\u66f2\u306e\u540d\u524d\u3067\u30b0\u30eb\u30fc\u30d7\u3092\u8b58\u5225\u3059\u308b\u3088\u3046\u306b\u8981\u6c42\u3057\u307e\u3059\u3002 predictResult = model.predict(&#8220;Bleed&#8221;) print(predictResult) \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0445\u043e\u0436 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u044f<a class=\"more-link\" href=\"https:\/\/demensdeum.com\/blog\/ja\/2020\/12\/01\/%d1%83%d0%b3%d0%b0%d0%b4%d0%b0%d0%b9-%d0%b3%d1%80%d1%83%d0%bf%d0%bf%d1%83\/\">Continue reading <span class=\"screen-reader-text\">&#8220;\u30b0\u30eb\u30fc\u30d7\u3092\u63a8\u6e2c\u3057\u3066\u304f\u3060\u3055\u3044&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[61,52],"tags":[169,87],"class_list":["post-2858","post","type-post","status-publish","format-standard","hentry","category-techie","category-tutorials","tag-fasttext","tag-machine-learning","entry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"ja","enabled_languages":["en","ru","zh","de","fr","ja","pt"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"ru":{"title":true,"content":true,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false},"de":{"title":true,"content":true,"excerpt":false},"fr":{"title":true,"content":true,"excerpt":false},"ja":{"title":true,"content":true,"excerpt":false},"pt":{"title":true,"content":true,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/2858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/comments?post=2858"}],"version-history":[{"count":13,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/2858\/revisions"}],"predecessor-version":[{"id":3903,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/2858\/revisions\/3903"}],"wp:attachment":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/media?parent=2858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/categories?post=2858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/tags?post=2858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}