fuzzyclust.cluster.quadratic_memberships#
- fuzzyclust.cluster.quadratic_memberships(d2, lam)[source]#
Memberships of the quadratically regularized c-means (Miyamoto & Umayahara).
Minimizes \(\sum_i\mu_i D^2_i+\lambda\sum_i\mu_i^2\) over the simplex. For the set \(A_k\) of clusters with positive membership,
\[\mu_{ik}=\frac{1}{|A_k|}\Bigl(1+\frac{1}{2\lambda}\sum_{j\in A_k}(D^2_{jk}-D^2_{ik})\Bigr),\]and \(\mu_{ik}=0\) otherwise; \(A_k\) consists of the \(\hat c_k\) nearest prototypes, where \(\hat c_k\) is the largest number for which the formula is positive. This is the Euclidean projection of \(-\mathbf{D}^2_{\cdot k}/(2\lambda)\) onto the simplex.
Examples using fuzzyclust.cluster.quadratic_memberships#
What makes a partition fuzzy: fuzzifiers, regularization, and annealing
What makes a partition fuzzy: fuzzifiers, regularization, and annealing