{"id":2258,"date":"2019-09-08T19:34:22","date_gmt":"2019-09-08T10:34:22","guid":{"rendered":"https:\/\/tnishimaki.com\/?p=2258"},"modified":"2025-06-08T22:24:58","modified_gmt":"2025-06-08T13:24:58","slug":"pythonword2vec%e3%81%a7%e4%bc%bc%e3%81%9f%e6%84%8f%e5%91%b3%e3%82%92%e6%8c%81%e3%81%a4%e5%8d%98%e8%aa%9e%e3%82%92%e8%aa%bf%e3%81%b9%e3%82%8b","status":"publish","type":"post","link":"https:\/\/analysis-navi.com\/?p=2258","title":{"rendered":"Python+Word2Vec\u3067\u4f3c\u305f\u610f\u5473\u3092\u6301\u3064\u5358\u8a9e\u3092\u8abf\u3079\u308b"},"content":{"rendered":"\n<p>\u6587\u7ae0\u4e2d\u306b\u542b\u307e\u308c\u308b<strong>\u300c\u5358\u8a9e\u306e\u4f7f\u308f\u308c\u65b9\u300d<\/strong>\u3092\u898b\u3066\u3001\u305d\u3053\u304b\u3089\u5358\u8a9e\u540c\u58eb\u306e\u985e\u4f3c\u6027\u3092\u6e2c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u306b\u306f\u5358\u8a9e\u3092\u6570\u5b57\u306e\u30d9\u30af\u30c8\u30eb\u3067\u8868\u73fe\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f<strong><span style=\"background-color: #87cefa;\">Google\u304c2013\u5e74\u306b\u767a\u8868\u3057\u305f\u300cWord2Vec\u300d<\/span><\/strong>\u3068\u3044\u3046\u6280\u8853\u3092\u7528\u3044\u3066\u884c\u3063\u3066\u307f\u307e\u3059\u3002<br>\u5f53\u6642\u3001<strong>\u300c\u738b\u69d8\u300d-\u300c\u7537\u300d+\u300c\u5973\u300d=\u300c\u5973\u738b\u300d<\/strong>\u3068\u3044\u3063\u305f\u5358\u8a9e\u306e\u8db3\u3057\u7b97\u30fb\u5f15\u304d\u7b97\u304c\u51fa\u6765\u308b\u3068\u306e\u4e8b\u3067\u8a71\u984c\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4eca\u3067\u306f\u5358\u8a9e\u3092\u30d9\u30af\u30c8\u30eb\u5316\u3059\u308b\u6280\u8853\u306f\u69d8\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u7d30\u304b\u3044\u3053\u3068\u306f\u8003\u3048\u305a\u306b\u30d1\u30c3\u3068\u8a08\u7b97\u3057\u305f\u3044\u6642\u306fWord2Vec\u3067\u5145\u5206\u3067\u3059\u3002<br>\u4eca\u56de\u306f\u3001Python\u3067Word2Vec\u3092\u52d5\u304b\u3059\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b66\u7fd2\u30e2\u30c7\u30eb\u306e\u8aad\u307f\u8fbc\u307f<\/h2>\n\n\n\n<p>\u4f55\u306f\u3068\u3082\u3042\u308c\u3001\u5358\u8a9e\u3092\u30d9\u30af\u30c8\u30eb\u306b\u3059\u308b\u305f\u3081\u306b\u306f<strong>\u300c\u5b66\u7fd2\u30e2\u30c7\u30eb\u300d<\/strong>\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u305d\u306e\u6e96\u5099\u306e\u65b9\u6cd5\u306f\u5927\u304d\u304f2\u901a\u308a\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>1\u3064\u306f\u3001Wikipedia\u306a\u3069<strong><span style=\"background-color: #87cefa;\">\u5927\u91cf\u306e\u591a\u69d8\u306a\u6587\u7ae0\u30c7\u30fc\u30bf\u304b\u3089\u5b66\u7fd2\u3055\u305b\u305f\u30e2\u30c7\u30eb\u3092\u4f7f\u3046<\/span><\/strong>\u65b9\u6cd5\u3002<br>\u591a\u304f\u306e\u5834\u5408\u3001Web\u4e0a\u3067\u5b66\u7fd2\u6e08\u307f\u306e\u30e2\u30c7\u30eb\u3092\u7121\u511f\u516c\u958b\u3057\u3066\u9802\u3044\u3066\u3044\u308b\u65b9\u304c\u304a\u308a\u3001\u7121\u6599\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<br>\u30e2\u30c7\u30eb\u306e\u4f5c\u6210\u304c\u4e0d\u8981\u306a\u306e\u3067\u697d\u3067\u3059\u304c\u3001\u30e2\u30c7\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3084\u8a08\u7b97\u306b\u6642\u9593\u304c\u639b\u304b\u308b\u306a\u3069\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u30461\u3064\u306f\u3001\u300c\u4f1a\u793e\u5185\u306e\u30e1\u30fc\u30eb\u300d\u300cTwitter\u4e0a\u300d\u306a\u3069\u3001<strong><span style=\"background-color: #87cefa;\">\u81ea\u5206\u3067\u30e2\u30c7\u30eb\u3092\u4f5c\u308b<\/span><\/strong>\u65b9\u6cd5\u3002<br>\u25cb\u25cb\u7279\u5316\u3001\u306e\u3088\u3046\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306a\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u30e2\u30c7\u30eb\u4f5c\u6210\u306e\u624b\u9593\u304c\u639b\u304b\u3063\u305f\u308a\u3001\u30c7\u30fc\u30bf\u91cf\u304c\u5c11\u306a\u3044\u3068\u6b63\u3057\u304f\u8a08\u7b97\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306a\u3069\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u3092\u8e0f\u307e\u3048\u3001\u9069\u5207\u306b\u4f7f\u3044\u5206\u3051\u3066\u4e0b\u3055\u3044\u3002<br>\u4ee5\u4e0b\u3001Python\u3092\u7528\u3044\u3066\u305d\u308c\u305e\u308c\u306e\u65b9\u6cd5\u3067\u5358\u8a9e\u3092\u30d9\u30af\u30c8\u30eb\u5316\u3057\u3066\u884c\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e2\u5b58\u306e\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u7528\u3044\u308b\u5834\u5408<\/h3>\n\n\n\n<p>\u307e\u305a\u306f\u65e2\u5b58\u30e2\u30c7\u30eb\u3092\u4f7f\u3046\u5834\u5408\u306e\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f<a href=\"http:\/\/www.cl.ecei.tohoku.ac.jp\/~m-suzuki\/jawiki_vector\/\">\u300c\u6771\u5317\u5927\u5b66 \u4e7e\u30fb\u5ca1\u5d0e\u7814\u7a76\u5ba4\u300d\u306b\u3066\u516c\u958b\u9802\u3044\u3066\u3044\u308b\u30e2\u30c7\u30eb<\/a>\u3092\u62dd\u501f\u3057\u307e\u3057\u305f\u3002<br>\u307e\u305a\u306f\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u8eab\u306e\u4f5c\u696d\u74b0\u5883\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<br>\u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#word2vec\u30e2\u30c7\u30eb\u8aad\u307f\u8fbc\u307f\nimport gensim\nfrom gensim.models.word2vec import Word2Vec\nmodel = gensim.models.KeyedVectors.load_word2vec_format(\"entity_vector.model.bin\", binary=True)<\/pre>\n\n\n\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3068\u300cbin\u300d\u300ctxt\u300d\u306e2\u30d5\u30a1\u30a4\u30eb\u3042\u308a\u307e\u3059\u304c\u3001bin\u306e\u65b9\u304c\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5c0f\u3055\u3044\u306e\u3067\u3053\u3061\u3089\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br>\u305d\u306e\u969b\u306b\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e<strong>\u300cbinary=True\u300d<\/strong>\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u6c17\u3092\u3064\u3051\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u8aad\u307f\u8fbc\u307f\u306b\u5c11\u3005\u6642\u9593\u304c\u639b\u304b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br><strong><span style=\"background-color: #87cefa;\">\u8a08\u7b97\u5b9f\u884c\u306e\u5ea6\u306b\u30e2\u30c7\u30eb\u8aad\u307f\u8fbc\u307f\u3092\u3059\u308b\u3068\u9762\u5012<\/span><\/strong>\u306a\u306e\u3067\u3001Jupyter\u306a\u3069\u3067\u5225\u30bb\u30eb\u3092\u4f5c\u3063\u3066\u5b9f\u884c\u3057\u3001\u8aad\u307f\u8fbc\u307e\u305b\u305f\u72b6\u614b\u3067\u4ee5\u964d\u306e\u8a08\u7b97\u3092\u884c\u3046\u3053\u3068\u3092\u30aa\u30b9\u30b9\u30e1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408<\/h3>\n\n\n\n<p><strong><span style=\"background-color: #87cefa;\">\u81ea\u5206\u3067\u30e2\u30c7\u30eb\u3092\u4f5c\u308b\u5834\u5408\u306f\u3001\u4eba\u9593\u304c\u30c7\u30fc\u30bf\u3092\u6e96\u5099\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u3001\u5f62\u614b\u7d20\u89e3\u6790\u3057\u3066\u304a\u304f<\/span><\/strong>\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u624b\u9593\u306f\u304b\u304b\u308a\u307e\u3059\u304c\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u4f5c\u308b\u305f\u3081\u3067\u3059\u306e\u3067\u4ed5\u65b9\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u7121\u511f\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u300c<a href=\"https:\/\/www.rondhuit.com\/download.html\">livedoor\u30cb\u30e5\u30fc\u30b9\u30b3\u30fc\u30d1\u30b9<\/a>\u300d\u306e\u30c7\u30fc\u30bf\u3092\u5168\u3066\u8aad\u307f\u8fbc\u307e\u305b\u3001\u5b66\u7fd2\u306b\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002<br>\u5f62\u614b\u7d20\u89e3\u6790\u306f\u3001\u65e2\u5b58\u30e2\u30c7\u30eb\u3067\u306fMeCab\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u306e\u4e8b\u306a\u306e\u3067\u3001\u305d\u308c\u306b\u5408\u308f\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#word2vec\u30e2\u30c7\u30eb\u4f5c\u6210\nimport MeCab\nimport glob\n\nm = MeCab.Tagger ('-Ochasen')\n\nwords_all = [] #\u5168\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u614b\u7d20\u3092\u683c\u7d0d\nfor x in glob.glob(\"text\/*\/*\"):\n    words = [] #\u8aad\u307f\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u3054\u3068\u306e\u5f62\u614b\u7d20\u3092\u683c\u7d0d\n    with open(x) as f:\n        text = \"\"\n        next(f) #1\u884c\u76ee\u306f\u98db\u3070\u3059\n        next(f) #2\u884c\u76ee\u3082\u98db\u3070\u3059\n        for line in f:\n            text = text + line.strip(\"\\n\") #\u6539\u884c\u306f\u524a\u9664\n        node = m.parseToNode(text)\n        while node:\n            words.append(node.surface)\n            node = node.next\n    words_all.append(words)\n    f.close()\n    \n#\u5b66\u7fd2\nfrom gensim.models.word2vec import Word2Vec\nmodel_new = Word2Vec(words_all)<\/pre>\n\n\n\n<p>\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u306b\u5fdc\u3058\u3066\u8aad\u307f\u8fbc\u307e\u305b\u65b9\u306f\u5909\u308f\u308a\u307e\u3059\u304c\u3001livedoor\u30cb\u30e5\u30fc\u30b9\u30b3\u30fc\u30d1\u30b9\u306e\u5834\u5408\u306f\u4e0a\u8a18\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u8aad\u307f\u8fbc\u3081\u307e\u3059\u3002<br>\u5f62\u614b\u7d20\u89e3\u6790\u3067\u304d\u305f\u3089\u3001Word2Vec\u30e1\u30bd\u30c3\u30c9\u306b\u305d\u306e\u30c7\u30fc\u30bf\u3092\u4e0e\u3048\u308c\u3070\u52dd\u624b\u306b\u5b66\u7fd2\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5358\u8a9e\u306e\u30d9\u30af\u30c8\u30eb\u53d6\u5f97<\/h2>\n\n\n\n<p>\u30e2\u30c7\u30eb\u306e\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u3044\u3088\u3044\u3088\u5358\u8a9e\u3092\u30d9\u30af\u30c8\u30eb\u5316\u3057\u3066\u307f\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3001\u8a66\u3057\u306b<strong><span style=\"background-color: #87cefa;\">\u65e5\u672c\u306e\u90fd\u9053\u5e9c\u770c\u540d47\u8a9e\u3092\u30d9\u30af\u30c8\u30eb\u5316<\/span><\/strong>\u3057\u3066\u3001\u305d\u306e\u50be\u5411\u3092\u8abf\u3079\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u8abf\u67fb\u3057\u305f\u3044\u5358\u8a9e\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ea\u30b9\u30c8\u306b\u683c\u7d0d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002(\u9014\u4e2d\u7701\u7565)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">words=[\"\u5317\u6d77\u9053\",\"\u9752\u68ee\",\"\u5ca9\u624b\",...,\"\u6c96\u7e04\"]<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e2\u5b58\u306e\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u7528\u3044\u305f\u5834\u5408<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">word_list=[]\nvec_list=[]\nfor i in range(len(words)):\n        if len(words[i]) &gt; 1:\n            if words[i] in model.vocab:\n                word_list.append(words[i])\n                vec_list.append(model[words[i]])<\/pre>\n\n\n\n<p>\u30d9\u30af\u30c8\u30eb\u306e\u53d6\u308a\u65b9\u306f<strong>model[&#8220;\u5358\u8a9e&#8221;]<\/strong>\u3068\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br>\u3061\u306a\u307f\u306b\u3001<strong><span style=\"background-color: #87cefa;\">\u8abf\u3079\u305f\u3044\u5358\u8a9e\u304c\u3001\u5b66\u7fd2\u6e08\u306e\u5358\u8a9e\u3067\u7121\u3051\u308c\u3070\u8a08\u7b97\u3057\u3088\u3046\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/span><\/strong><br>\u306a\u306e\u3067\u3001if\u3067\u300c\u5358\u8a9e\u304c\u5b58\u5728\u3059\u308b\u306e\u304b\u300d\u3092\u307e\u305a\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001\u305d\u308c\u304cOK\u306a\u3089\u3070\u30d9\u30af\u30c8\u30eb\u3092\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">word_list=[]\nvec_list=[]\nfor i in range(len(words)):\n        if len(words[i]) &gt; 1:\n            if words[i] in model_new.wv.vocab:\n                word_list.append(words[i])\n                vec_list.append(model_new[words[i]])<\/pre>\n\n\n\n<p>\u51e6\u7406\u306f\u540c\u69d8\u3067\u3059\u304c\u3001\u5358\u8a9e\u306e\u5b58\u5728\u30c1\u30a7\u30c3\u30af\u306e\u95a2\u6570\u304c\u5c11\u3057\u9055\u3044\u307e\u3059\u3002<br>\u5b66\u7fd2\u30e2\u30c7\u30eb\u306e\u5f62\u5f0f\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u3082\u3057<strong><span style=\"background-color: #87cefa;\">\u300c(\u30e2\u30c7\u30eb\u540d).vocab\u300d\u3067\u53d6\u5f97\u3067\u304d\u306a\u3051\u308c\u3070\u4e0a\u8a18\u306e\u3088\u3046\u306b\u300c(\u30e2\u30c7\u30eb\u540d).wv.vocab\u300d<\/span><\/strong>\u3092\u4f7f\u3063\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001<strong><span style=\"background-color: #87cefa;\">\u81ea\u4f5c\u306e\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u300c\u5b66\u7fd2\u6e08\u307f\u306e\u5358\u8a9e\u300d\u306b\u300c\u8abf\u3079\u305f\u3044\u5358\u8a9e\u300d\u304c\u5b58\u5728\u3057\u306a\u3044\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/span><\/strong><br>\u73fe\u306b\u3001libedoor\u30cb\u30e5\u30fc\u30b9\u30b3\u30fc\u30d1\u30b9\u306b\u306f\u300c\u548c\u6b4c\u5c71\u300d\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7d50\u679c\u306e\u30b0\u30e9\u30d5\u5316<\/h2>\n\n\n\n<p>\u3055\u3066\u3001\u30d9\u30af\u30c8\u30eb\u5316\u3067\u304d\u305f\u306e\u3067\u3001\u3053\u306e\u5f8c\u306f\u81ea\u7531\u81ea\u5728\u3067\u3059\u3002<br>\u4eca\u56de\u306f\u3001<a href=\"https:\/\/analysis-navi.com\/?p=2175\">\u4e3b\u6210\u5206\u5206\u6790<\/a>\u3092\u3057\u3066\u5358\u8a9e\u306e\u8fd1\u3055\u3092\u8996\u899a\u5316\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u4e3b\u6210\u5206\u5206\u6790\u306e\u5b9f\u884c\nimport pandas as pd\nimport numpy as np\nfrom sklearn.decomposition import PCA\n\npca = PCA(n_components=2)\npca_vec_list = pca.fit_transform(vec_list)\nX = pca_vec_list[:,0]\nY = pca_vec_list[:,1]\n\n#\u30b0\u30e9\u30d5\u5316\nimport matplotlib.pyplot as plt\nplt.figure(figsize=(12, 12))\nplt.rcParams[\"font.size\"] = 15\nplt.scatter(X,Y,s=10)\n\n#\u70b9\u306b\u8aac\u660e\u3092\u4ed8\u4e0e\nfor i,(x_name,y_name) in enumerate(zip(X,Y)):\n    plt.annotate(word_list[i],(x_name,y_name))\nplt.show()<\/pre>\n\n\n\n<p>\u30c7\u30b6\u30a4\u30f3\u306f\u304a\u597d\u307f\u3067\u3002\u3067\u306f\u7d50\u679c\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e2\u5b58\u30e2\u30c7\u30eb<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"741\" height=\"690\" src=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/011f0f219b1fd350da126c63ef53c0f7.png\" alt=\"\" class=\"wp-image-2286\" srcset=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/011f0f219b1fd350da126c63ef53c0f7.png 741w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/011f0f219b1fd350da126c63ef53c0f7-430x400.png 430w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/011f0f219b1fd350da126c63ef53c0f7-300x279.png 300w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/figure>\n\n\n\n\n\n\n\n<p>\u898b\u3066\u307f\u308b\u3068\u3001\u300c\u6771\u4eac\u300d\u300c\u5927\u962a\u300d\u300c\u4eac\u90fd\u300d\u3068\u3044\u3063\u305f\u90fd\u5fc3\u90e8\u304c\u53f3\u4e0b\u306b\u56fa\u307e\u3063\u3066\u304a\u308a\u3001\u8fd1\u3044\u5358\u8a9e\u3068\u5224\u65ad\u3057\u3066\u3044\u307e\u3059\u3002<br>\u300c\u5317\u6d77\u9053\u300d\u3068\u300c\u6c96\u7e04\u300d\u3082\u3001\u5730\u7406\u7684\u306b\u306f\u9060\u304f\u3066\u3082\u610f\u5473\u306f\u8fd1\u3044\u3068\u51fa\u3066\u3044\u307e\u3059\u3002<br>\u300c\u5e83\u5cf6\u300d\u300c\u9577\u5d0e\u300d\u304c\u8fd1\u3044\u3053\u3068\u3082\u8003\u3048\u3055\u305b\u3089\u308c\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u300c\u5730\u7406\u300d\u306e\u8fd1\u3055\u3067\u306f\u306a\u304f\u3001\u300c\u610f\u5473\u300d\u306e\u8fd1\u3055\u3068\u3057\u3066\u306f\u306a\u304b\u306a\u304b\u7d0d\u5f97\u611f\u306e\u3042\u308b\u7d50\u679c\u304c\u5f97\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u306f\u7121\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u4f5c\u30e2\u30c7\u30eb<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"715\" height=\"692\" src=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/fc392f6f69eeb7959ae4d248af56729d.png\" alt=\"\" class=\"wp-image-2285\" srcset=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/fc392f6f69eeb7959ae4d248af56729d.png 715w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/fc392f6f69eeb7959ae4d248af56729d-413x400.png 413w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/fc392f6f69eeb7959ae4d248af56729d-300x290.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/figure>\n\n\n\n\n\n\n\n<p>\u307b\u3068\u3093\u3069\u56e3\u5b50\u72b6\u614b\u3067\u3059\u3002<br>\u65e2\u5b58\u30e2\u30c7\u30eb\u306b\u6bd4\u3079\u305f\u3089\u5727\u5012\u7684\u306b\u5b66\u7fd2\u30c7\u30fc\u30bf\u304c\u5c11\u306a\u3044\u306e\u3067\u3001<strong><span style=\"background-color: #87cefa;\">\u3053\u308c\u3089\u306e\u5358\u8a9e\u304c\u300c\u770c\u540d\u300d\u3068\u3044\u3046\u4ef2\u9593\u3067\u3042\u308b\u3068\u3044\u3046\u9762\u304f\u3089\u3044\u3057\u304b\u6349\u3048\u3089\u308c\u306a\u304b\u3063\u305f<\/span><\/strong>\u53ef\u80fd\u6027\u306f\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u300c\u6771\u4eac\u300d\u3060\u3051\u306f\u5727\u5012\u7684\u306b\u7279\u5225\u306a\u5358\u8a9e\u3060\u3068\u6349\u3048\u3089\u308c\u3066\u3044\u307e\u3059\u306d\u3002<br>\u300c\u9999\u5ddd\u300d\u304c\u7279\u5fb4\u7684\u3060\u3068\u8a55\u4fa1\u3055\u308c\u3066\u3044\u308b\u70b9\u3082\u6c17\u306b\u306a\u308b\u6240\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3053\u308c\u4ee5\u4e0a\u306e\u7d30\u304b\u3044\u5206\u6790\u306f\u884c\u3044\u307e\u305b\u3093\u304c\u3001livedoor\u30cb\u30e5\u30fc\u30b9\u30b3\u30fc\u30d1\u30b9\u3067\u300c\u6771\u4eac\u300d\u3084\u300c\u9999\u5ddd\u300d\u306e\u73fe\u308c\u3066\u3044\u308b\u8a18\u4e8b\u304c\u3069\u3093\u306a\u8a18\u4e8b\u306a\u306e\u304b\u3001\u5b9f\u969b\u306b\u898b\u3066\u307f\u308b\u3068\u9762\u767d\u3044\u793a\u5506\u304c\u5f97\u3089\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u5358\u8a9e\u3092\u6570\u5024\u30d9\u30af\u30c8\u30eb\u5316\u3059\u308b\u3068\u3001\u6211\u3005\u304c\u6587\u7ae0\u3092\u8aad\u3093\u3060\u3060\u3051\u3067\u306f\u5206\u304b\u3089\u306a\u3044\u793a\u5506\u3092\u4e0e\u3048\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u793e\u5185\u30a2\u30f3\u30b1\u30fc\u30c8\u3084\u30e1\u30fc\u30eb\u6587\u306a\u3093\u304b\u3067\u89e3\u6790\u3059\u308b\u3068\u3001\u305d\u306e\u4f1a\u793e\u306e\u554f\u984c\u70b9\u306a\u3069\u304c\u898b\u3048\u3066\u304f\u308b\u4e8b\u3082\u3042\u308a\u307e\u3059\u3002<br>\u3042\u304f\u307e\u3067\u3082<strong><span style=\"background-color: #87cefa;\">\u300c\u793a\u5506\u300d\u3092\u8003\u3048\u308b\u306e\u306f\u4eba\u9593\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u8003\u3048\u308b\u30cd\u30bf\u3092\u4e0e\u3048\u3066\u304f\u308c\u308b\u65b9\u6cd5<\/span><\/strong>\u3068\u3057\u3066\u306f\u304b\u306a\u308a\u4f7f\u3048\u308b\u3082\u306e\u3067\u3059\u306e\u3067\u3001\u305c\u3072\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u5358\u8a9e\u3067\u306a\u304f\u3001\u6587\u7ae0\u3092\u30d9\u30af\u30c8\u30eb\u5316\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306b\u3066\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/analysis-navi.com\/?p=2293\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4e2d\u306b\u542b\u307e\u308c\u308b\u300c\u5358\u8a9e\u306e\u4f7f\u308f\u308c\u65b9\u300d\u3092\u898b\u3066\u3001\u305d\u3053\u304b\u3089\u5358\u8a9e\u540c\u58eb\u306e\u985e\u4f3c\u6027\u3092\u6e2c\u3063\u3066\u307f\u307e\u3059\u3002 \u305d\u306e\u305f\u3081\u306b\u306f\u5358\u8a9e\u3092\u6570\u5b57\u306e\u30d9\u30af\u30c8\u30eb\u3067\u8868\u73fe\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306fGoogle\u304c2013\u5e74\u306b\u767a\u8868\u3057\u305f\u300cWord2Vec\u300d\u3068\u3044\u3046\u6280\u8853\u3092\u7528 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5042,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"swell_btn_cv_data":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[129],"tags":[100,101,134],"class_list":["post-2258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-study","tag-nlp","tag-ml","tag-python"],"_links":{"self":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts\/2258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2258"}],"version-history":[{"count":15,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts\/2258\/revisions"}],"predecessor-version":[{"id":5073,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts\/2258\/revisions\/5073"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/media\/5042"}],"wp:attachment":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}