This is the first public release of the LRE (Linear Reference Elbow) method for determining the optimal number of clusters in K-Means.
📦 Included in this release:
lre.py— modular Python implementation of LREKMeans_LRE.ipynb— notebook demo using Iris and a synthetic 2000 (uniformly and normally) distributions datasetrequirements.txt— installation dependenciesLICENSE— MIT license for open useREADME.md— usage guide and citation info
🔖 Developed as part of research presented in:
Yusuf, A. (2025). Computational Implementation of Linear Reference Elbow (LRE) Method for Optimal Cluster Determination in K-Means Algorithm, IOP Conference Series.