fuzzyclust.cluster.polynomial_memberships#

fuzzyclust.cluster.polynomial_memberships(d2, beta)[source]#

Memberships of fuzzy c-means with the polynomial fuzzifier (Klawonn & Höppner).

For the set \(A_k\) of the \(\hat c_k\) nearest prototypes,

\[\mu_{ik}=\frac{1}{1-\beta}\left(\frac{1+(\hat c_k-1)\beta} {\sum_{j\in A_k}D^2_{ik}/D^2_{jk}}-\beta\right),\]

and \(\mu_{ik}=0\) for the remaining clusters; \(\hat c_k\) is the largest number of nearest prototypes for which the formula is positive for all of them. beta=0 gives the FCM memberships with \(m=2\).

Parameters:
d2ndarray of shape (n_samples, n_clusters)
betafloat

Fuzzifier parameter \(0\le\beta<1\).

Examples using fuzzyclust.cluster.polynomial_memberships#

What makes a partition fuzzy: fuzzifiers, regularization, and annealing

What makes a partition fuzzy: fuzzifiers, regularization, and annealing