genbattle / dkm

A generic C++11 k-means clustering implementation
MIT License
203 stars 46 forks source link

Using std::array forces the dimension of the points to be defined in compile time #23

Open georgeslabreche opened 3 years ago

georgeslabreche commented 3 years ago

Description

I'd like to use dkm in a system that can cluster different data sets that have their own dimensions. This cannot be done dynamically because the size of std::array needs to be defined in compile time.

Proposed Solution

Use std::vector instead of std::array to contain point data.

georgeslabreche commented 3 years ago

Looks like this issue has already been raised here.