Skip to content

oeg-upm/fcm-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuzzy c-Means Library

Build Status codecov

This project implements Fuzzy c-means from the original paper by James Bezdek.

Advantages of this implementation

  • It is a library that can be easily installed.
  • The use of Eign library for matrices instead of fix n-dimentional arrays which are common in prototyping fuzzy c-means library.
  • The use of dynamic sizes for matrices.
  • Make the FCM as a class, with all the related variables inside, so no need for Global variables and it also allow having multiple instances of FCM.
  • Add automated tests with googletest.
  • Add coverage for the tests.

To Install

make install

To run the tests

make test

To run the tests with Docker

sh scripts/run_tests_with_docker.sh

Dependancies

If you are using ubuntu, there is a helper script sh scripts/setup.sh But we recommend using docker as this script might not be well maintained

Some of the dependancies:

  • eigen3
  • git
  • cmake
  • googletests
  • g++
  • lcov
  • curl