K-Means Clustering Animation Reflections
· 2 min read
This post reflects on two animations of the k-means clustering algorithm, which illustrate how the algorithm iteratively assigns data points to clusters and updates cluster centroids.
This post reflects on two animations of the k-means clustering algorithm, which illustrate how the algorithm iteratively assigns data points to clusters and updates cluster centroids.
This portfolio activity calculates the Jaccard coefficient for three pairs of individuals using a small table of pathological test results.
Google Colab notebook: Open in Google Colab
This portfolio activity investigates whether there is a linear relationship between a country's mean population and its mean GDP per capita across the years 2001–2020. The analysis uses two World Bank datasets, global_gdp.csv and global_population.csv, and applies both a Pearson correlation test and a simple linear regression model.