All Projects β†’ omadson β†’ Fuzzy C Means

omadson / Fuzzy C Means

Licence: mit
A simple python implementation of Fuzzy C-means algorithm.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Fuzzy C Means

Orange3
🍊 πŸ“Š πŸ’‘ Orange: Interactive data analysis
Stars: ✭ 3,152 (+7780%)
Mutual labels:  hacktoberfest, clustering
Matrixprofile
A Python 3 library making time series data mining tasks, utilizing matrix profile algorithms, accessible to everyone.
Stars: ✭ 141 (+252.5%)
Mutual labels:  hacktoberfest, clustering
scikit-cmeans
Flexible, extensible fuzzy c-means clustering in python.
Stars: ✭ 18 (-55%)
Mutual labels:  clustering, fuzzy
Isee
R/shiny interface for interactive visualization of data in SummarizedExperiment objects
Stars: ✭ 155 (+287.5%)
Mutual labels:  hacktoberfest, clustering
Hazelcast
Open-source distributed computation and storage platform
Stars: ✭ 4,662 (+11555%)
Mutual labels:  hacktoberfest, clustering
Blaze
⚑ File sharing progressive web app built using WebTorrent and WebSockets
Stars: ✭ 991 (+2377.5%)
Mutual labels:  hacktoberfest
Spreed
πŸ“žπŸ˜€ Nextcloud Talk – chat, video & audio calls for Nextcloud
Stars: ✭ 994 (+2385%)
Mutual labels:  hacktoberfest
Yii Queue
Queue extension for Yii 3.0
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Keycloak Admin Ui
Keycloak Admin Console
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Code problems
Code Problems from LeetCode website and other fun code problems websites. The goal is to help people studying for coding interviews.
Stars: ✭ 40 (+0%)
Mutual labels:  hacktoberfest
Axios Module
Secure and easy axios integration with Nuxt.js
Stars: ✭ 998 (+2395%)
Mutual labels:  hacktoberfest
Dbdpg
Perl Postgres driver DBD::Pg aka dbdpg
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Swamp
Teh AWS profile manager
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Twitch Giphy
Um chatbot para Twitch que integra a API do GIPHY, fazendo com que hashtags no chat da Twitch virem GIFs na Live :)
Stars: ✭ 39 (-2.5%)
Mutual labels:  hacktoberfest
Be Pretty
πŸ’„ a small CLI utility for every lazy prettier maximalist out there
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Linuxbrew Core
🍻🐧 Core formulae for the Homebrew package manager on Linux
Stars: ✭ 999 (+2397.5%)
Mutual labels:  hacktoberfest
Rw.rs
Free shell account and web 1.0 hosting @ http://rw.rs/~you
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Mg
Minimal UI library based on relm (GTK+), written in Rust.
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest
Fbchat
Facebook Chat (Messenger) for Python
Stars: ✭ 995 (+2387.5%)
Mutual labels:  hacktoberfest
Mvp
PowerShell Module to interact with the Microsoft MVP API
Stars: ✭ 38 (-5%)
Mutual labels:  hacktoberfest

fuzzy-c-means

GitHub PyPI GitHub commit activity GitHub last commit Downloads DOI

fuzzy-c-means is a Python module implementing the Fuzzy C-means clustering algorithm.

instalation

the fuzzy-c-means package is available in PyPI. to install, simply type the following command:

pip install fuzzy-c-means

basic clustering example

simple example of use the fuzzy-c-means to cluster a dataset in two groups:

importing libraries

%matplotlib inline
import numpy as np
from fcmeans import FCM
from matplotlib import pyplot as plt

creating artificial data set

n_samples = 3000

X = np.concatenate((
    np.random.normal((-2, -2), size=(n_samples, 2)),
    np.random.normal((2, 2), size=(n_samples, 2))
))

fitting the fuzzy-c-means

fcm = FCM(n_clusters=2)
fcm.fit(X)

showing results

# outputs
fcm_centers = fcm.centers
fcm_labels = fcm.predict(X)

# plot result
f, axes = plt.subplots(1, 2, figsize=(11,5))
axes[0].scatter(X[:,0], X[:,1], alpha=.1)
axes[1].scatter(X[:,0], X[:,1], c=fcm_labels, alpha=.1)
axes[1].scatter(fcm_centers[:,0], fcm_centers[:,1], marker="+", s=500, c='w')
plt.savefig('images/basic-clustering-output.jpg')
plt.show()

to more examples, see the examples/ folder.

how to cite fuzzy-c-means package

if you use fuzzy-c-means package in your paper, please cite it in your publication.

@software{dias2019fuzzy,
  author       = {Madson Luiz Dantas Dias},
  title        = {fuzzy-c-means: An implementation of Fuzzy $C$-means clustering algorithm.},
  month        = may,
  year         = 2019,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.3066222},
  url          = {https://git.io/fuzzy-c-means}
}

citations

contributing

this project is open for contributions. here are some of the ways for you to contribute:

  • bug reports/fix
  • features requests
  • use-case demonstrations

to make a contribution, just fork this repository, push the changes in your fork, open up an issue, and make a pull request!

contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].