dkm
dkm copied to clipboard
A generic C++11 k-means clustering implementation
Instead of passing `std::vector` I added a new class `as_matrix` that allow passing data with size defined at runtime. The class is only an interface and all operations are read...
This is so the project can be compiled for 32 bit arch.
## 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...
## Description Using fixed width unsigned integer types like `uint8_t`, `uint16_t`, or `uint32_t` causes a compile-time error. ## Example For instance, using `uint8_t` as the array data type: ```cpp array...
## Description The source code should be made citable for academic references: https://guides.github.com/activities/citable-code/ ## Proposed Solution Apply a DOI: >A DOI, or Digital Object Identifier, is a string of numbers,...
I have the case that I sometimes ask for k-means when all input points are identical. Then all distances are zero and thus `std::discrete_distribution` is called with weight vector containing...
JFYI: 1) It won't be able to find opencv out-of-the-box. So you have to put is manually: mkdir build cd build cmake -G"Visual Studio 15 2017 Win64" -DOpenCV_DIR=D:\\opencv\\build ../ 2)...
Hello, Thanks for this useful project. I think I have found a suspiscious behavior, you may be interested:  I have this assert raised in Microsoft Visual Studio 2017 when...
Hi, I was building your library on a 64bit x86 machine with GCC, no issues. Cross-compiling for a 32bit ARM platform however gives a very confusing error: ```bash In file...
Issues (#8 and #11) have been raised about the flexibility of the current `std::vector` pattern used for passing data matrices in and out of this library. A more flexible alternative...