{"id":50907,"date":"2024-07-04T00:00:00","date_gmt":"2024-07-04T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/"},"modified":"2025-11-14T07:56:48","modified_gmt":"2025-11-14T15:56:48","slug":"normalization","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/","title":{"rendered":"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316"},"content":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002<\/p>\n<p>\u672c\u30d6\u30ed\u30b0\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001\u5f53\u793e\u306eGitHub\u30da\u30fc\u30b8\u3067\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059:https:\/\/github.com\/griddbnet\/Blogs<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ git clone https:\/\/github.com\/griddbnet\/Blogs.git --branch normalization<\/code><\/pre>\n<\/div>\n<p>\u59cb\u3081\u308b\u524d\u306b\u3001\u307e\u305a\u6b63\u898f\u5316\u306b\u3064\u3044\u3066\u7406\u89e3\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u6b63\u898f\u5316\u3068\u306f?<\/h2>\n<p>\u6b63\u898f\u5316\u3068\u306f\u3001\u6a5f\u68b0\u5b66\u7fd2\u306b\u304a\u3044\u3066\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u30c7\u30fc\u30bf\u6e96\u5099\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3001\u5171\u901a\u306e\u30b9\u30b1\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5185\u306e\u5217\u306e\u5024\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u3055\u307e\u3056\u307e\u306a\u7279\u6027\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u6b63\u898f\u5316\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8 <code>house.csv<\/code> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\nhousesize,lotsize,bedrooms,granite,bathroom,sellingprice\n3529,9191,6,0,0,205000 \n3247,10061,5,1,1,224900 \n4032,10150,5,0,1,197900 \n2397,14156,4,1,0,189900\n2200,9600,4,0,1,195000\n3536,19994,6,1,1,325000\n2983,9365,5,0,1,230000<\/code><\/pre>\n<\/div>\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u3001\u7570\u306a\u308b\u7bc4\u56f2\u306e\u6570\u5024\u304c\u5927\u91cf\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30c7\u30fc\u30bf\u5206\u6790\u64cd\u4f5c\u304c\u56f0\u96e3\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b63\u898f\u5316\u306b\u3088\u308a\u3001\u5217\u306e\u5024\u30920\u304b\u30891\u306e\u7bc4\u56f2\u306b\u53ce\u3081\u308b\u306a\u3069\u3001\u5171\u901a\u306e\u5c3a\u5ea6\u3067\u5217\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u7c21\u7d20\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\nhousesize,lotsize,bedrooms,granite,bathroom,sellingprice\n0.571507,0.080533,0.5,1,1,224900\n0.107533,0.459595,0,1,0,189900\n0.729258,1,1,1,1,325000\n0.725437,0,1,0,0,205000\n1,0.088772,0.5,0,1,197900\n0,0.03786,0,0,1,195000\n0.427402,0.016107,0.5,0,1,230000<\/code><\/pre>\n<\/div>\n<p><code>sellingprice<\/code> \u5217\u304c\u5909\u66f4\u3055\u308c\u306a\u3044\u3053\u3068\u306b\u6c17\u3065\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u5206\u985e\u5668\u304c\u3069\u306e\u5909\u6570\u304c\u7d50\u679c\u5909\u6570\u3067\u3042\u308b\u304b\u3092\u77e5\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5206\u985e\u5668\u306b\u6e21\u3059\u524d\u306b\u3001<code>sellingprice<\/code> \u5217\u3092\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30af\u30e9\u30b9\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u305f\u306e\u3067\u3059\u3002\u3053\u306e\u3053\u3068\u306f\u3001\u3053\u306e\u8a18\u4e8b\u306e\u5f8c\u534a\u3067\u5b9f\u969b\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u5f0f\u306f\u3001\u6b63\u898f\u5316\u3092\u6570\u5b66\u7684\u306b\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Xn = (X &#8211; Xmin) \/ (Xmax &#8211; Xmin)<\/p>\n<p>Xn = \u6b63\u898f\u5316\u3055\u308c\u305f\u5024\u3002Xmin = \u7279\u5fb4\u306e\u6700\u5c0f\u5024\u3002Xmax = \u7279\u5fb4\u306e\u6700\u5927\u5024\u3002<\/p>\n<h2>\u6b63\u898f\u5316\u306e\u7a2e\u985e<\/h2>\n<p>\u6a5f\u68b0\u5b66\u7fd2\u3067\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u306e\u6b63\u898f\u5316\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7a2e\u985e\u304c\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>Min-Max \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0:<\/strong> \u3053\u306e\u6b63\u898f\u5316\u3067\u306f\u3001\u5404\u5217\u306e\u6700\u5927\u5024\u304b\u3089\u6700\u5c0f\u5024\u3092\u5dee\u3057\u5f15\u3044\u3066\u3001\u305d\u306e\u5024\u3092\u7bc4\u56f2\u3067\u5272\u308a\u307e\u3059\u3002 \u5404\u65b0\u3057\u3044\u5217\u306f\u6700\u5c0f\u5024\u304c 0\u3001\u6700\u5927\u5024\u304c 1 \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u6a19\u6e96\u5316\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0:<\/strong> Z-\u30b9\u30b3\u30a2\u6b63\u898f\u5316\u3068\u3082\u547c\u3070\u308c\u308b\u3053\u306e\u6b63\u898f\u5316\u3067\u306f\u3001\u5909\u6570\u3092\u30bc\u30ed\u306b\u4e2d\u5fc3\u5316\u3057\u3001\u5206\u6563\u3092 1 \u306b\u6a19\u6e96\u5316\u3057\u307e\u3059\u3002 \u307e\u305a\u5404\u30aa\u30d6\u30b6\u30d9\u30fc\u30b7\u30e7\u30f3\u306e\u5e73\u5747\u3092\u5dee\u3057\u5f15\u304d\u3001\u305d\u308c\u3092\u6a19\u6e96\u504f\u5dee\u3067\u5272\u308a\u307e\u3059\u3002<\/p>\n<p>\u7406\u8ad6\u306b\u3064\u3044\u3066\u306f\u3053\u308c\u3067\u5341\u5206\u3067\u3059\u3002\u5b9f\u7528\u7684\u306a\u5185\u5bb9\u306b\u5165\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u6b63\u898f\u5316\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a<\/h2>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001Java\u3068GridDB\u3067\u57fa\u672c\u7684\u306a\u30ec\u30d9\u30eb\u306e\u6b63\u898f\u5316\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u6b21\u306e\u3082\u306e\u304c\u5fc5\u8981\u3067\u3059\u3002 &#8211; Java(\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3) &#8211; GridDB<\/p>\n<h3>\u5fc5\u8981\u306aJAR\u30d5\u30a1\u30a4\u30eb<\/h3>\n<p>\u5fc5\u8981\u306aJAR\u30d5\u30a1\u30a4\u30eb\u306f\u300cgridstore-5.5.0.jar\u300d\u3068\u300cweka-3.7.0.jar\u300d\u306e2\u3064\u3067\u3059\u3002\u3053\u3053\u3067\u3001\u300cgridstore-5.5.0.jar\u300d\u306fGridDB\u306e\u516c\u5f0f\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u300cweka-3.7.0.jar\u300d\u306f\u30c7\u30fc\u30bf\u5206\u6790\u306b\u5229\u7528\u3059\u308b\u6a5f\u68b0\u5b66\u7fd2\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\n<p>Weka JAR\u306f\u4ee5\u4e0b\u306eURL\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"http:\/\/www.java2s.com\/Code\/Jar\/w\/weka.htm\">http:\/\/www.java2s.com\/Code\/Jar\/w\/weka.htm<\/a><\/p>\n<p>gridstore.jar\u306f\u3001\u3053\u3061\u3089\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/mvnrepository.com\/artifact\/com.github.griddb\/gridstore-jdbc\/5.5.0\">https:\/\/mvnrepository.com\/artifact\/com.github.griddb\/gridstore-jdbc\/5.5.0<\/a><\/p>\n<h3>\u30a4\u30f3\u30dd\u30fc\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8<\/h3>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u57fa\u672c\u7684\u306aJava\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nimport java.util.Properties;\nimport java.util.Scanner;\nimport java.io.File;\nimport java.io.Reader;\nimport java.io.StringReader;<\/code><\/pre>\n<\/div>\n<p>GridDB\u306b\u63a5\u7d9a\u3057\u64cd\u4f5c\u3092\u884c\u3046\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u542b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\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\u5206\u6790\u306b\u306f\u3001Weka\u306e\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u542b\u3081\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nimport weka.classifiers.Evaluation;\nimport weka.classifiers.functions.LinearRegression;\nimport weka.core.Instances;\nimport weka.filters.Filter;\nimport weka.filters.unsupervised.attribute.Normalize;<\/code><\/pre>\n<\/div>\n<p>W\u3055\u3066\u3001\u3053\u308c\u304c\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u9032\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u306e\u4f5c\u6210<\/h2>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001GridDB\u30b3\u30f3\u30c6\u30ca\u306b\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u30b9\u30ad\u30fc\u30de\u3092\u9759\u7684\u30af\u30e9\u30b9\u3068\u3057\u3066\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nstatic class House {\n    @RowKey int housesize;\n    int lotsize;\n    int bedrooms;\n    int granite;\n    int bathroom;\n    int sellingprice;\n}<\/code><\/pre>\n<\/div>\n<p>\u9759\u7684\u30af\u30e9\u30b9 <code>House<\/code> \u306f\u3001<code>RowKey<\/code> <code>housesize<\/code> \u3092\u6301\u30646\u3064\u306e\u6574\u6570\u578b\u30ab\u30e9\u30e0\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>GridDB \u63a5\u7d9a\u306e\u4f5c\u6210<\/h2>\n<p>\u30b9\u30ad\u30fc\u30de\u30af\u30e9\u30b9\u306f\u6e96\u5099\u3067\u304d\u307e\u3057\u305f\u3002GridDB\u306b\u63a5\u7d9a\u3059\u308b\u6642\u304c\u6765\u307e\u3057\u305f\u3002<\/p>\n<p>GridDB\u63a5\u7d9a\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001GridDB\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u5b9a\u7fa9\u3059\u308b<code>Properties<\/code>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u521d\u671f\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nProperties props = new Properties();\nprops.setProperty(\"notificationMember\", \"127.0.0.1:10001\");\nprops.setProperty(\"clusterName\", \"myCluster\");\nprops.setProperty(\"user\", \"admin\");\nprops.setProperty(\"password\", \"admin\");\nGridStore store = GridStoreFactory.getInstance().getGridStore(props);<\/code><\/pre>\n<\/div>\n<p>GridDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u3001\u3053\u308c\u3089\u306e\u63a5\u7d9a\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u63a5\u7d9a\u306b\u6210\u529f\u3057\u305f\u3089\u3001\u6b21\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nCollection coll = store.putCollection(\"House\", House.class);<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca <code>House<\/code> \u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 <code>coll<\/code> \u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>GridDB\u306b\u30c7\u30fc\u30bf\u3092\u30d7\u30c3\u30b7\u30e5<\/h2>\n<p>\u3053\u308c\u3067GridDB\u306e\u30b9\u30ad\u30fc\u30de\u304c\u5b8c\u6210\u3057\u3001\u63a5\u7d9a\u306e\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u30c7\u30fc\u30bf\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u76ee\u7684\u306e\u305f\u3081\u306b\u3001<code>house.csv<\/code>\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001GridDB\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u304c\u3053\u306e\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nFile file1 = new File(\"house.csv\");\nScanner scan = new Scanner(file1);\nString data = scan.next();\n\nwhile (scan.hasNext()){\n    String scanData = scan.next();\n    String dataList[] = scanData.split(\",\");\n    String housesize = dataList[0];\n    String lotsize = dataList[1];\n    String bedrooms = dataList[2];\n    String granite = dataList[3];\n    String bathroom = dataList[4];\n    String sellingprice = dataList[5];\n    \n    House hs = new House();\n    \n    hs.housesize = Integer.parseInt(housesize);\n    hs.lotsize = Integer.parseInt(lotsize);\n    hs.bedrooms = Integer.parseInt(bedrooms);\n    hs.granite = Integer.parseInt(granite);\n    hs.bathroom = Integer.parseInt(bathroom);\n    hs.sellingprice = Integer.parseInt(sellingprice);\n    coll.put(hs);\n}<\/code><\/pre>\n<\/div>\n<p>\u30b3\u30f3\u30c6\u30ca\u306b\u30c7\u30fc\u30bf\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u305f\u3081\u306b\u3001\u30b9\u30ad\u30fc\u30de\u30af\u30e9\u30b9 <code>House<\/code> \u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>GridDB \u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97<\/h2>\n<p>GridDB \u30b3\u30f3\u30c6\u30ca\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u5206\u6790\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\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\">\nQuery query = coll.query(\"select *\");\nRowSet&lt;house> rs = query.fetch(false);&lt;\/house><\/code><\/pre>\n<\/div>\n<p>GridDB\u304b\u3089\u306e\u30af\u30a8\u30ea\u30c7\u30fc\u30bf\u306f\u4e00\u822c\u7684\u306aSQL\u30af\u30a8\u30ea\u3068\u4f3c\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001<code>select *<\/code>\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3001GridDB\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30c7\u30fc\u30bf\u3092\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u6587\u5b57\u5217\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nString datastr = \"@RELATION housenn@ATTRIBUTE houseSize NUMERICn@ATTRIBUTE lotSize NUMERICn@ATTRIBUTE bedrooms NUMERICn@ATTRIBUTE granite NUMERICn@ATTRIBUTE bathroom NUMERICn@ATTRIBUTE sellingPrice NUMERICnn@DATAn\";\n\nwhile (rs.hasNext()) {\nHouse hs = rs.next();\ndatastr = datastr + hs.housesize+\",\"+hs.lotsize+\",\"+hs.bedrooms+\",\"+hs.granite+\",\"+hs.bathroom+\",\"+hs.sellingprice+\"n\";\n}<\/code><\/pre>\n<\/div>\n<p>\u6587\u5b57\u5217 <code>datastr<\/code> \u3092 <code>arff<\/code> \u30d5\u30a1\u30a4\u30eb\u69cb\u9020\u3067\u521d\u671f\u5316\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b63\u898f\u5316\u524d\u306e\u30c7\u30fc\u30bf\u304c\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nSystem.out.println(\"==== Before Normalization ===n\"+datastr);<\/code><\/pre>\n<\/div>\n<h2>Weka \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210<\/h2>\n<p>\u30c7\u30fc\u30bf\u306e\u6b63\u898f\u5316\u306b\u306f\u3001Weka \u30de\u30b7\u30f3\u30e9\u30fc\u30cb\u30f3\u30b0\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30c7\u30fc\u30bf\u3092 Weka \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u524d\u56de\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u3001\u30c7\u30fc\u30bf\u3092\u6587\u5b57\u5217 <code>datastr<\/code> \u306b\u683c\u7d0d\u3057\u305f\u3053\u3068\u3092\u899a\u3048\u3066\u3044\u307e\u3059\u304b?<\/p>\n<p>\u306f\u3044\u3001\u305d\u306e\u6587\u5b57\u5217\u3092 Weka \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u6e21\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nReader dataString = new StringReader(datastr);\nInstances dataset = new Instances(dataString);\ndataset.setClassIndex(dataset.numAttributes()-1);<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306fWeka\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<h2>\u6b63\u898f\u5316<\/h2>\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u6b63\u898f\u5316\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nNormalize normalize = new Normalize();\nnormalize.setInputFormat(dataset);\nInstances newdata = Filter.useFilter(dataset, normalize);<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u6b63\u898f\u5316\u5f8c\u306e\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nSystem.out.println(\"==== After Normalization ===n\"+newdata);<\/code><\/pre>\n<\/div>\n<p>\u6700\u5f8c\u306b\u3001\u6b63\u898f\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306b\u7dda\u5f62\u56de\u5e30\u3092\u9069\u7528\u3057\u305f\u3060\u3051\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nLinearRegression lr = new LinearRegression();\nlr.buildClassifier(newdata);\nEvaluation lreval = new Evaluation(newdata);\nlreval.evaluateModel(lr, newdata);\nSystem.out.println(lreval.toSummaryString());<\/code><\/pre>\n<\/div>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0a\u3067\u3059\u3002\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u5b9f\u884c<\/h2>\n<p>IDE\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001JAR\u30d5\u30a1\u30a4\u30eb\u3092\u30af\u30e9\u30b9\u30d1\u30b9\u306b\u542b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\nexport CLASSPATH=$CLASSPATH:\/Home\/User\/Download\/gridstore.jar<\/code><\/pre>\n<\/div>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\nexport CLASSPATH=$CLASSPATH:\/Home\/User\/Download\/weka-3.7.0.jar<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3089\u306e\u30d1\u30b9\u306f\u3001\u304a\u5ba2\u69d8\u306e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30fc\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\njavac NormalizationJava.java<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\njava NormalizationJava<\/code><\/pre>\n<\/div>\n<h2>\u51fa\u529b\u306e\u8868\u793a<\/h2>\n<p>\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\n==== Before Normalization ===\n@RELATION house\n\n@ATTRIBUTE houseSize NUMERIC\n@ATTRIBUTE lotSize NUMERIC\n@ATTRIBUTE bedrooms NUMERIC\n@ATTRIBUTE granite NUMERIC\n@ATTRIBUTE bathroom NUMERIC\n@ATTRIBUTE sellingPrice NUMERIC\n\n@DATA\n3247,10061,5,1,1,224900\n2397,14156,4,1,0,189900\n3536,19994,6,1,1,325000\n3529,9191,6,0,0,205000\n4032,10150,5,0,1,197900\n2200,9600,4,0,1,195000\n2983,9365,5,0,1,230000\n\n==== After Normalization ===\n@relation house-weka.filters.unsupervised.attribute.Normalize-S1.0-T0.0\n\n@attribute houseSize numeric\n@attribute lotSize numeric\n@attribute bedrooms numeric\n@attribute granite numeric\n@attribute bathroom numeric\n@attribute sellingPrice numeric\n\n@data\n0.571507,0.080533,0.5,1,1,224900\n0.107533,0.459595,0,1,0,189900\n0.729258,1,1,1,1,325000\n0.725437,0,1,0,0,205000\n1,0.088772,0.5,0,1,197900\n0,0.03786,0,0,1,195000\n0.427402,0.016107,0.5,0,1,230000\n\nCorrelation coefficient                  0.9945\nMean absolute error                   4053.821 \nRoot mean squared error               4578.4125\nRelative absolute error                 13.1339 %\nRoot relative squared error             10.51   %\nTotal Number of Instances                7     \n\nBUILD SUCCESSFUL (total time: 1 second)<\/code><\/pre>\n<\/div>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4ee5\u4e0a\u3067\u3001GridDB \u3092\u4f7f\u7528\u3057\u305f Java \u3067\u306e\u6b63\u898f\u5316\u306e\u8aac\u660e\u3092\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3088\u308a\u826f\u3044\u5206\u6790\u3092\u884c\u3046\u305f\u3081\u306b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u6b63\u898f\u5316\u3092\u9069\u7528\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u524d\u8ff0\u306e\u3068\u304a\u308a\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u3055\u307e\u3056\u307e\u306a\u7279\u6027\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u3001\u6b63\u898f\u5316\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u30af\u30a8\u30ea\u3001\u30b3\u30f3\u30c6\u30ca\u3001\u304a\u3088\u3073 GridDB \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u78ba\u5b9f\u306b\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nquery.close();\ncoll.close();\nstore.close();<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002 \u672c\u30d6\u30ed\u30b0\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001\u5f53\u793e\u306eGitHub\u30da\u30fc\u30b8\u3067\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059:https:\/\/github.com\/griddbnet\/Blo [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50907","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\u304a\u3051\u308b\u6b63\u898f\u5316 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002\" \/>\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\/normalization\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/normalization\/\" \/>\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=\"2024-07-04T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:56:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1536\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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\/normalization\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316\",\"datePublished\":\"2024-07-04T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/\"},\"wordCount\":89,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/\",\"name\":\"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg\",\"datePublished\":\"2024-07-04T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:48+00:00\",\"description\":\"\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg\",\"contentUrl\":\"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg\",\"width\":2560,\"height\":1536},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.griddb.net\/en\/#website\",\"url\":\"https:\/\/www.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:\/\/www.griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/www.griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.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:\/\/www.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:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.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\u304a\u3051\u308b\u6b63\u898f\u5316 | GridDB: Open Source Time Series Database for IoT","description":"\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002","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\/normalization\/","og_locale":"ja_JP","og_type":"article","og_title":"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316 | GridDB: Open Source Time Series Database for IoT","og_description":"\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/normalization\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2024-07-04T07:00:00+00:00","article_modified_time":"2025-11-14T15:56:48+00:00","og_image":[{"width":2560,"height":1536,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg","type":"image\/jpeg"}],"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\/normalization\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/"},"author":{"name":"griddb-admin","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316","datePublished":"2024-07-04T07:00:00+00:00","dateModified":"2025-11-14T15:56:48+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/"},"wordCount":89,"commentCount":0,"publisher":{"@id":"https:\/\/www.griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/","name":"Java\u306b\u304a\u3051\u308b\u6b63\u898f\u5316 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/www.griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg","datePublished":"2024-07-04T07:00:00+00:00","dateModified":"2025-11-14T15:56:48+00:00","description":"\u672c\u30d6\u30ed\u30b0\u3067\u306f\u3001Java\u3068GridDB\u3092\u4f7f\u7528\u3057\u3066\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u30c7\u30fc\u30bf\u6b63\u898f\u5316\u3092\u5b9f\u6f14\u3057\u307e\u3059\u3002","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/normalization\/#primaryimage","url":"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg","contentUrl":"\/wp-content\/uploads\/2024\/07\/normalization-in-java-griddb-project-strct-scaled.jpg","width":2560,"height":1536},{"@type":"WebSite","@id":"https:\/\/www.griddb.net\/en\/#website","url":"https:\/\/www.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:\/\/www.griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/www.griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.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:\/\/www.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:\/\/www.griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.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\/50907","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=50907"}],"version-history":[{"count":1,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50907\/revisions"}],"predecessor-version":[{"id":51727,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50907\/revisions\/51727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media\/49710"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}