{"id":50767,"date":"2021-10-08T00:00:00","date_gmt":"2021-10-08T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/"},"modified":"2025-11-14T07:54:57","modified_gmt":"2025-11-14T15:54:57","slug":"building-a-recommendation-system-in-java","status":"publish","type":"post","link":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/","title":{"rendered":"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u8981\u7d20\u306b\u57fa\u3065\u3044\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u30a2\u30a4\u30c6\u30e0\u3092\u63a8\u85a6\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002\u3053\u306e\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u6700\u3082\u8208\u5473\u3092\u6301\u3061\u305d\u3046\u306a\u3082\u306e\u3092\u63a8\u85a6\u3057\u307e\u3059\u3002Netflix\u306f\u3001\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u5229\u7528\u3057\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u6620\u753b\u3092\u63a8\u85a6\u3057\u3066\u3044\u307e\u3059\u3002Amazon\u306f\u3001\u8cfc\u5165\u3059\u308b\u5546\u54c1\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u52e7\u3081\u308b\u305f\u3081\u306b\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u30c7\u30b8\u30bf\u30eb\u4e16\u754c\u3067\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u9867\u5ba2\u306f\u3088\u308a\u30cf\u30c3\u30d4\u30fc\u306b\u306a\u308a\u3001\u3088\u308a\u591a\u304f\u306e\u58f2\u308a\u4e0a\u3052\u306b\u7e4b\u304c\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u3063\u3066\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u306e\u5b9f\u88c5\u65b9\u6cd5<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001Apache Mahout\u3092\u4f7f\u7528\u3057\u3066\u3001Java\u3067\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002Apache Mahout\u306f\u3001\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u3001\u5206\u985e\u3001\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0\u3001\u304a\u3088\u3073\u63a8\u85a6\u306a\u3069\u306e\u6a5f\u68b0\u5b66\u7fd2\u6280\u8853\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u306e\u4ed5\u4e8b\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u30a2\u30a4\u30c6\u30e0\u3092\u63a8\u85a6\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u3001UserID, Item Number, Rating\u306e3\u3064\u306e\u30ab\u30e9\u30e0\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u300c4, 12, 3.0\u300d\u3068\u3044\u3046\u5024\u3092\u6301\u3064\u5217\u306f\u3001ID\u304c4\u306e\u30e6\u30fc\u30b6\u304c\u30a2\u30a4\u30c6\u30e012\u3092\u661f3\u3064\u3067\u8a55\u4fa1\u3057\u305f\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f.CSV\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u3001GridDB\u306b\u79fb\u52d5\u3057\u3066\u3001\u305d\u3053\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/ja\/wp-content\/uploads\/2021\/10\/data.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/10\/data.png\" alt=\"\" width=\"212\" height=\"348\" class=\"aligncenter size-full wp-image-27825\" srcset=\"\/wp-content\/uploads\/2021\/10\/data.png 212w, \/wp-content\/uploads\/2021\/10\/data-183x300.png 183w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/><\/a><\/p>\n<h2>Maven\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/h2>\n<p>Java IDE \u3092\u8d77\u52d5\u3057\u3001Maven \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u898f\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<code>pom.xml<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n&lt;project  xmlns_xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\n  xsi_schemaLocation=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\"&gt;\n  &lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\n\n  &lt;groupId&gt;Add your Group Id&lt;\/groupId&gt;\n  &lt;artifactId&gt;Add your Artifact Id&lt;\/artifactId&gt;\n  &lt;version&gt;1.0-SNAPSHOT&lt;\/version&gt;\n  &lt;packaging&gt;jar&lt;\/packaging&gt;\n\n  &lt;name&gt;Add the name of your Project&lt;\/name&gt;\n  &lt;url&gt;http:\/\/maven.apache.org&lt;\/url&gt;\n\n  &lt;properties&gt;\n    &lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\n  &lt;\/properties&gt;\n\n  &lt;dependencies&gt;\n  &lt;dependency&gt;\n    &lt;groupId&gt;org.apache.mahout&lt;\/groupId&gt;\n    &lt;artifactId&gt;mahout-mr&lt;\/artifactId&gt;\n    &lt;version&gt;0.10.0&lt;\/version&gt;\n  &lt;\/dependency&gt;\n\n    &lt;dependency&gt;\n      &lt;groupId&gt;junit&lt;\/groupId&gt;\n      &lt;artifactId&gt;junit&lt;\/artifactId&gt;\n      &lt;version&gt;3.8.1&lt;\/version&gt;\n      &lt;scope&gt;test&lt;\/scope&gt;\n    &lt;\/dependency&gt;\n  &lt;\/dependencies&gt;\n&lt;\/project&gt;<\/code><\/pre>\n<\/div>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u306b\u3057\u305f\u304c\u3063\u3066\u3001\u4e0a\u8a18\u30d5\u30a1\u30a4\u30eb\u306b\u6b63\u3057\u3044\u5185\u5bb9\u3092\u5165\u529b\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u3092GridDB\u306b\u66f8\u304d\u8fbc\u3080<\/h2>\n<p>\u6b21\u306b\u3001CSV\u30d5\u30a1\u30a4\u30eb\u304b\u3089GridDB\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">import java.io.IOException;\nimport java.util.Collection;\nimport java.util.Properties;\nimport java.util.Scanner;\n\nimport com.toshiba.mwcloud.gs.Collection;\nimport com.toshiba.mwcloud.gs.GSException;\nimport com.toshiba.mwcloud.gs.GridStore;\nimport com.toshiba.mwcloud.gs.GridStoreFactory;\nimport com.toshiba.mwcloud.gs.Query;\nimport com.toshiba.mwcloud.gs.RowKey;\nimport com.toshiba.mwcloud.gs.RowSet;<\/code><\/pre>\n<\/div>\n<p>\u30c7\u30fc\u30bf\u306f <code>data.csv<\/code> \u3068\u3044\u3046\u540d\u524d\u306e CSV \u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u3092GridDB\u30b3\u30f3\u30c6\u30ca\u306b\u683c\u7d0d\u3059\u308b\u3053\u3068\u304c\u76ee\u7684\u3067\u3059\u3002\u307e\u305a\u3001\u30b3\u30f3\u30c6\u30ca\u30b9\u30ad\u30fc\u30de\u3092\u9759\u7684\u30af\u30e9\u30b9\u3068\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\"> public static class Ratings{\n     @RowKey String userid;\n     String item;\n     String rating;\n    }<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30af\u30e9\u30b9\u306fGridDB\u30b3\u30f3\u30c6\u30ca\u3092\u8868\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306f3\u3064\u306e\u30ab\u30e9\u30e0\u3092\u6301\u3064SQL\u30c6\u30fc\u30d6\u30eb\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001GridDB\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u63a5\u7d9a\u5148\u306e\u30af\u30e9\u30b9\u30bf\u540d\u3001\u63a5\u7d9a\u3059\u308b\u30e6\u30fc\u30b6\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u3001GridDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306e\u60c5\u5831\u3092\u5165\u529b\u3057\u3066Properties\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nProperties props = new Properties();\nprops.setProperty(\"notificationAddress\", \"239.0.0.1\");\nprops.setProperty(\"notificationPort\", \"31999\");\nprops.setProperty(\"clusterName\", \"defaultCluster\");\nprops.setProperty(\"user\", \"admin\");\nprops.setProperty(\"password\", \"admin\");\nGridStore store = GridStoreFactory.getInstance().getGridStore(props);<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u5185\u5bb9\u306f\u3001GridDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306e\u8a8d\u8a3c\u60c5\u5831\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u3092 <code>Ratings<\/code> \u30b3\u30f3\u30c6\u30ca\u306b\u66f8\u304d\u8fbc\u307f\u305f\u3044\u306e\u3067\u3001\u305d\u308c\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">Collection&lt;String, Ratings> coll = store.putCollection(\"col01\", Ratings.class);<\/code><\/pre>\n<\/div>\n<p>coll<code>\u306f<\/code>Ratings` \u30b3\u30f3\u30c6\u30ca\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3042\u308b\u305f\u3081\u3001\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u53c2\u7167\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001<code>data.csv<\/code> \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001GridDB \u30b3\u30f3\u30c6\u30ca\u306b\u66f8\u304d\u8fbc\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">File file1 = new File(\"data.csv\");\n                Scanner sc = new Scanner(file1);\n                String data = sc.next();\n \n                while (sc.hasNext()){\n                        String scData = sc.next();\n                        String dataList[] = scData.split(\",\");\n                        String userid = dataList[0];\n                        String item = dataList[1];\n                        String rating = dataList[2];\n\n                        Ratings ratings = new Ratings();\n    \n                        ratings.userid = userid;\n                        ratings.item = item;\n                        ratings.rating = rating;\n                        coll.append(ratings);\n                 }<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306f <code>data.csv<\/code> \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u3001<code>ratings<\/code> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001GridDB \u30b3\u30f3\u30c6\u30ca\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u30ab\u30e9\u30e0\u306f\u30ab\u30f3\u30de\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30c7\u30ea\u30df\u30bf\u30fc\u3068\u3057\u3066\u30ab\u30f3\u30de(,)\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>GridDB \u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001GridDB\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3057\u3001\u305d\u308c\u3092\u4f7f\u3063\u3066\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u3001GridDB\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">Query&lt;ratings> query = coll.query(\"select *\");\nRowSet&lt;ratings> rs = query.fetch(false);\nRowSet res = query.fetch();<\/code><\/pre>\n<\/div>\n<p><code>select *<\/code>\u30af\u30a8\u30ea\u306f\u3001GridDB\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u5f15\u304d\u51fa\u3059\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b<\/h2>\n<p>\u3044\u3088\u3044\u3088Apache Mahout\u3092\u4f7f\u3063\u3066\u3001\u30c7\u30fc\u30bf\u304b\u3089\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092Apache Mahout\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">import java.io.File;\nimport java.util.List;\n\nimport org.apache.mahout.cf.taste.impl.neighborhood.ThresholdUserNeighborhood;\nimport org.apache.mahout.cf.taste.impl.model.file.FileDataModel;\nimport org.apache.mahout.cf.taste.impl.recommender.GenericUserBasedRecommender;\nimport org.apache.mahout.cf.taste.model.DataModel;\nimport org.apache.mahout.cf.taste.impl.similarity.CityBlockSimilarity;\nimport org.apache.mahout.cf.taste.neighborhood.UserNeighborhood;\nimport org.apache.mahout.cf.taste.recommender.UserBasedRecommender;\nimport org.apache.mahout.cf.taste.recommender.RecommendedItem;<\/code><\/pre>\n<\/div>\n<p>\u76ee\u6a19\u306f\u3001<code>n<\/code>\u500b\u306e\u30a2\u30a4\u30c6\u30e0\u3092\u30e6\u30fc\u30b6\u306b\u63a8\u85a6\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30a2\u30a4\u30c6\u30e0\u306e\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0\u306b\u306f\u3001\u985e\u4f3c\u5ea6\u6307\u6a19\u3092\u7528\u3044\u307e\u3059\u3002\u985e\u4f3c\u5ea6\u6307\u6a19\u306f\u3001\u7570\u306a\u308b\u30a2\u30a4\u30c6\u30e0\u9593\u306e\u30de\u30f3\u30cf\u30c3\u30bf\u30f3\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u30b3\u30fc\u30c9\u306f <code>try<\/code> \u3068 <code>catch<\/code> \u30d6\u30ed\u30c3\u30af\u3067\u56f2\u307e\u308c\u3066\u304a\u308a\u3001\u767a\u751f\u3057\u3046\u308b\u4f8b\u5916\u3092\u30ad\u30e3\u30c3\u30c1\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\ntry {\n    CityBlockSimilarity similarity = new CityBlockSimilarity(res);\n    UserNeighborhood neighborhood = new ThresholdUserNeighborhood(0.1,similarity, res);\n    UserBasedRecommender recommender = new GenericUserBasedRecommender(res, neighborhood, similarity);\n    \n    \/\/ UserID and number of items to be recommended\n    List&lt;recommendeditem> recommended_items = recommender.recommend(2, 2);      \n    \n    for (RecommendedItem r : recommended_items) {\n        System.out.println(r);\n    }\n} catch (Exception ex) {\n    System.out.println(\"An exception occured!\");\n}<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u6700\u3082\u91cd\u8981\u306a\u306e\u306f\u3001\u985e\u4f3c\u5ea6\u306e\u95be\u5024\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u540c\u3058\u30af\u30e9\u30b9\u30bf\u306b\u5c5e\u3059\u308b2\u3064\u306e\u30c7\u30fc\u30bf\u9805\u76ee\u9593\u306e\u985e\u4f3c\u5ea6\u306e\u4e0b\u9650\u5024\u3067\u3059\u3002\u4f8b\u3048\u3070\u985e\u4f3c\u5ea6\u95be\u5024\u30920.5\u3068\u3057\u305f\u5834\u5408\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u5024\u304c50%\u4f3c\u3066\u3044\u308b\u30a2\u30a4\u30c6\u30e0\u306f\u3001\u540c\u3058\u30af\u30e9\u30b9\u30bf\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002\u985e\u4f3c\u5ea6\u306e\u3057\u304d\u3044\u5024\u3092 1.0 \u306b\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u304c\u4e00\u7dd2\u306b\u30af\u30e9\u30b9\u30bf\u5316\u3055\u308c\u308b\u305f\u3081\u306b\u306f\u3001\u305d\u308c\u3089\u306e\u30a2\u30a4\u30c6\u30e0\u304c\u985e\u4f3c\u3057\u305f\u7279\u6027\u3092\u6709\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001ID\u304c2\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u30662\u3064\u306e\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u7b97\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u5b9f\u884c<\/h2>\n<p>\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u3001<code>gsadm<\/code> \u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u3001GridDB\u306e <code>bin<\/code> \u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre><code>\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\n<\/code><\/pre>\n<p>Linux\u7aef\u672b\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001gridstore.jar\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>export CLASSPATH=$CLASSPATH:\/home\/osboxes\/Downloads\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\/gridstore.jar\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001<code>.java<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code>javac RecommenderSystemClass.java\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u751f\u6210\u3055\u308c\u305f .class \u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code>java RecommenderSystemClass\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30012\u3064\u306e\u9805\u76ee\u3092\u964d\u9806\u306b\u63a8\u85a6\u3057\u307e\u3059\u3002<\/p>\n<pre><code>Recommended Item[item:12, value:4.857143]\nRecommended Item[item:14, value:3.357143]\n<\/code><\/pre>\n<p>\u304a\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3001Java\u3068GridDB\u3092\u4f7f\u3063\u305f\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9\u65b9\u6cd5\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u8981\u7d20\u306b\u57fa\u3065\u3044\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u30a2\u30a4\u30c6\u30e0\u3092\u63a8\u85a6\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002\u3053\u306e\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u6700\u3082\u8208\u5473\u3092\u6301\u3061\u305d\u3046\u306a\u3082\u306e\u3092\u63a8\u85a6\u3057\u307e\u3059\u3002Netflix\u306f\u3001\u30ec\u30b3\u30e1\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0\u3092 [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49312,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50767","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u306f\u3058\u3081\u306b\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/building-a-recommendation-system-in-java\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/building-a-recommendation-system-in-java\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-08T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:54:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/10\/buildings-yste.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1160\" \/>\n\t<meta property=\"og:image:height\" content=\"653\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9\",\"datePublished\":\"2021-10-08T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/\"},\"wordCount\":52,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/10\/buildings-yste.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/\",\"name\":\"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/10\/buildings-yste.png\",\"datePublished\":\"2021-10-08T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:57+00:00\",\"description\":\"\u306f\u3058\u3081\u306b\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2021\/10\/buildings-yste.png\",\"contentUrl\":\"\/wp-content\/uploads\/2021\/10\/buildings-yste.png\",\"width\":1160,\"height\":653},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/griddb.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT","description":"\u306f\u3058\u3081\u306b","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:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/building-a-recommendation-system-in-java\/","og_locale":"ja_JP","og_type":"article","og_title":"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT","og_description":"\u306f\u3058\u3081\u306b","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/building-a-recommendation-system-in-java\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2021-10-08T07:00:00+00:00","article_modified_time":"2025-11-14T15:54:57+00:00","og_image":[{"width":1160,"height":653,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2021\/10\/buildings-yste.png","type":"image\/png"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"griddb-admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9","datePublished":"2021-10-08T07:00:00+00:00","dateModified":"2025-11-14T15:54:57+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/"},"wordCount":52,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/10\/buildings-yste.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/","name":"Java\u306b\u3088\u308b\u30ec\u30b3\u30e1\u30f3\u30c7\u30fc\u30b7\u30e7\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/10\/buildings-yste.png","datePublished":"2021-10-08T07:00:00+00:00","dateModified":"2025-11-14T15:54:57+00:00","description":"\u306f\u3058\u3081\u306b","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/building-a-recommendation-system-in-java\/#primaryimage","url":"\/wp-content\/uploads\/2021\/10\/buildings-yste.png","contentUrl":"\/wp-content\/uploads\/2021\/10\/buildings-yste.png","width":1160,"height":653},{"@type":"WebSite","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/griddb.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50767"}],"version-history":[{"count":1,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50767\/revisions"}],"predecessor-version":[{"id":51601,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50767\/revisions\/51601"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media\/49312"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}