Skip to content

Classification based on Fuzzy Logic(C-Means) - Computational Intelligence Course 2nd Project

License

Notifications You must be signed in to change notification settings

arminZolfaghari/CMeans_fuzzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


CMeans_fuzzy

Classification based on Fuzzy Logic(C-Means).

Table of Contents
  1. About The Project
  2. Getting Started
  3. Sample Of Output
  4. Contributing
  5. License
  6. Contact

About The Project

Computational Intelligence Course 2nd Project: In this project the Fuzzy version of K-Means algorithm is implemented. Each datapoint isn't forced to belong only to a specific cluster, but can belong to clusters to Verying Degrees. Thats difference between Fuzzy Clustering and Normal Clustering.

(back to top)


Fuzzy CMeans Algorithm:

  1. Determine the number of clusters, then Generate the centroid of clusters randomly.
  2. Finding each data point belongs to which cluster (or clusters).
  3. Updating new centroid of clusters based on datapoints in the cluster.
  4. Repeat steps 2 and 3 until each cluster reaches stability.

(back to top)


Built With

(back to top)


Getting Started

Installation

  1. Clone the repository
   git clone https://github.com/arminZolfaghari/CMeans_fuzzy.git
  1. Run CMeans.py with python CMeans.py

(back to top)


Sample Of Output

Normal Clustering

alt text

Fuzzy Clustering

alt text

(back to top)


Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)


License

Distributed under the MIT License. See LICENSE for more information.

(back to top)


Contact

Armin Zolfaghari Daryani - arminzolfagharid@gmail.com
Project Link: https://github.com/arminZolfaghari/CMeans_fuzzy

(back to top)

About

Classification based on Fuzzy Logic(C-Means) - Computational Intelligence Course 2nd Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages