https://github.com/rexlow/fuzzy-clustering-method
Fuzzy Clustering Method with MATLAB
https://github.com/rexlow/fuzzy-clustering-method
clustering fuzzy-logic
Last synced: 5 months ago
JSON representation
Fuzzy Clustering Method with MATLAB
- Host: GitHub
- URL: https://github.com/rexlow/fuzzy-clustering-method
- Owner: rexlow
- Created: 2017-12-26T07:07:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T07:13:20.000Z (over 8 years ago)
- Last Synced: 2025-01-23T11:23:59.537Z (over 1 year ago)
- Topics: clustering, fuzzy-logic
- Language: Matlab
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Fuzzy Clustering Method
## To run
* Point MATLAB working directory to this folder.
Define two initial cluster centres.
`Cts = [0.5 0.5; 0.8 0.8]`
Define a fuzziness exponent.
`q = 2`
Clustering is now a matter of iteration.
`[Cts, M] = defcm(Cts,q)`
You should see a plot with the data, and a membership matrix on the Matlab command line. Iterate the above command and watch the plot changes. The closer q is to 1, the more crisp the partitions. It cannot be 1, because q-1 occurs in a denominator, but close to 1 is good enough.
For more information, type
`help defcm`