Machine Learning, Artificial Intelligence, Technology, Python, Data Science.
coherent the different clusters are or how pure they are. Inertia can be described as follows: where N is the number of samples within the data set, C is the centre of a cluster, k is the cluster index. So, the Inertia simply computes the squared distance of each sample in a cluster to its cluster