Skip to content

Gaussian Mixture Model Implementation from scratch in C++

License

Notifications You must be signed in to change notification settings

koba-jon/gmm_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GMM C++ Samples

This is a sample program of Gaussian Mixture Model from scratch in C++.

1. Requirement

Boost

This is used for command line arguments, etc.

$ sudo apt install libboost-dev libboost-all-dev

2. Preparation

Git Clone

$ git clone https://github.com/koba-jon/gmm_cpp.git
$ cd gmm_cpp

3. Usage

3.1. Build

Please build the source file according to the procedure.

$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ..

3.2. Dataset Setting

The following hierarchical relationships are recommended. dataset

3.3. Execution

The following is an example for Toy Dataset.

Setting

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

Run

Please execute the following to start the program.

$ sh scripts/toy.sh

4. License

This repository: MIT License

3rd-Party Libraries

References

About

Gaussian Mixture Model Implementation from scratch in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published