I implemented kmeans1d, a Python library for performing k-means clustering on 1D data, based on the algorithm from Xiaolin (1991), as presented by Grønlund et al. (2017, Section 2.2). Globally opti…
I recently implemented kmeans1d—discussed in a prior post—for efficiently performing globally optimal 1D k-means clustering. The implementation utilizes the SMAWK algorithm (Aggarwal et al., 1987),…
32-bit float (no quantization) 8-bit 7-bit 6-bit 5-bit 4-bit 3-bit 2-bit 1-bit I recently implemented pastiche—discussed in a prior post—for applying neural style transfer. I encountered a size lim…