diff --git a/notebooks/SDGnE_Comparison_Notebook.ipynb b/notebooks/SDGnE_Comparison_Notebook.ipynb
index 76bdcd8..708831a 100644
--- a/notebooks/SDGnE_Comparison_Notebook.ipynb
+++ b/notebooks/SDGnE_Comparison_Notebook.ipynb
@@ -133,7 +133,7 @@
"height": 235
},
"id": "clGjRnHEafnD",
- "outputId": "69b6b902-b24f-4b59-f5b2-3354213d7c9f"
+ "outputId": "3b8efbe0-9a8a-4b76-c89a-27b96b343d0b"
},
"outputs": [
{
@@ -165,7 +165,7 @@
],
"text/html": [
"\n",
- "
\n",
+ "
\n",
"
\n",
"\n",
- "
\n",
+ "\n",
" \n",
" \n",
- " Class | \n",
- " Sample_Count | \n",
+ " Class | \n",
+ " Sample_Count | \n",
"
\n",
" \n",
" \n",
" \n",
- " 1 | \n",
- " 2925 | \n",
+ " 1 | \n",
+ " 2925 | \n",
"
\n",
" \n",
- " 0 | \n",
- " 1137 | \n",
+ " 0 | \n",
+ " 1137 | \n",
"
\n",
" \n",
"
\n"
@@ -703,14 +703,14 @@
},
{
"cell_type": "code",
- "execution_count": 8,
+ "execution_count": 18,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 129
},
"id": "GIGSm-GAcmCR",
- "outputId": "feb948fc-0b3e-4045-ec82-d43341b4b6b3"
+ "outputId": "45497d8b-35f3-4c7a-f120-7699fc2794fd"
},
"outputs": [
{
@@ -724,46 +724,93 @@
"output_type": "execute_result",
"data": {
"text/plain": [
- ""
+ ""
],
"text/html": [
"\n",
- "\n",
+ "\n",
" \n",
" \n",
- " Class | \n",
- " Sample_Count | \n",
+ " Class | \n",
+ " Sample_Count | \n",
"
\n",
" \n",
" \n",
" \n",
- " 1 | \n",
- " 2925 | \n",
+ " 0 | \n",
+ " 2925 | \n",
"
\n",
" \n",
- " 0 | \n",
- " 1137 | \n",
+ " 1 | \n",
+ " 2925 | \n",
"
\n",
" \n",
"
\n"
]
},
"metadata": {},
- "execution_count": 8
+ "execution_count": 18
}
],
"source": [
"print('Balanced Ratio:')\n",
"class_counts1 = autoencoder_synthesized_data['class'].value_counts()\n",
- "class_counts_table1 = class_counts.reset_index()\n",
+ "class_counts_table1 = class_counts1.reset_index()\n",
"class_counts_table1.columns = ['Class', 'Sample_Count']\n",
- "class_counts_table1.style.hide(axis=\"index\")\n",
- "\n",
+ "class_counts_table1.style.hide(axis=\"index\")\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "source": [
"class_counts2 = smote_synthesized_data['class'].value_counts()\n",
- "class_counts_table2 = class_counts.reset_index()\n",
+ "class_counts_table2 = class_counts2.reset_index()\n",
"class_counts_table2.columns = ['Class', 'Sample_Count']\n",
"class_counts_table2.style.hide(axis=\"index\")"
+ ],
+ "metadata": {
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 112
+ },
+ "id": "lZBiT7XZsQdO",
+ "outputId": "64b1a98f-c510-42f5-de03-37707c555588"
+ },
+ "execution_count": 19,
+ "outputs": [
+ {
+ "output_type": "execute_result",
+ "data": {
+ "text/plain": [
+ ""
+ ],
+ "text/html": [
+ "\n",
+ "\n",
+ " \n",
+ " \n",
+ " Class | \n",
+ " Sample_Count | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0.000000 | \n",
+ " 2925 | \n",
+ "
\n",
+ " \n",
+ " 1.000000 | \n",
+ " 2925 | \n",
+ "
\n",
+ " \n",
+ "
\n"
+ ]
+ },
+ "metadata": {},
+ "execution_count": 19
+ }
]
},
{
@@ -859,7 +906,7 @@
"base_uri": "https://localhost:8080/"
},
"id": "NKZwxP1Jim6H",
- "outputId": "4f75439b-2f30-4d71-d433-8525358d91ac"
+ "outputId": "a929ded0-0cef-4c98-f96f-077b92e26b93"
},
"outputs": [
{
@@ -869,7 +916,7 @@
"Algorithm Average Deviation\n",
"----------- -------------------\n",
"Autoencoder 0.209316\n",
- "SMOTE 0.214859\n"
+ "SMOTE 0.21362\n"
]
}
],
@@ -904,7 +951,7 @@
"base_uri": "https://localhost:8080/"
},
"id": "s_ygOQ0ild9O",
- "outputId": "c250f9e1-c852-4ba6-e080-ab05d8ea2555"
+ "outputId": "d2433dfc-e56f-4640-c2eb-cbe6891816f7"
},
"outputs": [
{
@@ -914,7 +961,7 @@
"Algorithm % Change\n",
"----------- ----------\n",
"Autoencoder -0.61%\n",
- "SMOTE -0.30%\n"
+ "SMOTE -0.18%\n"
]
}
],
@@ -965,7 +1012,7 @@
"height": 959
},
"id": "l3El3HRyjb5x",
- "outputId": "6b982682-4276-4b5b-e3d4-1e4c5c48e677"
+ "outputId": "36740c39-a5dd-43d0-f18f-05391ce6909d"
},
"outputs": [
{
@@ -992,7 +1039,7 @@
"height": 959
},
"id": "7M34xKwH2u7M",
- "outputId": "39d4ef9e-d963-427c-f80e-f6e0ac7bff03"
+ "outputId": "fec693fa-ac99-4b88-92c4-920b35159d7e"
},
"outputs": [
{
@@ -1001,7 +1048,7 @@
"text/plain": [
"