Machine Learning, Artificial Intelligence, Technology, Python, Data Science.
centre and sums them up. Then we can calculate the inertia for different number of clusters K, and we plot this as in the following figure where we consider K = 1,2,….,10. Then from thee graph we can select the K corresponding to the Inertia where the elbow occurs. In this case, K = 3 where Elbow