diff --git a/HospitalCancerClassification.ipynb b/HospitalCancerClassification.ipynb index cc15719..bc9edba 100644 --- a/HospitalCancerClassification.ipynb +++ b/HospitalCancerClassification.ipynb @@ -34,7 +34,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 53, "id": "1092545b-8be3-487b-87df-d8829e0a00eb", "metadata": {}, "outputs": [], @@ -45,12 +45,13 @@ "import pandas as pd\n", "import sklearn # importing the scikit-learn project, different name due to syntax rules \n", "import scipy\n", - "import threadpoolctl" + "import threadpoolctl\n", + "import matplotlib" ] }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "3a05014a-200c-4bc6-9667-568898547852", "metadata": {}, "outputs": [], @@ -71,7 +72,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "id": "10d93e7f-9ba8-45a4-831d-7ba48046fea7", "metadata": {}, "outputs": [ @@ -81,7 +82,7 @@ "np.int64(10)" ] }, - "execution_count": 4, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -127,7 +128,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "id": "a8887198-0dbd-471d-bd1e-836d34def83a", "metadata": {}, "outputs": [ @@ -195,7 +196,7 @@ "4 60 55-64" ] }, - "execution_count": 6, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -224,7 +225,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 15, "id": "f9beff06-ce08-479d-b63d-56ca8aaf6338", "metadata": {}, "outputs": [ @@ -256,43 +257,43 @@ "
\n", "MLPClassifier(hidden_layer_sizes=(64, 32), max_iter=300, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
MLPClassifier(hidden_layer_sizes=(64, 32), max_iter=300, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
MLPClassifier(hidden_layer_sizes=(128, 64), max_iter=500, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.