Kmeans is a compact clustering repo that combines a from-scratch Python implementation with notebook-based experiments in unsupervised learning and image segmentation.
Those notebook links are the fastest way to review or run the project from any computer without local setup.
kmeans.pyfrom-scratch K-means implementationkmeans.ipynbnotebook exploration of clustering behaviorimage_segmentation.ipynbimage segmentation experiment using clustering
- unsupervised learning fundamentals
- practical clustering workflows
- image segmentation with K-means
- translating algorithm concepts into working Python code
pip install numpy matplotlib scikit-learn jupyterlab
jupyter notebookThen open either notebook, or inspect kmeans.py directly.
This is a lightweight learning and experimentation repo rather than a production application. It is best experienced through the notebooks above.