{"id":50775,"date":"2021-12-08T00:00:00","date_gmt":"2021-12-08T08:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/"},"modified":"2025-11-14T07:55:04","modified_gmt":"2025-11-14T15:55:04","slug":"how-to-implement-an-artificial-neural-network-using-java","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/","title":{"rendered":"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5"},"content":{"rendered":"<h2>\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f<\/h2>\n<p>\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08ANN\uff09\u306f\u6a5f\u68b0\u5b66\u7fd2\u306e\u30b5\u30d6\u30bb\u30c3\u30c8\u3067\u3042\u308a\u3001\u6df1\u5c64\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u4e2d\u6838\u3092\u306a\u3059\u3082\u306e\u3067\u3059\u3002\u305d\u306e\u69cb\u9020\u306f\u4eba\u9593\u306e\u8133\u306b\u30d2\u30f3\u30c8\u3092\u5f97\u3066\u304a\u308a\u3001\u751f\u7269\u5b66\u7684\u306a\u30cb\u30e5\u30fc\u30ed\u30f3\u304c\u4e92\u3044\u306b\u4fe1\u53f7\u3092\u9001\u308a\u5408\u3046\u65b9\u6cd5\u3092\u6a21\u5023\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>ANN\u306f\u3001\u5165\u529b\u5c64\u3001\u96a0\u308c\u5c64\u3001\u51fa\u529b\u5c64\u3092\u542b\u3080\u30ce\u30fc\u30c9\u5c64\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5404\u30ce\u30fc\u30c9\u306f\u5225\u306e\u30ce\u30fc\u30c9\u306b\u63a5\u7d9a\u3055\u308c\u3001\u91cd\u307f\u3068\u95be\u5024\u304c\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u7279\u5b9a\u306e\u30ce\u30fc\u30c9\u306e\u51fa\u529b\u304c\u6307\u5b9a\u3055\u308c\u305f\u95be\u5024\u3092\u8d85\u3048\u308b\u3068\u3001\u305d\u306e\u30ce\u30fc\u30c9\u304c\u6d3b\u6027\u5316\u3055\u308c\u3001\u30c7\u30fc\u30bf\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u6b21\u306e\u5c64\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u5c64\u306b\u30c7\u30fc\u30bf\u306f\u8ee2\u9001\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/12\/network.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/12\/network.png\" alt=\"\" width=\"360\" height=\"217\" class=\"aligncenter size-full wp-image-27924\" srcset=\"\/wp-content\/uploads\/2021\/12\/network.png 360w, \/wp-content\/uploads\/2021\/12\/network-300x181.png 300w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<p>\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306f\u3001\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u30e2\u30c7\u30eb\u3092\u8a13\u7df4\u3057\u3001\u6642\u9593\u3092\u304b\u3051\u3066\u305d\u306e\u7cbe\u5ea6\u3092\u9ad8\u3081\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u7cbe\u5ea6\u304c\u5fae\u8abf\u6574\u3055\u308c\u308b\u3068\u3001\u4e88\u6e2c\u306e\u305f\u3081\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u3092GridDB\u306b\u66f8\u304d\u8fbc\u3080<\/h2>\n<p>\u4eca\u56de\u306f\u3001\u3042\u308b\u9280\u884c\u306e\u9867\u5ba2\u5b9a\u7740\u7387\u30a2\u30c3\u30d7\u306e\u304a\u624b\u4f1d\u3044\u3092\u3057\u307e\u3059\u3002\u9280\u884c\u3092\u53bb\u308b\u53ef\u80fd\u6027\u304c\u6700\u3082\u9ad8\u3044\u9867\u5ba2\u3092\u4e88\u6e2c\u3059\u308b\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e2\u30c7\u30eb\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u3001\u9280\u884c\u306e\u9867\u5ba2\u306e\u69d8\u3005\u306a\u8a73\u7d30\u3001\u4f8b\u3048\u3070\u30af\u30ec\u30b8\u30c3\u30c8\u30b9\u30b3\u30a2\u3001\u9280\u884c\u6b8b\u9ad8\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u3092\u6301\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u304b\u3069\u3046\u304b\u3001\u63a8\u5b9a\u7d66\u4e0e\u3001\u306a\u3069\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/12\/data-nural.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/12\/data-nural.png\" alt=\"\" width=\"1110\" height=\"198\" class=\"aligncenter size-full wp-image-27923\" srcset=\"\/wp-content\/uploads\/2021\/12\/data-nural.png 1110w, \/wp-content\/uploads\/2021\/12\/data-nural-300x54.png 300w, \/wp-content\/uploads\/2021\/12\/data-nural-1024x183.png 1024w, \/wp-content\/uploads\/2021\/12\/data-nural-768x137.png 768w, \/wp-content\/uploads\/2021\/12\/data-nural-600x107.png 600w\" sizes=\"(max-width: 1110px) 100vw, 1110px\" \/><\/a><\/p>\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u5168\u90e8\u306714\u306e\u5c5e\u6027\u304c\u3042\u308a\u307e\u3059\u3002CSV\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001GridDB\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u3053\u308c\u306b\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5168\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nimport java.io.IOException;\nimport java.util.Properties;\nimport java.util.Collection;\nimport java.util.Scanner;\n\nimport com.toshiba.mwcloud.gs.Collection;\nimport com.toshiba.mwcloud.gs.GridStore;\nimport com.toshiba.mwcloud.gs.GSException;\nimport com.toshiba.mwcloud.gs.GridStoreFactory;\nimport com.toshiba.mwcloud.gs.RowKey;\nimport com.toshiba.mwcloud.gs.Query;\nimport com.toshiba.mwcloud.gs.RowSet;\n\nimport java.io.File;<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30c7\u30fc\u30bf\u306f <code>Churn_Modelling.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\u306e\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u30b9\u30ad\u30fc\u30de\u3092\u8868\u73fe\u3059\u308b\u9759\u7684\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\npublic static class BankCustomers {\n    \n     @RowKey String rowNumber;\n     String  surname, geography, gender, tenure, hasCrCard, isActiveMember; \n     int customerId,  creditScore, age, numOfProducts, exited;\n     Double balance, estimatedSalary;\n}  <\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30af\u30e9\u30b9\u306fSQL\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u4f3c\u3066\u3044\u3066\u3001\u5909\u6570\u304c\u30c6\u30fc\u30d6\u30eb\u306e\u30ab\u30e9\u30e0\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3044\u3088\u3044\u3088GridDB\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002GridDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u60c5\u5831\u3092\u542b\u3080Properties\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n        Properties props = new Properties();\n        props.setProperty(\"notificationAddress\", \"239.0.0.1\");\n        props.setProperty(\"notificationPort\", \"31999\");\n        props.setProperty(\"clusterName\", \"defaultCluster\");\n        props.setProperty(\"user\", \"admin\");\n        props.setProperty(\"password\", \"admin\");\n        GridStore store = GridStoreFactory.getInstance().getGridStore(props);<\/code><\/pre>\n<\/div>\n<p>GridDB \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u3001\u4e0a\u8a18\u306e\u5185\u5bb9\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001<code>BankCustomers<\/code>\u30b3\u30f3\u30c6\u30ca\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">Collection&lt;String, BankCustomers> coll = store.putCollection(\"col01\", BankCustomers.class);<\/code><\/pre>\n<\/div>\n<p>\u30b3\u30f3\u30c6\u30ca\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u3001<code>coll<\/code>\u3068\u3044\u3046\u540d\u524d\u304c\u4ed8\u3051\u3089\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u30b3\u30f3\u30c6\u30ca\u3092\u53c2\u7167\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001CSV \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001GridDB \u30b3\u30f3\u30c6\u30ca\u306b\u683c\u7d0d\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\">\n                File file1 = new File(\"Churn_Modelling.csv\");\n                Scanner sc = new Scanner(file1);\n                String data = sc.next();\n                \n                 \n                while (sc.hasNext()){\n                        String scData = sc.next();\n                        String dataList[] = scData.split(\",\");\n                        \n                       \n                        String rowNumber = dataList[0];\n                        String customerId = dataList[1];\n                        String surname = dataList[2];\n                        String creditScore = dataList[3];\n                        String geography = dataList[4];\n                        String gender = dataList[5];\n                        String age = dataList[6];\n                        String tenure = dataList[7];\n                        String balance = dataList[8];\n                        String numOfProducts = dataList[9];\n                        String hasCrCard = dataList[10];\n                        String isActiveMember = dataList[11];\n                        String estimatedSalary = dataList[12];\n                        String exited = dataList[13];\n                        \n                        \n                        \n                        BankCustomers bc = new BankCustomers();\n                        \n                        \n                        bc.rowNumber = rowNumber; \n                        bc.customerId = Integer.parseInt(customerId);\n                        bc.surname = surname;\n                        bc.creditScore = Integer.parseInt(creditScore);\n                        bc.geography = geography;\n                        bc.gender = gender;\n                        bc.age = Integer.parseInt(age);\n                        bc.tenure = tenure;\n                        bc.balance = Double.parseDouble(balance);\n                        bc.numOfProducts = Integer.parseInt(numOfProducts);\n                        bc.hasCrCard = hasCrCard;\n                        bc.isActiveMember = isActiveMember;\n                        bc.estimatedSalary = Double.parseDouble(estimatedSalary);\n                        bc.exited =Integer.parseInt(exited);\n                        coll.append(bc);                                           \n                }<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001CSV\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u3001<code>bc<\/code>\u3068\u3044\u3046\u540d\u524d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u305d\u3057\u3066\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30b3\u30f3\u30c6\u30ca\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2>GridDB\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n<p>\u3053\u308c\u3067\u3001GridDB\u304b\u3089\u30c7\u30fc\u30bf\u3092\u5f15\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u305d\u306e\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n                Query&lt;bankcustomers> query = coll.query(\"select *\");\n                RowSet&lt;bankcustomers> rs = query.fetch(false);\n                RowSet res = query.fetch();<\/code><\/pre>\n<\/div>\n<p><code>select *<\/code>\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u3001GridDB\u30b3\u30f3\u30c6\u30ca\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u9078\u629e\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406<\/h2>\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u30ab\u30c6\u30b4\u30ea\u5909\u6570\u304c\u3042\u308b\u305f\u3081\u3001\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u4e0e\u3048\u308b\u524d\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u6700\u5f8c\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u3042\u308bExited\u306f\u3001\u9867\u5ba2\u304c\u9280\u884c\u3092\u53bb\u3063\u305f\u304b\u5426\u304b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u5024 1 \u306f\u9867\u5ba2\u304c\u9280\u884c\u3092\u51fa\u305f\u3053\u3068\u3092\u793a\u3059\u306e\u3067\u3001\u3053\u306e\u5c5e\u6027\u304c\u51fa\u529b\u30e9\u30d9\u30eb\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e3\u3064\u306e\u5c5e\u6027\u3001\u3059\u306a\u308f\u3061RowNumber\u3001CustomerId\u3001Surname\u306f\u6c7a\u5b9a\u8981\u56e0\u3067\u306f\u306a\u3044\u306e\u3067\u7121\u8996\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u7d50\u679c\u3001\u691c\u8a0e\u5bfe\u8c61\u3068\u306a\u308b\u5c5e\u6027\u306f10\u500b\u3068\u306a\u308a\u3001\u51fa\u529b\u30e9\u30d9\u30eb\u304c\u6c7a\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code>Geography<\/code>\u3068<code>Gender<\/code>\u306e\u5024\u306f\u6570\u5024\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u6570\u5b57\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<code>Gender<\/code> \u30e9\u30d9\u30eb\u306f\u30d0\u30a4\u30ca\u30ea\u5024\u3001\u3064\u307e\u308a 0 \u304b 1\uff08\u7537\u6027\/\u5973\u6027\uff09\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<code>Geography<\/code> \u306b\u306f\u8907\u6570\u306e\u5024\u304c\u3042\u308b\u306e\u3067\u30011\u3064\u306e\u30db\u30c3\u30c8\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u7528\u3057\u3066\u6570\u5024\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>DeepLearning4j\uff08DL4J\uff09\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30b9\u30ad\u30fc\u30de\u3092\u5b9a\u7fa9\u3057\u3001\u30b9\u30ad\u30fc\u30de\u3092\u5909\u63db\u51e6\u7406\u306b\u6295\u5165\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30a8\u30f3\u30b3\u30fc\u30c9\u3068\u5909\u63db\u3092\u7d4c\u3066\u3001\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u4f7f\u7528\u3059\u308b\u8ffd\u52a0\u30e9\u30a4\u30d6\u30e9\u30ea\u4e00\u5f0f\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">import org.datavec.api.records.reader.RecordReader;\nimport org.datavec.api.records.reader.impl.transform.TransformProcessRecordReader;\nimport org.datavec.api.records.reader.impl.csv.CSVRecordReader;\nimport org.datavec.api.split.FileSplit;\nimport org.datavec.api.transform.TransformProcess;\nimport org.deeplearning4j.api.storage.StatsStorage;\nimport org.datavec.api.transform.schema.Schema;\nimport org.deeplearning4j.datasets.datavec.RecordReaderDataSetIterator;\nimport org.deeplearning4j.datasets.iterator.DataSetIteratorSplitter;\nimport org.deeplearning4j.nn.conf.NeuralNetConfiguration;\nimport org.deeplearning4j.nn.conf.MultiLayerConfiguration;\nimport org.deeplearning4j.nn.conf.layers.DenseLayer;\nimport org.deeplearning4j.nn.conf.layers.OutputLayer;\nimport org.deeplearning4j.nn.weights.WeightInit;\nimport org.deeplearning4j.nn.multilayer.MultiLayerNetwork;\nimport org.deeplearning4j.optimize.listeners.ScoreIterationListener;\nimport org.deeplearning4j.ui.api.UIServer;\nimport org.deeplearning4j.ui.storage.InMemoryStatsStorage;\nimport org.deeplearning4j.ui.stats.StatsListener;\nimport org.deeplearning4j.util.ModelSerializer;\nimport org.nd4j.evaluation.classification.Evaluation;\nimport org.nd4j.linalg.api.ndarray.INDArray;\nimport org.nd4j.linalg.activations.Activation;\nimport org.nd4j.linalg.dataset.api.iterator.DataSetIterator;\nimport org.nd4j.linalg.dataset.api.preprocessor.NormalizerStandardize;\nimport org.nd4j.linalg.dataset.api.preprocessor.DataNormalization;\nimport org.nd4j.linalg.factory.Nd4j;\nimport org.nd4j.linalg.learning.config.Adam;\nimport org.nd4j.linalg.io.ClassPathResource;\nimport org.nd4j.linalg.lossfunctions.impl.LossMCXENT;\nimport org.slf4j.LoggerFactory;\nimport org.slf4j.Logger;\n\nimport java.util.Arrays;\n<\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u30b9\u30ad\u30fc\u30de\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\"> private static Schema createSchema() {\n        final Schema scm = new Schema.Builder()\n                                    .addColumnString(\"rowNumber\")\n                                    .addColumnInteger(\"customerId\")\n                                    .addColumnString(\"surname\")\n                                    .addColumnInteger(\"creditScore\")\n                                    .addColumnCategorical(\"geography\", Arrays.asList(\"France\",\"Germany\",\"Spain\"))\n                                    .addColumnCategorical(\"gender\", Arrays.asList(\"Male\",\"Female\"))\n                                    .addColumnsInteger(\"age\", \"tenure\")\n                                    .addColumnDouble(\"balance\")\n                                    .addColumnsInteger(\"numOfProducts\",\"hasCrCard\",\"isActiveMember\")\n                                    .addColumnDouble(\"estimatedSalary\")\n                                    .addColumnInteger(\"exited\")\n                                    .build();\n        return scm;\n\n    }<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u30c7\u30fc\u30bf\u306e\u30b9\u30ad\u30fc\u30de\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u5909\u63db\u51e6\u7406\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3053\u308c\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\"> private static RecordReader dataTransform(RecordReader reader, Schema scm){\n    final TransformProcess transformation = new TransformProcess.Builder(scm)\n                        \n        .removeColumns(\"rowNumber\",\"customerId\",\"surname\")\n        .categoricalToInteger(\"gender\")\n        .categoricalToOneHot(\"geography\")\n        .removeColumns(\"geography[France]\")\n        .build();\n        \n        final TransformProcessRecordReader transformationReader = new TransformProcessRecordReader(reader,transformation);\n        return  transformationReader;\n\n    }<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f <code>geography<\/code> \u30e9\u30d9\u30eb\u3092\u30d0\u30a4\u30ca\u30ea\u5024\u3092\u6301\u3064\u8907\u6570\u306e\u30ab\u30e9\u30e0\u306b\u5909\u63db\u3059\u308b\u3002\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b3\u3064\u306e\u56fd\u304c\u3042\u308b\u5834\u5408\u3001\u305d\u308c\u3089\u306f3\u3064\u306e\u5217\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u3001\u305d\u308c\u305e\u308c\u306e\u5217\u304c\u56fd\u306e\u5024\u3092\u8868\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30c0\u30df\u30fc\u5909\u6570\u306e\u7f60\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u30011\u3064\u306e\u30ab\u30c6\u30b4\u30ea\u5909\u6570\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002\u524a\u9664\u3055\u308c\u305f\u5909\u6570\u306f\u3001\u4ed6\u306e\u30ab\u30c6\u30b4\u30ea\u306b\u5bfe\u3059\u308b\u57fa\u672c\u30ab\u30c6\u30b4\u30ea\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002\u6211\u3005\u306f <code>France<\/code> \u3092\u524a\u9664\u3057\u305f\u306e\u3067\u3001\u4ed6\u306e\u56fd\u306e\u5024\u3092\u793a\u3059\u305f\u3081\u306e\u30d9\u30fc\u30b9\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8\u30bb\u30c3\u30c8\u306b\u5206\u5272\u3059\u308b<\/h2>\n<p>\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e2\u30c7\u30eb\u306e\u5b66\u7fd2\u306b\u4f7f\u7528\u3055\u308c\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u30e2\u30c7\u30eb\u304c\u3069\u306e\u7a0b\u5ea6\u5b66\u7fd2\u3055\u308c\u305f\u304b\u3092\u691c\u8a3c\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30c7\u30fc\u30bf\u3092\u5206\u5272\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">private static RecordReader generateReader(File file) throws IOException, InterruptedException {\n    final RecordReader reader = new RecordReader();\n    reader.initialize(new FileSplit(res));\n\n\n      reader.initialize(res);\n        final RecordReader transformationReader=applyTransform(reader,createSchema());\n        return transformationReader;\n    }<\/code><\/pre>\n<\/div>\n<h2>\u5165\u529b\u3068\u51fa\u529b\u306e\u30e9\u30d9\u30eb\u3092\u5b9a\u7fa9\u3059\u308b<\/h2>\n<p>\u6b21\u306b\u3001\u5165\u529b\u30e9\u30d9\u30eb\u3068\u51fa\u529b\u30e9\u30d9\u30eb\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u5909\u63db\u5f8c\u306e\u30c7\u30fc\u30bf\u306f13\u30ab\u30e9\u30e0\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c0\u304b\u308912\u307e\u3067\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u5f8c\u306e\u5217\u304c\u51fa\u529b\u30e9\u30d9\u30eb\u3067\u3001\u305d\u308c\u4ee5\u5916\u306e\u5217\u304c\u5165\u529b\u30e9\u30d9\u30eb\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30d0\u30c3\u30c1\u30b5\u30a4\u30ba\u3082\u6c7a\u3081\u3066\u304a\u304f\u3068\u826f\u3044\u3067\u3059\u3002\u30d0\u30c3\u30c1\u30b5\u30a4\u30ba\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304b\u3089\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u8ee2\u9001\u3055\u308c\u308b\u30c7\u30fc\u30bf\u306e\u91cf\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bDataSetIterator\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n    final int labIndex=11;\n    final int numClasses=2;\n    final int batchSize=8;\n    final INDArray weightArray = Nd4j.create(new double[]{0.57, 0.75});\n\n    final RecordReader reader = generateReader(res);\n    final DataSetIterator iterator = new RecordReaderDataSetIterator.Builder(reader,batchSize)\n        .classification(labIndex,numClasses)\n        .build();<\/code><\/pre>\n<\/div>\n<h2>\u30c7\u30fc\u30bf\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0<\/h2>\n<p>\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u4e0e\u3048\u308b\u30c7\u30fc\u30bf\u306e\u30e9\u30d9\u30eb\u306f\u3001\u4e92\u3044\u306b\u6bd4\u8f03\u53ef\u80fd\u3067\u3042\u308b\u3079\u304d\u3067\u3059\u3002\u4eca\u56de\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001<code>balance<\/code>\u3068<code>estimated salary<\/code>\u306e\u30e9\u30d9\u30eb\u306e\u5927\u304d\u3055\u304c\u4ed6\u306e\u30e9\u30d9\u30eb\u3088\u308a\u3082\u5927\u304d\u904e\u304e\u307e\u3059\u3002\u3082\u3057\u30c7\u30fc\u30bf\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3068\u3001\u3053\u306e2\u3064\u306e\u30e9\u30d9\u30eb\u306f\u4e88\u6e2c\u3092\u884c\u3046\u969b\u306b\u4ed6\u306e\u30e9\u30d9\u30eb\u306e\u5f71\u97ff\u3092\u96a0\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u793a\u3059\u3088\u3046\u306b\u3001\u7279\u5fb4\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u7528\u3044\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n       final DataNormalization normalization = new NormalizerStandardize();\n       normalization.fit(iterator);\n       iterator.setPreProcessor(normalization);\n       final DataSetIteratorSplitter iteratorSplitter = new DataSetIteratorSplitter(iterator,1250,0.8);<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u30c7\u30fc\u30bf\u3092\u6295\u5165\u3059\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u5b9a\u7fa9\u3059\u308b<\/h2>\n<p>\u3044\u3088\u3044\u3088\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u69cb\u6210\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u5165\u529b\u5c64\u306b\u8ffd\u52a0\u3059\u308b\u30cb\u30e5\u30fc\u30ed\u30f3\u306e\u6570\u3001\u96a0\u308c\u5c64\u306e\u69cb\u9020\u3068\u63a5\u7d9a\u3001\u51fa\u529b\u5c64\u3001\u5404\u5c64\u3067\u4f7f\u7528\u3059\u308b\u6d3b\u6027\u5316\u95a2\u6570\u3001\u30aa\u30d7\u30c6\u30a3\u30de\u30a4\u30b6\u95a2\u6570\u3001\u51fa\u529b\u5c64\u306e\u640d\u5931\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u304c\u305d\u308c\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">final MultiLayerConfiguration config = new NeuralNetConfiguration.Builder()\n    .weightInit(WeightInit.RELU_UNIFORM)\n    .updater(new Adam(0.015D))\n    .list()\n    .layer(new DenseLayer.Builder().nIn(11).nOut(6).activation(Activation.RELU).dropOut(0.9).build())\n    .layer(new DenseLayer.Builder().nIn(6).nOut(6).activation(Activation.RELU).dropOut(0.9).build())\n    .layer(new DenseLayer.Builder().nIn(6).nOut(4).activation(Activation.RELU).dropOut(0.9).build())\n    .layer(new OutputLayer.Builder(new LossMCXENT(weightArray)).nIn(4).nOut(2).activation(Activation.SOFTMAX).build())\n    .build();<\/code><\/pre>\n<\/div>\n<p>\u306a\u304a\u3001\u30aa\u30fc\u30d0\u30fc\u30d5\u30a3\u30c3\u30c6\u30a3\u30f3\u30b0\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001\u5165\u529b\u5c64\u3068\u51fa\u529b\u5c64\u306e\u9593\u306b\u30c9\u30ed\u30c3\u30d7\u30a2\u30a6\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30a2\u30f3\u30c0\u30fc\u30d5\u30a3\u30c3\u30c6\u30a3\u30f3\u30b0\u3092\u907f\u3051\u308b\u305f\u3081\u3001\u30cb\u30e5\u30fc\u30ed\u30f3\u306e10%\u306e\u307f\u3092\u30c9\u30ed\u30c3\u30d7\u30a2\u30a6\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u5165\u529b\u306e\u6570\u306f11\u3001\u51fa\u529b\u306e\u6570\u306f1\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u51fa\u529b\u5c64\u306b\u306f\u30b7\u30b0\u30e2\u30a4\u30c9\u6d3b\u6027\u5316\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u307e\u305f\u3001\u8a08\u7b97\u3059\u308b\u8aa4\u5dee\u7387\u3068\u3068\u3082\u306b\u640d\u5931\u95a2\u6570\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u5834\u5408\u3001\u5b9f\u969b\u306e\u51fa\u529b\u3068\u671f\u5f85\u3055\u308c\u308b\u51fa\u529b\u3068\u306e\u5dee\u306e\u4e8c\u4e57\u548c\u3092\u8a08\u7b97\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u5bfe\u5fdc\u3059\u308b\u640d\u5931\u95a2\u6570\u306f <em>binary cross-enthropy<\/em> \u3067\u3059\u3002<\/p>\n<h2>\u30e2\u30c7\u30eb\u3092\u5b66\u7fd2\u3055\u305b\u308b<\/h2>\n<p>\u307e\u305a\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3001\u30e2\u30c7\u30eb\u3092\u521d\u671f\u5316\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n        final UIServer ui = UIServer.getInstance();\n        final StatsStorage stats = new InMemoryStatsStorage();\n\n        final MultiLayerNetwork multiNetwork = new MultiLayerNetwork(config);\n        multiNetwork.init();\n        multiNetwork.setListeners(new ScoreIterationListener(100),\n                                  new StatsListener(stats));\n        ui.attach(stats);<\/code><\/pre>\n<\/div>\n<p><code>fit()<\/code> \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30e2\u30c7\u30eb\u3092\u5b66\u7fd2\u3055\u305b\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">    multiNetwork.fit(iteratorSplitter.getTrainIterator(),100);<\/code><\/pre>\n<\/div>\n<p>DL4J\u304c\u63d0\u4f9b\u3059\u308b<code>Evaluation<\/code>\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u3001\u30e2\u30c7\u30eb\u7d50\u679c\u306e\u8a55\u4fa1\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n        final Evaluation ev =  multiNetwork.evaluate(iteratorSplitter.getTestIterator(),Arrays.asList(\"0\",\"1\"));\n        System.out.println(ev.stats());<\/code><\/pre>\n<\/div>\n<p>\u7d50\u679c\u306f\u6df7\u540c\u884c\u5217\u306e\u5f62\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u4e88\u6e2c\u3092\u3059\u308b<\/h2>\n<p>\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e2\u30c7\u30eb\u3092\u5b9f\u969b\u306b\u52d5\u304b\u3057\u3066\u898b\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3042\u308b\u9867\u5ba2\u304c\u9280\u884c\u3092\u8f9e\u3081\u308b\u304b\u3069\u3046\u304b\u3092\u4e88\u6e2c\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u51fa\u529b\u30e9\u30d9\u30eb\u304c\u306a\u3044\u306e\u3067\u3001\u65b0\u3057\u3044\u30b9\u30ad\u30fc\u30de\u3092\u4f5c\u6210\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u524d\u306b\u5b9a\u7fa9\u3057\u305f\u30b9\u30ad\u30fc\u30de\u304b\u3089\u30e9\u30d9\u30eb\u3092\u524a\u9664\u3059\u308c\u3070\u826f\u3044\u3067\u3059\u3002\u65b0\u3057\u3044\u30b9\u30ad\u30fc\u30de\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n    private static Schema createSchema() {\n        final Schema scm = new Schema.Builder()\n           .addColumnString(\"rowNumber\")\n           .addColumnInteger(\"customerId\")\n           .addColumnString(\"surname\")\n           .addColumnInteger(\"creditScore\")\n           .addColumnCategorical(\"geography\", Arrays.asList(\"France\",\"Germany\",\"Spain\"))\n           .addColumnCategorical(\"gender\", Arrays.asList(\"Male\",\"Female\"))\n           .addColumnsInteger(\"age\", \"tenure\")\n           .addColumnDouble(\"balance\")\n           .addColumnsInteger(\"numOfProducts\",\"hasCrCard\",\"isActiveMember\")\n           .addColumnDouble(\"estimatedSalary\")\n           .build();\n        return scm;\n\n    }<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u3001\u4e88\u6e2c\u7d50\u679c\u3092INDArray\u3068\u3057\u3066\u8fd4\u3059API\u95a2\u6570\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n    public static INDArray predictedOutput(File inputFile, String modelPath) throws IOException, InterruptedException {\n        final File file = new File(modelPath);\n        final MultiLayerNetwork net = ModelSerializer.restoreMultiLayerNetwork(file);\n        final RecordReader reader = generateReader(inputFile);\n        final NormalizerStandardize normalizerStandardize = ModelSerializer.restoreNormalizerFromFile(file);\n        final DataSetIterator iterator = new RecordReaderDataSetIterator.Builder(reader,1).build();\n        normalizerStandardize.fit(iterator);\n        iterator.setPreProcessor(normalizerStandardize);\n        return net.output(iterator);\n\n    }<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u5b9f\u884c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u5b9f\u884c<\/h2>\n<p>\u307e\u305a\u3001<code>gsadm<\/code> \u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u4f5c\u6210\u3057\u305f <code>.java<\/code> \u30d5\u30a1\u30a4\u30eb\u3092 GridDB \u306e <code>bin<\/code> \u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30d1\u30b9\u306b\u914d\u7f6e\u3059\u308b\u3002<\/p>\n<pre><code>\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001Linux\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<div class=\"clipboard\">\n<pre><code class=\"language-sh\">export CLASSPATH=$CLASSPATH:\/home\/osboxes\/Downloads\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\/gridstore.jar<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066 <code>.java<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">javac BankRetention.java<\/code><\/pre>\n<\/div>\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<div class=\"clipboard\">\n<pre><code class=\"language-sh\">java BankRetention<\/code><\/pre>\n<\/div>\n<p>\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u3001\u9867\u5ba2\u304c\u9280\u884c\u3092\u96e2\u308c\u308b\u78ba\u7387\u3092\u4e88\u6e2c\u3057\u307e\u3059\u3002\u78ba\u7387\u304c0.5\uff0850\uff05\uff09\u4ee5\u4e0a\u3067\u3042\u308c\u3070\u3001\u4e0d\u6e80\u3092\u6301\u3063\u3066\u3044\u308b\u9867\u5ba2\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f \u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08ANN\uff09\u306f\u6a5f\u68b0\u5b66\u7fd2\u306e\u30b5\u30d6\u30bb\u30c3\u30c8\u3067\u3042\u308a\u3001\u6df1\u5c64\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u4e2d\u6838\u3092\u306a\u3059\u3082\u306e\u3067\u3059\u3002\u305d\u306e\u69cb\u9020\u306f\u4eba\u9593\u306e\u8133\u306b\u30d2\u30f3\u30c8\u3092\u5f97\u3066\u304a\u308a\u3001\u751f\u7269\u5b66\u7684\u306a\u30cb\u30e5\u30fc\u30ed\u30f3\u304c\u4e92\u3044\u306b\u4fe1\u53f7\u3092\u9001\u308a\u5408 [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49335,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50775","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\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f\" \/>\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\/how-to-implement-an-artificial-neural-network-using-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\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/how-to-implement-an-artificial-neural-network-using-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-12-08T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:55:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2021\/12\/neural.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=\"5\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\/how-to-implement-an-artificial-neural-network-using-java\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5\",\"datePublished\":\"2021-12-08T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:55:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/\"},\"wordCount\":39,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/12\/neural.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/\",\"name\":\"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/12\/neural.png\",\"datePublished\":\"2021-12-08T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:55:04+00:00\",\"description\":\"\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2021\/12\/neural.png\",\"contentUrl\":\"\/wp-content\/uploads\/2021\/12\/neural.png\",\"width\":1160,\"height\":653},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.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.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.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.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.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.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:\/\/www.griddb.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5 | GridDB: Open Source Time Series Database for IoT","description":"\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f","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\/how-to-implement-an-artificial-neural-network-using-java\/","og_locale":"ja_JP","og_type":"article","og_title":"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5 | GridDB: Open Source Time Series Database for IoT","og_description":"\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/how-to-implement-an-artificial-neural-network-using-java\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2021-12-08T08:00:00+00:00","article_modified_time":"2025-11-14T15:55:04+00:00","og_image":[{"width":1160,"height":653,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2021\/12\/neural.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":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5","datePublished":"2021-12-08T08:00:00+00:00","dateModified":"2025-11-14T15:55:04+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/"},"wordCount":39,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/12\/neural.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/","name":"Java\u306b\u3088\u308b\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b9f\u88c5\u65b9\u6cd5 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/12\/neural.png","datePublished":"2021-12-08T08:00:00+00:00","dateModified":"2025-11-14T15:55:04+00:00","description":"\u4eba\u5de5\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u306f\uff1f","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/how-to-implement-an-artificial-neural-network-using-java\/#primaryimage","url":"\/wp-content\/uploads\/2021\/12\/neural.png","contentUrl":"\/wp-content\/uploads\/2021\/12\/neural.png","width":1160,"height":653},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.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.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.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.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.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.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:\/\/www.griddb.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50775"}],"version-history":[{"count":1,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50775\/revisions"}],"predecessor-version":[{"id":51609,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50775\/revisions\/51609"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media\/49335"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}