• Philipp Hasper's avatar
    kmeans and one-dimensional vectors · 14c0bfce
    Philipp Hasper authored
    Clustering one-dimensional data was only possible when storing it column-based. But a std::vector is interpreted as matrix with height=1
    Additionally, made conditionals more readable
    14c0bfce
kmeans.cpp 14.7 KB