nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.DataMining.Framework / CMeans

CMeans

Full name Microsoft.VisualBasic.DataMining.FuzzyCMeans.CMeans Assembly Microsoft.VisualBasic.DataMining.Framework Members 6

the cmeans algorithm module

Fuzzy clustering (also referred to as soft clustering) is a form of clustering in which each data point can belong to more than one cluster.

Clustering Or cluster analysis involves assigning data points to clusters (also called buckets, bins, Or classes), Or homogeneous classes, such that items in the same class Or cluster are as similar as possible, while items belonging to different classes are as dissimilar as possible. Clusters are identified via similarity measures. These similarity measures include distance, connectivity, And intensity. Different similarity measures may be chosen based on the data Or the application.

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

00 Remarks

Clustering problems have applications in biology, medicine, psychology, economics, and many other disciplines.

Bioinformatics

In the field of bioinformatics, clustering Is used for a number of applications. One use Is as a pattern recognition technique to analyze gene expression data from microarrays Or other technology. In this case, genes with similar expression patterns are grouped into the same cluster, And different clusters display distinct, well-separated patterns of expression. Use of clustering can provide insight into gene function And regulation. Because fuzzy clustering allows genes to belong to more than one cluster, it allows for the identification of genes that are conditionally co-regulated Or co-expressed. For example, one gene may be acted on by more than one Transcription factor, And one gene may encode a protein that has more than one function. Thus, fuzzy clustering Is more appropriate than hard clustering.

01 Syntax

Microsoft.VisualBasic.DataMining.FuzzyCMeans.CMeans

02 Methods

NameOverloadsSummary
cmeans 4 对统一二维表执行模糊 C 均值聚类,硬划分簇编号写入 cluster 标签列, 每一个簇的隶属度写入 membership_i 标签列。 vb Dim result = x.cmeans(c:=9)
scanRow 1
J 1

03 Members

method cmeans #
cmeans(NumericTable, Int32, Double, Double, Int32, Boolean)

对统一二维表执行模糊 C 均值聚类,硬划分簇编号写入 cluster 标签列, 每一个簇的隶属度写入 membership_i 标签列。

 Dim result = x.cmeans(c:=9)
Parameters
NameTypeDescription
sourceNumericTable

经过预处理之后的纯数值二维表

cInt32

簇的数量

mDouble

模糊因子 fuzzification

thresholdDouble

迭代收敛的阈值

maxLoopInt32

最大迭代次数

parallelBoolean

是否使用并行计算更新隶属度矩阵

Returns

写入聚类结果之后的原表对象

method cmeans overload 4 #
cmeans(IEnumerable(Of ClusterEntity), Int32)

Fuzzy clustering (also referred to as soft clustering) is a form of clustering in which each data point can belong to more than one cluster.

method cmeans overload 3 #
cmeans(IEnumerable(Of ClusterEntity), Int32, Double)

Fuzzy clustering (also referred to as soft clustering) is a form of clustering in which each data point can belong to more than one cluster.

method cmeans overload 2 #
cmeans(ClusterEntity(), Int32, Double, Double, Boolean, Int32)

Fuzzy clustering (also referred to as soft clustering) is a form of clustering in which each data point can belong to more than one cluster.

method scanRow #
scanRow(Double()(), ClusterEntity, Int32, Double)
Parameters
NameTypeDescription
centersDouble()()

centers for each cluster

entityClusterEntity

a object entity data vector

classCountInt32

number of the cluster to evaluates

mDouble

fuzzification

Returns

cluster membership vector of current entity object.

method J #
J(Double, Double()(), Double()(), ClusterEntity())
Parameters
NameTypeDescription
mDouble

fuzzification

uDouble()()

-

centersDouble()()

-

entitiesClusterEntity()

-