Questions tagged [fuzzy-c-means]

Fuzzy clustering algorithms are used in cluster analysis which is "fuzzy" in the same sense as fuzzy logic.

https://en.wikipedia.org/wiki/Fuzzy_clustering

44 questions
0
votes
0 answers

Matlab Fuzzy c means always gives same index majority ownership

when ever I run fcm on a color mri to segement it into clusters it always gives like .95 ownership to the same index in every column %img is a pre read image file I use jpg and k is number of clusters function findTumor(img,k) …
0
votes
1 answer

Cluster centres with wrong dimentions in skfuzzy C mean clustering

Hello I have written below simple code to explore the Fuzzy Cmean clustering import pandas as pd import numpy as np from os import listdir from sklearn.model_selection import train_test_split from skfuzzy.cluster import cmeans, cmeans_predict from…
Katiyman
  • 827
  • 2
  • 12
  • 32
0
votes
0 answers

Visualizing a clustering result with matplotlib

I ran a fuzzy c-means clustering algorithm on a dataset of size (11464, 2622) with 10 clusters and that yields a (10, 11464) size centers with Final fuzzy c-partitioned matrix of size (10, 2622). My challenge is how to plot assigned clusters, for…
Jeremiah
  • 324
  • 3
  • 13
0
votes
1 answer

How to apply Matlab Fuzzy C-means (fcm) output for image segmentation

I have a 2D grayscale image (= data) which I am trying to segment using fcm.m: Nc=2; %number of clusters is 2 [centers,U] = fcm(data,Nc); How do I apply the output of fcm.m to segment the original image. I cannot find a worked example online.
2one
  • 1,035
  • 3
  • 17
  • 36
0
votes
1 answer

How to disable logging for MATLAB's fuzzy c-means clustering?

I work with fcm in MATLAB. I need to turn off logging in command windows. What is the best way to accomplish this? For example, when I run the command I get the following printed to the MATLAB command window >> fcm(dok, 7) Iteration count = 1, obj.…
0
votes
1 answer

Audio segmentantion

What I am trying to do is to "separate" vowels from consonants from an audio file (wav file). For example, a file would be this sentence: "I am fine" and I have to separate the vowel sounds from the consonants one. After the "separation", I can…
Lerul Ler
  • 339
  • 7
  • 21
0
votes
2 answers

ImportError: No module named bitarray

I am trying to implement fuzzy c means algorithm in Python..I have used the builtin function to do the same in Matlab.I would like to know whether there is any such simple method in Python also.I tried…
puja
  • 47
  • 1
  • 2
  • 10
0
votes
1 answer

R: Mahalanobis implementation in cmeans [e1071]

I was just wondering if there is a way in cmeans function [in package e1071] to perform the clustering using the Mahalanobis distance? Many thanks
ERE
  • 1
  • 1
0
votes
1 answer

Brain MRI Segmentation Using FCM (Labeling)

I am doing Brain MRI segmentation using Fuzzy C-Means, The volume image is n slices, and I apply the FCM for each slice, the output is 4 labels per image (Gray Matter, White Matter, CSF and the background), how I can give the same label (Color) for…
0
votes
2 answers

Finding those pixels that meet a specific criterion

Attached is an image of cameraman.tif that comes with matlab but after applying [fuzzy c-means] 1 Also, as an output from the algorithm is u2 (degree of membership of a pixel). See matlab.mat for this data. What I want to do is select the pixel(s)…
Simplicity
  • 47,404
  • 98
  • 256
  • 385
-1
votes
1 answer

Representing the result in grayscale

I'm working with this script. The issue is that the result is coloured and I want it in grayscale, but couldn't figure what to change in the script to do that. Do you know what changes I should perform to get the result as grayscale? Thanks.
Simplicity
  • 47,404
  • 98
  • 256
  • 385
-2
votes
1 answer

Jobs matching using fuzzy c-means and artificial bee colony algorithm

I have to cluster a list of jobs using fuzzy c-means optimized by the ABC Algorithm. any example of applying those algorithm together ?? thank you very much in advance for helping ...
Mariya
  • 847
  • 1
  • 9
  • 25
-2
votes
2 answers

error: not found: value RANDOM

I am trying to run Fuzzy C Means algorithm in Spark using Scala I'm following below link for this: https://github.com/acflorea/fuzzyCMeans Click below to see screenshot of the error which I am receiving Error Screenshot: I am have used sbt then…
1 2
3