Commit 3aa016b
committed
feat: proposed clustering method and enhance visualizations.
- Updated the pre-commit configuration to enforce stricter type checking with MyPy by adding the '--ignore-missing-imports' and '--strict' flags.
- Modified the pyproject.toml to include new dependencies for HDBSCAN and scikit-learn, enhancing clustering functionality.
- Introduced a new dataset 'blobs_300_4_3_1.0.csv' for clustering experiments, providing a synthetic dataset for testing.
- Added a new Jupyter notebook 'clustering.ipynb' for clustering analysis using Self-Organizing Maps (SOM), demonstrating various clustering methods and visualizations.
- Implemented clustering algorithms in 'torchsom/utils/clustering.py' and integrated them into the SOM class, allowing for flexible clustering options.
- Developed a 'ClusteringVisualizer' class in 'torchsom/visualization/clustering.py' to facilitate the visualization of clustering results, including elbow analysis and silhouette scores.
- Updated existing visualization methods in the SOMVisualizer to incorporate clustering visualizations, improving the overall user experience.1 parent 256ad12 commit 3aa016b
File tree
38 files changed
+2287
-1030
lines changed- data
- notebooks
- results/clustering/blob_300_5_3
- hexagonal
- component_planes
- rectangular
- component_planes
- torchsom
- core
- utils
- visualization
38 files changed
+2287
-1030
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
Large diffs are not rendered by default.
0 commit comments