kmeans1d
kmeans1d copied to clipboard
The space complexity can be reduced from O(kn) to O(n) with Hirschberg method
Details are in section 3 of (Grønlund et al., 2017).