{"id":608,"date":"2021-03-19T19:11:22","date_gmt":"2021-03-19T10:11:22","guid":{"rendered":"https:\/\/technologyagency.net\/wordpress\/?p=608"},"modified":"2021-03-27T14:47:20","modified_gmt":"2021-03-27T05:47:20","slug":"recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2","status":"publish","type":"post","link":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/","title":{"rendered":"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12"},"content":{"rendered":"\n<p><a href=\"https:\/\/technologyagency.net\/wordpress\/2020\/09\/16\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b\/\">Recommendation System\u3092\u8003\u3048\u308b<\/a>\u306e\u7d9a\u304d\u3002<\/p>\n\n\n\n<p>\u66f4\u65b0\u5c65\u6b74\uff1a2021\/03\/19 \u30c7\u30fc\u30bf\u51e6\u7406\u306b\u8aa4\u308a\u304c\u3042\u3063\u305f\u305f\u3081\u8a02\u6b63<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u521d\u3081\u306b<\/h2>\n\n\n\n<p>\u5c0f\u8aac\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63a8\u85a6\u3059\u308b\u304b\u3057\u306a\u3044\u304b\u3067\u5206\u3051\u305f\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u5206\u985e\u554f\u984c\u3068\u306a\u308b\u3002\u5206\u985e\u554f\u984c\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/technologyagency.net\/wordpress\/2020\/09\/20\/%e5%88%86%e9%a1%9e%e5%95%8f%e9%a1%8c%e3%82%92%e6%a9%9f%e6%a2%b0%e5%ad%a6%e7%bf%92%e3%81%a7%e8%a7%a3%e3%81%8f\/\">\u3053\u3061\u3089<\/a>\u3067\u89e3\u8aac\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u5206\u985e\u3059\u308b\u305f\u3081\u306b\u3001\u4f5c\u8005\u3001\u95a2\u9023\u4f5c\u54c1\u3084\u30bf\u30b0\u4ed8\u3051\u3082\u53c2\u7167\u3057\u305f\u65b9\u304c\u7cbe\u5ea6\u304c\u826f\u304f\u306a\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u4eca\u56de\u306fDoc2Vec\u306e\u30d9\u30af\u30c8\u30eb\u60c5\u5831\u306e\u307f\u3067\u884c\u3063\u3066\u307f\u308b\u3002Doc2Vec \u3067\u4f5c\u6210\u3057\u305f\u6587\u66f8\u30d9\u30af\u30c8\u30eb\u3092\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\u306e\u8aac\u660e\u5909\u6570\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u6587\u66f8\u30d9\u30af\u30c8\u30eb\u3092\u6559\u5e2b\u3042\u308a\u5b66\u7fd2\u306e\u8aac\u660e\u5909\u6570\u3068\u3057\u305f\u5206\u985e\u554f\u984c\u3067\u306fRandom Forest\u304c\u6709\u52b9\u3068\u3044\u3046\u8ad6\u6587\u3092\u898b\u305f\u306e\u3067\u3001\u307e\u305a\u306f Random Forest \u3092\u8a66\u3057\u3066\u307f\u308b\u3002\u307e\u305f\u3001\u4eca\u56de\u4f7f\u7528\u3059\u308bDoc2Vec\u306e\u6587\u66f8\u30d9\u30af\u30c8\u30eb\u306f\u6b21\u5143\u6570\u304c100\u307b\u3069\u3042\u308b\u305f\u3081\u3001\u4e8b\u524d\u306b\u6b21\u5143\u5727\u7e2e\u3092\u884c\u3046\u3053\u3068\u3082\u691c\u8a0e\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306f\u3001\u3053\u306e\u30e2\u30c7\u30eb\u3092\u6b63\u3057\u304f\u8a55\u4fa1\u3059\u308b\u305f\u3081\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u597d\u307f\u304b\u306e\u69d8\u306a\u3042\u3044\u307e\u3044\u306a\u6307\u6a19\u3067\u5206\u985e\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u6a5f\u68b0\u7684\u306b\u5206\u985e\u3067\u304d\u308b\u6307\u6a19\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5206\u985e\u306e\u5b9f\u65bd<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4f5c\u6210<\/h5>\n\n\n\n<p>\u4ee5\u524d\u4f5c\u6210\u3057\u305f\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfrom gensim.models.doc2vec import Doc2Vec\n\nMODEL_DATA_PATH = &#039;drive\/My Drive\/Colab Notebooks\/syosetu\/doc2vec_100.model&#039;\n\nm = Doc2Vec.load(MODEL_DATA_PATH)\nvectors_list = &#x5B;m.docvecs&#x5B;n] for n in range(len(m.docvecs))]\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\nMODEL_TITLES_CSV_PATH = &#039;drive\/My Drive\/Colab Notebooks\/syosetu\/novel_titles.csv&#039;\n\ndf = pd.read_csv(MODEL_TITLES_CSV_PATH, header=None, names=&#x5B;&#039;url&#039;, &#039;title&#039;, &#039;tag&#039;])\ndf = df.drop(columns=&#x5B;&#039;url&#039;])\ndf&#x5B;&#039;vectors&#039;] = vectors_list\n\ndf.head(2)\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>title<\/th><th>tag<\/th><th>vectors<\/th><\/tr><\/thead><tbody><tr><th>0<\/th><td>\u8ee2\u751f\u3057\u305f\u3089\u30b9\u30e9\u30a4\u30e0\u3060\u3063\u305f\u4ef6<\/td><td>R15 \u6b8b\u9177\u306a\u63cf\u5199\u3042\u308a \u7570\u4e16\u754c\u8ee2\u751f \u30b9\u30e9\u30a4\u30e0 \u30c1\u30fc\u30c8<\/td><td>[5.356541, 1.455931, 1.0426528, 1.1359314, 3.9&#8230;<\/td><\/tr><tr><th>1<\/th><td>\u7121\u8077\u8ee2\u751f\u3000- \u7570\u4e16\u754c\u884c\u3063\u305f\u3089\u672c\u6c17\u3060\u3059 &#8211;<\/td><td>R15 \u6b8b\u9177\u306a\u63cf\u5199\u3042\u308a \u7570\u4e16\u754c\u8ee2\u751f<\/td><td>[0.010144993, -12.32704, 2.8596005, 6.5284176,&#8230;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u30bf\u30b0\u3092\u898b\u3066\u6a5f\u68b0\u7684\u306b\u5206\u985e\u3057\u305f\u3044\u305f\u3081\u3001\u3069\u3093\u306a\u30bf\u30b0\u304c\u5b58\u5728\u3059\u308b\u306e\u304b\u6700\u521d\u306b\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport collections\nimport itertools\n\ntag = collections.Counter(list(itertools.chain.from_iterable(df&#x5B;&#039;tag&#039;].str.split().tolist())))\nsorted(tag.items(), key=lambda pair: pair&#x5B;1], reverse=True)&#x5B;:20]\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\n&#x5B;(&#039;R15&#039;, 233),\n (&#039;\u6b8b\u9177\u306a\u63cf\u5199\u3042\u308a&#039;, 215),\n (&#039;\u7570\u4e16\u754c\u8ee2\u751f&#039;, 98),\n (&#039;\u7570\u4e16\u754c&#039;, 87),\n (&#039;\u7570\u4e16\u754c\u8ee2\u79fb&#039;, 86),\n (&#039;\u30c1\u30fc\u30c8&#039;, 84),\n (&#039;\u30d5\u30a1\u30f3\u30bf\u30b8\u30fc&#039;, 80),\n (&#039;\u9b54\u6cd5&#039;, 73),\n (&#039;\u7537\u4e3b\u4eba\u516c&#039;, 65),\n (&#039;\u5192\u967a&#039;, 63),\n (&#039;\u4e3b\u4eba\u516c\u6700\u5f37&#039;, 59),\n (&#039;\u66f8\u7c4d\u5316&#039;, 53),\n (&#039;\u30cf\u30fc\u30ec\u30e0&#039;, 48),\n (&#039;\u6210\u308a\u4e0a\u304c\u308a&#039;, 43),\n (&#039;\u307b\u306e\u307c\u306e&#039;, 33),\n (&#039;\u30cf\u30c3\u30d4\u30fc\u30a8\u30f3\u30c9&#039;, 32),\n (&#039;\u5973\u4e3b\u4eba\u516c&#039;, 31),\n (&#039;\u604b\u611b&#039;, 30),\n (&#039;\u30aa\u30ea\u30b8\u30ca\u30eb\u6226\u8a18&#039;, 30),\n (&#039;\u8ee2\u751f&#039;, 28)]\n<\/pre><\/div>\n\n\n<p>2\u6975\u5316\u3057\u3084\u3059\u305d\u3046\u306a\u3001\u7537\u4e3b\u4eba\u516c\u3001\u5973\u4e3b\u4eba\u516c\u306e\u5c0f\u8aac\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndf_m = df&#x5B;df&#x5B;&#039;tag&#039;].str.contains(&#039;\u7537\u4e3b\u4eba\u516c&#039;)]\ndf_m&#x5B;&#039;female&#039;] = 0\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndf_f = df&#x5B;df&#x5B;&#039;tag&#039;].str.contains(&#039;\u5973\u4e3b\u4eba\u516c|\u5973\u6027\u8996\u70b9|\u60aa\u5f79\u4ee4\u5b22|\u5f8c\u5bae|\u5c11\u5973\u30de\u30f3\u30ac&#039;)]\ndf_f&#x5B;&#039;female&#039;] = 1\n<\/pre><\/div>\n\n\n<p>\u4e0a\u8a18\u306e\u62bd\u51fa\u65b9\u6cd5\u306e\u5834\u5408\u3001\u5973\u4e3b\u4eba\u516c\u3068\u5206\u985e\u3057\u305f\u5c0f\u8aac\u306e\u4e2d\u306b\u7537\u4e3b\u4eba\u516c\u306e\u5c0f\u8aac\u304c\u6df7\u3058\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndf_f&#x5B;df_f&#x5B;&#039;tag&#039;].str.contains(&#039;\u7537\u4e3b\u4eba\u516c&#039;)]\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>title<\/th><th>tag<\/th><th>vectors<\/th><\/tr><\/thead><tbody><tr><th>47<\/th><td>\u4e59\u5973\u30b2\u30fc\u4e16\u754c\u306f\u30e2\u30d6\u306b\u53b3\u3057\u3044\u4e16\u754c\u3067\u3059<\/td><td>R15 \u6b8b\u9177\u306a\u63cf\u5199\u3042\u308a \u7570\u4e16\u754c\u8ee2\u751f \u4e59\u5973\u30b2\u30fc\u30e0 \u60aa\u5f79\u4ee4\u5b22 \u5192\u967a \u4eba\u5de5\u77e5\u80fd \u7537\u4e3b\u4eba\u516c \u5b66\u5712 &#8230;<\/td><td>[6.775977, 4.3698134, -1.9109731, 9.731645, -0&#8230;<\/td><\/tr><tr><th>74<\/th><td>\u3010Web\u7248\u3011\u753a\u4ebaA\u306f\u60aa\u5f79\u4ee4\u5b22\u3092\u3069\u3046\u3057\u3066\u3082\u6551\u3044\u305f\u3044\u3010\u672c\u7de8\u5b8c\u7d50\u6e08\u307f\u3011<\/td><td>R15 \u6b8b\u9177\u306a\u63cf\u5199\u3042\u308a \u7570\u4e16\u754c\u8ee2\u751f \u4e59\u5973\u30b2\u30fc\u30e0 \u60aa\u5f79\u4ee4\u5b22 \u30aa\u30ea\u30b8\u30ca\u30eb\u6226\u8a18 \u7537\u4e3b\u4eba\u516c \u897f\u6d0b &#8230;<\/td><td>[2.9941628, 1.892081, 1.9338807, 4.0745897, 6&#8230;.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306f\u7537\u4e3b\u4eba\u516c\u306e\u5c0f\u8aac\u3068\u601d\u308f\u308c\u308b\u305f\u3081\u3001\u5973\u4e3b\u4eba\u516c\u306e\u5c0f\u8aac\u306e\u4e00\u89a7\u304b\u3089\u9664\u5916\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndf_f = df_f.drop(&#x5B;47, 74])\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndf = pd.concat(&#x5B;df_m, df_f])\ndf&#x5B;&#039;female&#039;].value_counts()\n<\/pre><\/div>\n\n\n<p>0 67<br>1 51<br>Name: female, dtype: int64<\/p>\n\n\n\n<p>\u7537\u4e3b\u4eba\u516c\u306e\u5c0f\u8aac\u306e\u65b9\u304c\u6570\u304c\u591a\u3044\u305f\u3081\u3001\u5973\u4e3b\u4eba\u516c\u306e\u5c0f\u8aac\u306e\u6570\u3068\u5408\u308f\u305b\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n#\u7537\u4e3b\u4eba\u516c\u306e\u4e00\u89a7\ndf_0 = df&#x5B;df&#x5B;&#039;female&#039;] == 0]\n#\u5973\u4e3b\u4eba\u516c\u306e\u4e00\u89a7\ndf_1 = df&#x5B;df&#x5B;&#039;female&#039;] == 1]\n\ndf_0 = df_0.sample(n=len(df_1), random_state=0)\n\ndf = pd.concat(&#x5B;df_0, df_1])\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">\u6a5f\u68b0\u5b66\u7fd2\u306e\u5b9f\u65bd<\/h5>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4f5c\u6210\u304c\u51fa\u6765\u305f\u306e\u3067\u3001 Random Forest \u3092\u7528\u3044\u3066\u3001\u5206\u985e\u3092\u5b9f\u65bd\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nX = df&#x5B;&#039;vectors&#039;]\ny = df&#x5B;&#039;female&#039;]\n\nX_array = np.array(&#x5B;np.array(v) for v in X])\ny_array = np.array(&#x5B;i for i in y])\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfrom sklearn.model_selection import train_test_split\n\nX_train, X_test, y_train, y_test = train_test_split(X_array, y_array, random_state=0)\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfrom sklearn.ensemble import RandomForestClassifier\n\nrandom_forest = RandomForestClassifier(random_state=0)\nrandom_forest.fit(X_train, y_train)\n\nrandom_forest.score(X_test, y_test)\n<\/pre><\/div>\n\n\n<p>0.8076923076923077<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nrandom_forest.predict(X_test)\n<\/pre><\/div>\n\n\n<p>array([0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,<br>0, 1, 0, 0])<\/p>\n\n\n\n<p>\u8a66\u3057\u306b\u3001\u30ed\u30b8\u30b9\u30c6\u30a3\u30c3\u30af\u56de\u5e30\u3067\u3082\u5b9f\u65bd\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfrom sklearn.linear_model import LogisticRegression\n\nlogreg = LogisticRegression()\nlogreg.fit(X_train, y_train)\n\nlogreg.score(X_test, y_test)\n<\/pre><\/div>\n\n\n<p>0.9230769230769231<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nlogreg.predict(X_test)\n<\/pre><\/div>\n\n\n<p>array([0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,<br>0, 0, 0, 0])<\/p>\n\n\n\n<p>\u30ed\u30b8\u30b9\u30c6\u30a3\u30c3\u30af\u56de\u5e30\u306e\u65b9\u304c\u826f\u3044\u30b9\u30b3\u30a2\u306b\u306a\u3063\u305f\u3002\u3057\u304b\u3057\u3001\u904e\u5b66\u7fd2\u3092\u8d77\u3053\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u3082\u3042\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p> Random Forest \u304c\u4e00\u756a\u826f\u3044\u7d50\u679c\u306b\u306a\u308b\u3068\u4e88\u60f3\u3057\u3066\u3044\u305f\u304c\u3001\u9055\u3063\u305f\u3002<br>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u5927\u4f53\u554f\u984c\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u304f\u306b\u306f\u3069\u306e\u5206\u985e\u5668\u304c\u9069\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u307e\u305f\u6700\u9069\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u63a2\u3059\u4f5c\u696d\u306f\u6b21\u56de\u884c\u3044\u305f\u3044\u3068\u601d\u3046\u3002<\/p>\n\n\n\n<p class=\"has-text-align-right\"><a href=\"https:\/\/technologyagency.net\/wordpress\/2021\/03\/23\/%e8%a4%87%e6%95%b0%e3%81%ae%e6%a9%9f%e6%a2%b0%e5%ad%a6%e7%bf%92%e3%82%a2%e3%83%ab%e3%82%b4%e3%83%aa%e3%82%ba%e3%83%a0%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b\/\">\u8907\u6570\u306e\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u6bd4\u8f03\u3059\u308b<\/a>\u3078\u7d9a\u304f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recommendation System\u3092\u8003\u3048\u308b\u306e\u7d9a\u304d\u3002 \u66f4\u65b0\u5c65\u6b74\uff1a2021\/03\/19 \u30c7\u30fc\u30bf\u51e6\u7406\u306b\u8aa4\u308a\u304c\u3042\u3063\u305f\u305f\u3081\u8a02\u6b63 \u521d\u3081\u306b \u5c0f\u8aac\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63a8\u85a6\u3059\u308b\u304b\u3057\u306a\u3044\u304b\u3067\u5206\u3051\u305f\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u5206\u985e\u554f\u984c\u3068\u306a\u308b\u3002\u5206\u985e\u554f\u984c\u306b\u3064\u3044 &hellip; <a href=\"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[46,51],"class_list":["post-608","post","type-post","status-publish","format-standard","hentry","category-python","tag-46","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12 - I want to lead an easy life.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system\u3092\u8003\u3048\u308b2\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12 - I want to lead an easy life.\" \/>\n<meta property=\"og:description\" content=\"Recommendation System\u3092\u8003\u3048\u308b\u306e\u7d9a\u304d\u3002 \u66f4\u65b0\u5c65\u6b74\uff1a2021\/03\/19 \u30c7\u30fc\u30bf\u51e6\u7406\u306b\u8aa4\u308a\u304c\u3042\u3063\u305f\u305f\u3081\u8a02\u6b63 \u521d\u3081\u306b \u5c0f\u8aac\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63a8\u85a6\u3059\u308b\u304b\u3057\u306a\u3044\u304b\u3067\u5206\u3051\u305f\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u5206\u985e\u554f\u984c\u3068\u306a\u308b\u3002\u5206\u985e\u554f\u984c\u306b\u3064\u3044 &hellip; &quot;Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12&quot; \u306e\u7d9a\u304d\u3092\u8aad\u3080\" \/>\n<meta property=\"og:url\" content=\"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system\u3092\u8003\u3048\u308b2\/\" \/>\n<meta property=\"og:site_name\" content=\"I want to lead an easy life.\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-19T10:11:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-27T05:47:20+00:00\" \/>\n<meta name=\"author\" content=\"hide6644\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"hide6644\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/\"},\"author\":{\"name\":\"hide6644\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/a25355beaa102da2b2d79b00f5865b63\"},\"headline\":\"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12\",\"datePublished\":\"2021-03-19T10:11:22+00:00\",\"dateModified\":\"2021-03-27T05:47:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/\"},\"wordCount\":41,\"commentCount\":0,\"keywords\":[\"\u5c0f\u8aac\u3092\u8aad\u3082\u3046\",\"\u6a5f\u68b0\u5b66\u7fd2\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/\",\"url\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/\",\"name\":\"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12 - I want to lead an easy life.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#website\"},\"datePublished\":\"2021-03-19T10:11:22+00:00\",\"dateModified\":\"2021-03-27T05:47:20+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/a25355beaa102da2b2d79b00f5865b63\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/2021\\\/03\\\/19\\\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/\",\"name\":\"I want to lead an easy life.\",\"description\":\"Technical Notes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/#\\\/schema\\\/person\\\/a25355beaa102da2b2d79b00f5865b63\",\"name\":\"hide6644\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g\",\"caption\":\"hide6644\"},\"url\":\"https:\\\/\\\/technologyagency.net\\\/wordpress\\\/author\\\/hide6644\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12 - I want to lead an easy life.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system\u3092\u8003\u3048\u308b2\/","og_locale":"ja_JP","og_type":"article","og_title":"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12 - I want to lead an easy life.","og_description":"Recommendation System\u3092\u8003\u3048\u308b\u306e\u7d9a\u304d\u3002 \u66f4\u65b0\u5c65\u6b74\uff1a2021\/03\/19 \u30c7\u30fc\u30bf\u51e6\u7406\u306b\u8aa4\u308a\u304c\u3042\u3063\u305f\u305f\u3081\u8a02\u6b63 \u521d\u3081\u306b \u5c0f\u8aac\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63a8\u85a6\u3059\u308b\u304b\u3057\u306a\u3044\u304b\u3067\u5206\u3051\u305f\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u5206\u985e\u554f\u984c\u3068\u306a\u308b\u3002\u5206\u985e\u554f\u984c\u306b\u3064\u3044 &hellip; \"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12\" \u306e\u7d9a\u304d\u3092\u8aad\u3080","og_url":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system\u3092\u8003\u3048\u308b2\/","og_site_name":"I want to lead an easy life.","article_published_time":"2021-03-19T10:11:22+00:00","article_modified_time":"2021-03-27T05:47:20+00:00","author":"hide6644","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"hide6644","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/#article","isPartOf":{"@id":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/"},"author":{"name":"hide6644","@id":"https:\/\/technologyagency.net\/wordpress\/#\/schema\/person\/a25355beaa102da2b2d79b00f5865b63"},"headline":"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12","datePublished":"2021-03-19T10:11:22+00:00","dateModified":"2021-03-27T05:47:20+00:00","mainEntityOfPage":{"@id":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/"},"wordCount":41,"commentCount":0,"keywords":["\u5c0f\u8aac\u3092\u8aad\u3082\u3046","\u6a5f\u68b0\u5b66\u7fd2"],"articleSection":["Python"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/","url":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/","name":"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12 - I want to lead an easy life.","isPartOf":{"@id":"https:\/\/technologyagency.net\/wordpress\/#website"},"datePublished":"2021-03-19T10:11:22+00:00","dateModified":"2021-03-27T05:47:20+00:00","author":{"@id":"https:\/\/technologyagency.net\/wordpress\/#\/schema\/person\/a25355beaa102da2b2d79b00f5865b63"},"breadcrumb":{"@id":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/technologyagency.net\/wordpress\/2021\/03\/19\/recommendation-system%e3%82%92%e8%80%83%e3%81%88%e3%82%8b2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/technologyagency.net\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Recommendation System\u3092\u8003\u3048\u308b \u305d\u306e\uff12"}]},{"@type":"WebSite","@id":"https:\/\/technologyagency.net\/wordpress\/#website","url":"https:\/\/technologyagency.net\/wordpress\/","name":"I want to lead an easy life.","description":"Technical Notes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/technologyagency.net\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/technologyagency.net\/wordpress\/#\/schema\/person\/a25355beaa102da2b2d79b00f5865b63","name":"hide6644","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a5df48aece572798f5aacd2dd90331e28bd249c13f736badb5116e3d43c5d5e9?s=96&d=mm&r=g","caption":"hide6644"},"url":"https:\/\/technologyagency.net\/wordpress\/author\/hide6644\/"}]}},"_links":{"self":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts\/608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/comments?post=608"}],"version-history":[{"count":49,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts\/608\/revisions"}],"predecessor-version":[{"id":1072,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/posts\/608\/revisions\/1072"}],"wp:attachment":[{"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/media?parent=608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/categories?post=608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technologyagency.net\/wordpress\/wp-json\/wp\/v2\/tags?post=608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}