diff --git "a/MiMIC_analysis_code.ipynb" "b/MiMIC_analysis_code.ipynb" --- "a/MiMIC_analysis_code.ipynb" +++ "b/MiMIC_analysis_code.ipynb" @@ -3,7 +3,8 @@ "nbformat_minor": 0, "metadata": { "colab": { - "provenance": [] + "provenance": [], + "toc_visible": true }, "kernelspec": { "name": "python3", @@ -24,15 +25,15 @@ "base_uri": "https://localhost:8080/" }, "id": "vVD1FYhGf4un", - "outputId": "7c9c7e64-6dee-4351-b9c5-9c0e2cddd225" + "outputId": "ec1d8e56-24ac-4218-a76d-d7ebfc445c61" }, - "execution_count": 3, + "execution_count": 1, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m265.9/265.9 MB\u001b[0m \u001b[31m5.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m265.9/265.9 MB\u001b[0m \u001b[31m5.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h" ] } @@ -40,7 +41,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 2, "metadata": { "id": "RhhfAVj2evwW" }, @@ -48,7 +49,7 @@ "source": [ "import pandas as pd\n", "import numpy as np\n", - "from sklearn.metrics import mean_absolute_error\n", + "from sklearn.metrics import mean_absolute_error, mean_absolute_percentage_error\n", "import os\n", "import pickle\n", "\n", @@ -65,7 +66,7 @@ "metadata": { "id": "gdViY9EHjSIa" }, - "execution_count": 5, + "execution_count": 3, "outputs": [] }, { @@ -76,7 +77,7 @@ "metadata": { "id": "Ei8yV-pMgi1p" }, - "execution_count": 6, + "execution_count": 4, "outputs": [] }, { @@ -88,12 +89,12 @@ "metadata": { "colab": { "base_uri": "https://localhost:8080/", - "height": 541 + "height": 542 }, "id": "GUZ9TU6ygkS0", - "outputId": "d5e6b52e-8c08-41b0-f5d4-cab6d53f2441" + "outputId": "60b7fc5f-d220-4373-9cd0-bdca505a4c62" }, - "execution_count": 7, + "execution_count": 5, "outputs": [ { "output_type": "stream", @@ -103,9 +104,9 @@ "Attempting to start a local H2O server...\n", " Java Version: openjdk version \"11.0.26\" 2025-01-21; OpenJDK Runtime Environment (build 11.0.26+4-post-Ubuntu-1ubuntu122.04); OpenJDK 64-Bit Server VM (build 11.0.26+4-post-Ubuntu-1ubuntu122.04, mixed mode, sharing)\n", " Starting server from /usr/local/lib/python3.11/dist-packages/h2o/backend/bin/h2o.jar\n", - " Ice root: /tmp/tmpl0jbddp_\n", - " JVM stdout: /tmp/tmpl0jbddp_/h2o_unknownUser_started_from_python.out\n", - " JVM stderr: /tmp/tmpl0jbddp_/h2o_unknownUser_started_from_python.err\n", + " Ice root: /tmp/tmpr3sbymez\n", + " JVM stdout: /tmp/tmpr3sbymez/h2o_unknownUser_started_from_python.out\n", + " JVM stderr: /tmp/tmpr3sbymez/h2o_unknownUser_started_from_python.err\n", " Server is running at http://127.0.0.1:54321\n", "Connecting to H2O server at http://127.0.0.1:54321 ... successful.\n" ] @@ -120,7 +121,7 @@ "H2O_data_parsing_timezone: UTC\n", "H2O_cluster_version: 3.46.0.7\n", "H2O_cluster_version_age: 12 days\n", - "H2O_cluster_name: H2O_from_python_unknownUser_jbqn49\n", + "H2O_cluster_name: H2O_from_python_unknownUser_wkm3dv\n", "H2O_cluster_total_nodes: 1\n", "H2O_cluster_free_memory: 3.170 Gb\n", "H2O_cluster_total_cores: 2\n", @@ -186,7 +187,7 @@ "