Relative Content

Tag Archive for pythonnumpydata-analysisk-means

Dunn index and inertia in kmeans algorithm

I have code which runs a KMeans algorithm on some data but i need it to now calculate the Dunn index and inertia for it but since the restrictions to this program is numpy, matplotlib and csv, no video online shows how to calculate the Dunn index with just these couple libraries, i am not very fond of math so implementing the actual math into the code is just too hard for me…