ifcm: Intuitionistic Fuzzy C-Means Clustering

Description Usage Arguments Details Value Author(s) References Examples

View source: R/ifcm.R

Description

Intuitionistic fuzzy c-means clustering algorithm is an extension of fuzzy c-means clustering algorithm.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ifcm(
  x,
  c,
  m = 2,
  alpha = 0.85,
  maxitr = 100,
  epsilon = 0.03,
  fgen = c("Yager", "Sugeno"),
  lambda = 2,
  verbose = FALSE,
  standardize = TRUE
)

Arguments

x

The data matrix where columns correspond to variables and rows to observations.

c

Number of clusters

m

A number greater than 1 giving the degree of fuzzification.

alpha

degree of hesitation

maxitr

Maximum number of iterations.

epsilon

Error value

fgen

The type of intuitionistic fuzzy generator. Yager or Sugeno type fuzzy generators can be selected. (Default="Yager")

lambda

The constant

verbose

If TRUE, make some output during learning.

standardize

If TRUE the data matrix is standardized. If variables are in the same units already, you might not wish to standardize. Default is standardize=TRUE.

Details

The data given by x is clustered by generalized versions of the fuzzy c-means algorithm, If verbose is TRUE, each iteration displays its number and the value of the objective function. The parameters m defines the degree of fuzzification. It is defined for real values greater than 1 and the bigger it is the more fuzzy the membership values of the clustered data points are.

Value

An object of class "ifcm" which is a list with components:

membership

a matrix with the membership values of the data points to the clusters.

hesitation

a matrix with the hesitation values of the data points to the clusters.

nonmembership

a matrix with the nonmembership values of the data points to the clusters.

centers

the final cluster centers.

hardcluster

the hardclustering results

Author(s)

Erol Egrioglu, Eren Bas and Busenur Kizilaslan
Maintainer: Busenur Kizilaslan busenur.sarica@gmail.com

References


Examples

1
ifcm(mtcars$mpg,2)

busenurk/rinfis documentation built on Dec. 19, 2021, 12:46 p.m.