This is a sample program of Gaussian Mixture Model from scratch in C++.
This is used for command line arguments, etc.
$ sudo apt install libboost-dev libboost-all-dev
$ git clone https://github.com/koba-jon/gmm_cpp.git
$ cd gmm_cpp
Please build the source file according to the procedure.
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ..
The following hierarchical relationships are recommended.
The following is an example for Toy Dataset.
Please set the shell for executable file.
$ vi scripts/toy.sh
If you want to view specific examples of command line arguments, please view "src/main.cpp" or add "--help" to the argument.
#!/bin/bash
DATA='toy'
./GMM \
--dataset ${DATA} \
--D 3 \
--K 8
Please execute the following to start the program.
$ sh scripts/toy.sh
This repository: MIT License
- Boost
Official : https://www.boost.org/
License : https://www.boost.org/users/license.html