Skip to content

Commit daaa6c2

Browse files
committed
Refactor SOM visualizations and update results paths
- Changed the topology parameter from rectangular to hexagonal in energy efficiency and wine notebooks to enhance model performance. - Updated save paths for visualizations in all notebooks to include the topology type, ensuring organized output. - Improved training output logs for Boston housing, energy efficiency, iris, and wine datasets, reflecting more accurate training times and metrics. - Deleted outdated result images for Boston and energy datasets, and added new hexagonal topology images for better clarity in results. - Introduced new classification and distance maps for iris and wine datasets under hexagonal topology, enhancing visualization capabilities.
1 parent a52e0ae commit daaa6c2

File tree

148 files changed

+24
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+24
-24
lines changed

notebooks/boston_housing.ipynb

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

notebooks/energy_efficiency.ipynb

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

notebooks/iris.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
"name": "stderr",
443443
"output_type": "stream",
444444
"text": [
445-
"Training SOM: 100%|██████████| 100/100 [00:09<00:00, 10.95epoch/s]\n"
445+
"Training SOM: 100%|██████████| 100/100 [00:16<00:00, 6.22epoch/s]\n"
446446
]
447447
}
448448
],
@@ -459,7 +459,7 @@
459459
"outputs": [],
460460
"source": [
461461
"visualizer = SOMVisualizer(som=som, config=None)\n",
462-
"save_path = \"results/iris\" # Set to None if you want a direct plot"
462+
"save_path = f\"results/iris/{som.topology}\" # Set to None if you want a direct plot"
463463
]
464464
},
465465
{
-157 KB
Binary file not shown.
1.3 MB
1.37 MB
1.1 MB
1.15 MB
1.28 MB
1.26 MB

0 commit comments

Comments
 (0)