{"id":50799,"date":"2022-05-27T00:00:00","date_gmt":"2022-05-27T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/"},"modified":"2025-11-14T07:55:24","modified_gmt":"2025-11-14T15:55:24","slug":"brain-tumor-detection-using-machine-learning-python-and-griddb","status":"publish","type":"post","link":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/","title":{"rendered":"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa"},"content":{"rendered":"<p>\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53\u306e\u6b63\u3057\u3044\u6a5f\u80fd\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u8133\u816b\u760d\u306f\u3001\u8a18\u61b6\u969c\u5bb3\u3084\u8996\u529b\u4f4e\u4e0b\u306a\u3069\u3001\u60a3\u8005\u3055\u3093\u306b\u4e0d\u53ef\u9006\u7684\u306a\u6a5f\u80fd\u969c\u5bb3\u3092\u3082\u305f\u3089\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u7406\u7531\u304b\u3089\u3001\u9577\u3044\u9593\u3001\u533b\u5b66\u306e\u7814\u7a76\u306f\u8133\u3068\u8133\u816b\u760d\u3092\u542b\u3080\u8133\u306e\u75c5\u6c17\u306e\u7814\u7a76\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u7814\u7a76\u306f\u3001\u533b\u5b66\u7684\u5206\u6790\u8a18\u9332\u3092\u8133\u816b\u760d\u3068\u6b63\u5e38\u306a\u81e8\u5e8a\u72b6\u614b\u3068\u306b\u5206\u985e\u3059\u308b\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u63d0\u4f9b\u3057\u3001\u533b\u5b66\u7814\u7a76\u306b\u8ca2\u732e\u3057\u3066\u3044\u307e\u3059\u3002\u672c\u7a3f\u3067\u306f\u3001\u6a5f\u68b0\u5b66\u7fd2\u6280\u8853\u3092\u7528\u3044\u305f\u8133\u816b\u760d\u691c\u51fa\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u5b9f\u88c5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u307e\u305a\u3001\u74b0\u5883\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3001\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30ed\u30fc\u30c9\u3057\u3001\u63a2\u7d22\u7684\u306a\u30c7\u30fc\u30bf\u89e3\u6790\u3092\u884c\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u5f97\u308b\u305f\u3081\u306e\u8a55\u4fa1\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/griddbnet\/Blogs\/blob\/main\/Brain%20Tumor%20Detection%20using%20Machine%20Learning%20Python%20and%20GridDB\/Brain%20Tumor%20Classification.ipynb\"> \u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308bPython jupyter\u306e\u5b8c\u5168\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u3061\u3089 <\/a><\/p>\n<h2>\u74b0\u5883\u306e\u8a2d\u5b9a<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3059\u308b\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092\u5b8c\u6210\u3055\u305b\u308b\u306b\u306f\u3001\u74b0\u5883\u3092\u6e96\u5099\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u63d0\u6848\u3059\u308b\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u74b0\u5883\u3068\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Windows 10: \u3053\u306e\u8a18\u4e8b\u3067\u4f7f\u7528\u3057\u3066\u3044\u308bOS\u3067\u3059\u3002<\/li>\n<li>Anaconda Navigator (Jupyter notebook): \u3053\u306e\u8a18\u4e8b\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308bPython\u30b3\u30fc\u30c9\u306f\u3001Jupyter notebook\u3067\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u5f8c\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3001\u4eca\u56de\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306eGridDB\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u30e1\u30a4\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u3057\u3066Python\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001Python\u3067GridDB\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u74b0\u5883\u3092\u6e96\u5099\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p>GridDB Python\u30af\u30e9\u30a4\u30a2\u30f3\u30c8: GridDB Python\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001Python\u3092\u4f7f\u7528\u3057\u3066GridDB\u3068\u901a\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>GridDB Python\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001\u4ee5\u4e0b\u3092\u5229\u7528\u3057\u3066\u958b\u767a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&#8212; GridDB C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/p>\n<p>&#8212; SWIG (Simplified Wrapper and Interface Generator)<\/p>\n<\/li>\n<\/ul>\n<h2>\u30c7\u30fc\u30bf\u306e\u7d39\u4ecb<\/h2>\n<p>\u672c\u7a3f\u3067\u7528\u3044\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u3001\u60a3\u8005\u306e\u533b\u7642\u89e3\u6790\u306e\u7d50\u679c\u5f97\u3089\u308c\u305f\u8133\u816b\u760d\u306e\u691c\u51fa\u306b\u95a2\u9023\u3059\u308b\u69d8\u3005\u306a\u6e2c\u5b9a\u5358\u4f4d\u306b\u5bfe\u5fdc\u3059\u308b7465\u500b\u306e\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u3001\u5404\u3005\u304c\u60a3\u8005\u306b\u5bfe\u5fdc\u3059\u308b35\u306e\u30a8\u30f3\u30c8\u30ea\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u6700\u5f8c\u306e\u5217\u306fy\u5217\u3067\u3001\u5404\u60a3\u8005\u306b\u3064\u3044\u3066\u3001\u8133\u816b\u760d\u306e\u533b\u5b66\u7684\u8a3a\u65ad\u306e\u89e3\u91c8\uff08\u6b63\u5e38\u307e\u305f\u306f\u816b\u760d\uff09\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u4e00\u822c\u306b\u516c\u958b\u3055\u308c\u3066\u304a\u308a\u3001<a href=\"https:\/\/www.kaggle.com\/code\/hisoka2020\/brain-tumor-classification-accuracy-100\/data\">Kaggle<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u63d0\u6848\u3059\u308b\u89e3\u6c7a\u7b56\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h2>\n<p>\u307e\u305a\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u6271\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5f8c\u306e\u7bc0\u3067\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u304c\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u3068\u3057\u3066\u3001GridDB\u3092\u4f7f\u3046\u65b9\u6cd5\u3068\u3001CSV\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u63a2\u7d22\u7684\u5206\u6790\u3092\u884c\u3046Pandas\u306e2\u3064\u306e\u9078\u629e\u80a2\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u306e\u5834\u5408\u3082\u3001\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u5fc5\u8981\u3067\u3059\u3002Sklearn\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u304a\u304b\u3052\u3067\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306b\u9069\u5408\u3059\u308b\u3088\u3046\u306b\u6e96\u5099\u3055\u308c\u3001\u5f8c\u306b\u540c\u3058\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3088\u3063\u3066\u8a55\u4fa1\u3055\u308c\u307e\u3059\u3002Jupyter Notebook\u306e\u4ee5\u4e0b\u306e\u30bb\u30eb\u306f\u3001\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">import numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\nfrom sklearn.metrics import confusion_matrix,accuracy_score<\/code><\/pre>\n<\/div>\n<h2>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u8aad\u307f\u8fbc\u307f<\/h2>\n<p>\u672c\u7bc0\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u3068\u3057\u3066\u3001GridDB \u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3068\u3001CSV \u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u306e 2 \u3064\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u524d\u9805\u3067\u8aac\u660e\u3057\u305f\u3088\u3046\u306b\u3001\u4eca\u56de\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u6bd4\u8f03\u7684\u5927\u898f\u6a21\u3067\u3042\u308a\u3001\u3088\u308a\u9ad8\u3044\u53ef\u7528\u6027\u306e\u305f\u3081\u306b\u9ad8\u6027\u80fd\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u5fc5\u8981\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>GridDB\u306f\u3001IoT\u3084\u30d3\u30c3\u30b0\u30c7\u30fc\u30bf\u5411\u3051\u306b\u6700\u9069\u5316\u3055\u308c\u305f\u3001\u62e1\u5f35\u6027\u306e\u9ad8\u3044\u30a4\u30f3\u30e1\u30e2\u30ea\u578bNoSQL\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u7406\u7531\u304b\u3089\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4fdd\u5b58\u306bGridDB\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3001\u69d8\u3005\u306a\u9762\u3067\u79c1\u305f\u3061\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u5229\u76ca\u3092\u3082\u305f\u3089\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3059\u3067\u306bGridDB\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8a2d\u8a08\u3057\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u5c02\u7528\u30b3\u30f3\u30c6\u30ca\u306b\u683c\u7d0d\u3057\u307e\u3057\u305f\u3002\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u554f\u3044\u5408\u308f\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u64cd\u4f5c\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">import griddb_python as griddb\n\nfactory = griddb.StoreFactory.get_instance()\n\ngridstore = factory.get_store(\n    host=\"239.0.0.1\",\n    port=31999,\n    cluster_name=\"defaultCluster\",\n    username=\"admin\",\n    password=\"admin\"\n)\n\ncol = gridstore.get_container(\"brain_tumor\")\n\nquery = col.query(\"select *\")\nrs = query.fetch(False)\nrows = rs.fetch_rows()\n<\/code><\/pre>\n<\/div>\n<p>Python\u3092\u7528\u3044\u305fGridDB\u3078\u306e\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u66f8\u304d\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/griddb.net\/ja\/blog\/using-pandas-dataframes-with-griddb\/\">GridDB\u306e\u30d6\u30ed\u30b0<\/a>\u3092\u3054\u89a7\u306b\u306a\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fCSV\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002Pandas\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u304a\u304b\u3052\u3067\u3001\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">dataset = pd.read_csv(\"data.csv\")<\/code><\/pre>\n<\/div>\n<p>\u6b21\u7bc0\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5909\u6570\u3067\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u3092\u7528\u3044\u3066\u3001\u63a2\u7d22\u7684\u306a\u30c7\u30fc\u30bf\u5206\u6790\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u63a2\u7d22\u7684\u30c7\u30fc\u30bf\u89e3\u6790<\/h2>\n<p>Pandas\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u63a2\u7d22\u7684\u306a\u30c7\u30fc\u30bf\u5206\u6790\u3092\u884c\u3046\u305f\u3081\u306e\u4e00\u9023\u306e\u95a2\u6570\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u95a2\u6570\u306e\u4e2d\u306b\u306f\u3001 <code>head()<\/code>, <code>columns<\/code>, <code>info()<\/code>, <code>dtypes<\/code> \u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">dataset.head()<\/code><\/pre>\n<\/div>\n<p>\u524d\u306e\u884c\u306f\u30015\u3064\u306e\u9805\u76ee\u3092\u6301\u3064\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u62bd\u51fa\u7269\u3092\u51fa\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3067\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5168\u4f53\u50cf\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/github.com\/almahdibakkali96\/Brain-Tumor-Detection-using-Machine-Learning-Python-and-GridDB-\/blob\/main\/image-20220406114524906.png?raw=true\" alt=\"\" \/><\/p>\n<p>\u63a2\u7d22\u7684\u30c7\u30fc\u30bf\u89e3\u6790\u3092\u7d9a\u3051\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30b3\u30e9\u30e0\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">dataset.columns<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u884c\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">Index(['Unnamed: 0', 'X53416', 'M83670', 'X90908', 'M97496', 'X90908.1',    'U37019', 'R48602', 'T96548', 'X64559',    ...    'H87456', 'R64130', 'H11125.1', 'U22055', 'L22524', 'M13699.1',    'X54489', 'T55008', 'M10065.2', 'y'],   dtype='object', length=7466)<\/code><\/pre>\n<\/div>\n<p>\u898b\u3066\u306e\u901a\u308a\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u6700\u5f8c\u306e\u5217\u306f\u3001\u4ee5\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u8aac\u660e\u3057\u305f <code>y<\/code> \u5217\u3067\u3059\u3002 \u307e\u305f\u3001\u5217\u306e\u6570\u304c7466\u3067\u3042\u308a\u30011\u30641\u3064\u304cID\u5217\u306b\u76f8\u5f53\u3059\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u5bfe\u3057\u3066info()\u95a2\u6570\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">dataset.info()<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u30bb\u30eb\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">&lt;class 'pandas.core.frame.DataFrame'&gt;RangeIndex: 36 entries, 0 to 35Columns: 7466 entries, Unnamed: 0 to ydtypes: int64(7465), object(1)memory usage: 2.1+ MB<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u51fa\u529b\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30b5\u30a4\u30ba\u3001\u30c7\u30fc\u30bf\u578b\u3001\u5217\u3068\u884c\u306e\u6570\u306b\u95a2\u3059\u308b\u4e00\u822c\u7684\u306a\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u306e<a href=\"https:\/\/github.com\/almahdibakkali96\/Brain-Tumor-Detection-using-Machine-Learning-Python-and-GridDB-\">Github\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u4ed6\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3057\u3001\u63a2\u7d22\u7684\u306a\u30c7\u30fc\u30bf\u5206\u6790\u3092\u5b8c\u6210\u3055\u305b\u3066\u3044\u307e\u3059\u3002\u8a73\u3057\u304f\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u5206\u985e\u3059\u308b\u305f\u3081\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3067\u4f7f\u7528\u3057\u305f\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306e\u5b9f\u88c5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u3053\u306e\u6bb5\u968e\u306b\u5165\u308b\u524d\u306b\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5206\u5272\u306a\u3069\u3001\u3044\u304f\u3064\u304b\u306e\u64cd\u4f5c\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u5909\u6570 <code>X<\/code> \u3068 <code>y<\/code> \u306b\u5024\u3092\u4ee3\u5165\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001 <code>X<\/code> \u5909\u6570\u306b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30b9\u30e9\u30a4\u30b9\u3092\u4ee3\u5165\u3057\u307e\u3059\u3002\u95a2\u6570 <code>iloc<\/code> \u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e 2 \u6b21\u5143\u69cb\u9020\u5316\u884c\u5217\u8868\u73fe\u3067\u3042\u308b dataframe \u3092\u8fd4\u3057\u307e\u3059\u3002\u540c\u69d8\u306b\u3001\u5909\u6570 y \u306b\u306f\u30011\u6b21\u5143\u306e\u914d\u5217\u3067\u3042\u308b\u7cfb\u5217\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001 <code>y<\/code> \u5909\u6570\u306b\u306f\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u6700\u5f8c\u306e\u5217\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u5148\u307b\u3069\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u601d\u3044\u51fa\u3059\u3068\u3001<code>y<\/code>\u30ab\u30e9\u30e0\u306b\u306f\u3001\u8133\u816b\u760d\u306e\u533b\u5b66\u7684\u89e3\u6790\u306e\u5b9f\u969b\u306e\u89e3\u91c8\u3001\u3064\u307e\u308a\u816b\u760d\u304b\u6b63\u5e38\u304b\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u64cd\u4f5c\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u5b9f\u73fe\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">X=dataset.iloc[:,:-1].values\ny=dataset.iloc[:,-1].values<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u30ab\u30c6\u30b4\u30ea\u5909\u6570 <code>y<\/code> \u3092\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001<code>y<\/code> \u30ab\u30e9\u30e0\u306e &#8220;Normal&#8221; \u3068 &#8220;tumor&#8221; \u306e\u5024\u3092\u3001\u305d\u308c\u305e\u308c 0 \u3068 1 \u306b\u5909\u63db\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u3053\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u3001 <code>LabelEncoder<\/code> \u306e\u304a\u304b\u3052\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">from sklearn.preprocessing import LabelEncoder\nle=LabelEncoder()\ny=le.fit_transform(y)<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u3068\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306b\u5206\u5272\u3059\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002\u5b66\u7fd2\u30c7\u30fc\u30bf\u306f\u30e2\u30c7\u30eb\u306e\u5b66\u7fd2\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306f\u3053\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u3001\u5f8c\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u6b63\u3057\u304f\u5206\u985e\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u306e\u304c\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u7fa4\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">from sklearn.model_selection import train_test_split\nX_train, X_test, y_train, y_test = train_test_split(X,y,test_size=.2,random_state=0)<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3089\u306e\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u5206\u985e\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3059\u308b\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u306f <code>StandardScaler<\/code> \u306e\u304a\u304b\u3052\u3067\u3001\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">from sklearn.preprocessing import StandardScaler\nsc=StandardScaler()\nX_train=sc.fit_transform(X_train)\nX_test=sc.transform(X_test)<\/code><\/pre>\n<\/div>\n<p>\u305d\u306e\u5f8c\u3001\u5206\u985e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u30ed\u30b8\u30b9\u30c6\u30a3\u30c3\u30af\u56de\u5e30\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3053\u306e\u4ed6\u306b\u3082\u3001k-nearest neighbor\u3084\u30e9\u30f3\u30c0\u30e0\u30d5\u30a9\u30ec\u30b9\u30c8\u5206\u985e\u5668\u306a\u3069\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u4f8b\u3068\u305d\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u7d50\u679c\u306f\u3001<a href=\"https:\/\/github.com\/almahdibakkali96\/Brain-Tumor-Detection-using-Machine-Learning-Python-and-GridDB-\">Github\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">from sklearn.linear_model import LogisticRegression\nclassifier=LogisticRegression()\nclassifier.fit(X_train,y_train)<\/code><\/pre>\n<\/div>\n<h2>\u30e2\u30c7\u30eb\u8a55\u4fa1<\/h2>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u3001\u79c1\u305f\u3061\u306f\u30e2\u30c7\u30eb\u3092\u8a55\u4fa1\u3057\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u4e88\u6e2c\u7d50\u679c\u3092\u5f97\u308b\u6e96\u5099\u304c\u51fa\u6765\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u3088\u3063\u3066\u5b9f\u73fe\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">y_pred_LogisticRegression=classifier.predict(X_test)\naccuracy_score(y_test,y_pred_LogisticRegression)<\/code><\/pre>\n<\/div>\n<p>\u4e88\u6e2c\u7d50\u679c\u306e\u51fa\u529b\u306f100%\u3067\u3042\u308a\u3001\u3053\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306f\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8133\u816b\u760d\u3001\u307e\u305f\u306f\u6b63\u5e38\u306a\u81e8\u5e8a\u72b6\u614b\u3068\u3057\u3066\u6b63\u3057\u304f\u4e88\u6e2c\u3001\u5206\u985e\u3067\u304d\u305f\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u6a5f\u68b0\u5b66\u7fd2\u306e\u7814\u7a76\u306f\u3001\u533b\u7642\u3084\u81e8\u5e8a\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u305f\u3081\u306e\u30b5\u30dd\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u3092\u7528\u3044\u305f\u8133\u816b\u760d\u691c\u51fa\u30e2\u30c7\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u540c\u3058\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u306e\u5b9f\u884c\u3092\u518d\u73fe\u3059\u308b\u305f\u3081\u306e\u74b0\u5883\u8a2d\u5b9a\u304b\u3089\u59cb\u3081\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c\u3001\u8133\u816b\u760d\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u5c0e\u5165\u3057\u307e\u3057\u305f\u3002\u5fc5\u8981\u306aPython\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305f\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u8aad\u307f\u8fbc\u307f\u306f\u3001GridDB\u3092\u4f7f\u3046\u304b\u3001CSV\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3046\u304b\u306e2\u3064\u306e\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u305d\u3057\u3066\u3001\u63a2\u7d22\u7684\u306a\u30c7\u30fc\u30bf\u89e3\u6790\u3092\u884c\u3044\u307e\u3057\u305f\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u52a0\u5de5\u3057\u3001\u30ed\u30b8\u30b9\u30c6\u30a3\u30c3\u30af\u56de\u5e30\u3092\u4f7f\u7528\u3057\u3066\u8a2d\u8a08\u3055\u308c\u305f\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306b\u9069\u3057\u305f\u3082\u306e\u306b\u3057\u307e\u3057\u305f\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u30e2\u30c7\u30eb\u3092\u8a55\u4fa1\u3057\u3001\u4e88\u6e2c\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/griddbnet\/Blogs\/blob\/main\/Brain%20Tumor%20Detection%20using%20Machine%20Learning%20Python%20and%20GridDB\/Brain%20Tumor%20Classification.ipynb\"> \u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308bPython jupyter\u306e\u5b8c\u5168\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u3061\u3089 <\/a><\/p>\n<h2>\u53c2\u8003\u6587\u732e<\/h2>\n<p><strong>https:\/\/www.kaggle.com\/code\/hisoka2020\/brain-tumor-classification-accuracy-100\/data<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53\u306e\u6b63\u3057\u3044\u6a5f\u80fd\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u8133\u816b\u760d\u306f\u3001\u8a18\u61b6\u969c [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49402,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50799","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>\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53\" \/>\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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\" \/>\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=\"2022-05-27T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:55:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\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=\"2\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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa\",\"datePublished\":\"2022-05-27T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:55:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\"},\"wordCount\":81,\"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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\",\"name\":\"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa | 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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg\",\"datePublished\":\"2022-05-27T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:55:24+00:00\",\"description\":\"\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg\",\"contentUrl\":\"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg\",\"width\":1920,\"height\":1280},{\"@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":"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa | GridDB: Open Source Time Series Database for IoT","description":"\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53","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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/","og_locale":"ja_JP","og_type":"article","og_title":"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa | GridDB: Open Source Time Series Database for IoT","og_description":"\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2022-05-27T07:00:00+00:00","article_modified_time":"2025-11-14T15:55:24+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg","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":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa","datePublished":"2022-05-27T07:00:00+00:00","dateModified":"2025-11-14T15:55:24+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/"},"wordCount":81,"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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/","name":"\u6a5f\u68b0\u5b66\u7fd2\u3001Python\u3001GridDB\u306b\u3088\u308b\u8133\u816b\u760d\u306e\u691c\u51fa | 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\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg","datePublished":"2022-05-27T07:00:00+00:00","dateModified":"2025-11-14T15:55:24+00:00","description":"\u8133\u816b\u760d\u306f\u3001\u60a3\u8005\u3055\u3093\u306b\u6df1\u523b\u306a\u88ab\u5bb3\u3092\u3082\u305f\u3089\u3059\u305f\u3081\u3001\u81e8\u5e8a\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u6700\u3082\u56f0\u96e3\u306a\u75be\u60a3\u306e\u4e00\u3064\u3067\u3059\u3002\u8133\u306f\u4eba\u4f53\u306e\u4e2d\u5fc3\u7684\u306a\u5668\u5b98\u3067\u3042\u308a\u3001\u3053\u306e\u5668\u5b98\u306b\u308f\u305a\u304b\u306a\u969c\u5bb3\u304c\u767a\u751f\u3057\u3066\u3082\u3001\u4eba\u4f53","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/brain-tumor-detection-using-machine-learning-python-and-griddb\/#primaryimage","url":"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg","contentUrl":"\/wp-content\/uploads\/2022\/04\/adult_1920x1280.jpeg","width":1920,"height":1280},{"@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\/50799","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=50799"}],"version-history":[{"count":1,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50799\/revisions"}],"predecessor-version":[{"id":51632,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50799\/revisions\/51632"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media\/49402"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}