亚固定
Find cluster centers using subtractive clustering
句法
Description
clusters input data using subtractive clustering with the specified cluster influence range, and returns the computed cluster centers. The减法聚类算法估计输入数据中的簇数。centers
= subclust(data
,,,,clusterInfluenceRange
)
clusters data using algorithm options specified by one or morecenters
= subclust(data
,,,,clusterInfluenceRange
,,,,姓名,,,,Value
)姓名,,,,Value
arguments.
Examples
Input Arguments
输出参数
Tips
To generate a fuzzy inference system using subtractive clustering, use the
genfis
command. For example, suppose you cluster your data using the following syntax:C= subclust(data,clusterInfluenceRange,'DataScale',,,,dataScale,'Options',,,,options);
where the first
m
列data
correspond to input variables, and the remaining columns correspond to output variables.You can generate a fuzzy system using the same training data and subtractive clustering configuration. To do so:
Configure clustering options.
opt = genfisOptions(“减去群集”); opt.ClusterInfluenceRange = clusterInfluenceRange; opt.DataScale = dataScale; opt.SquashFactor = options(1); opt.AcceptRatio = options(2); opt.RejectRatio = options(3); opt.Verbose = options(4);
提取输入和输出变量数据。
inputData = data(:,1:M); outputData = data(:,M+1:end);
生成FIS结构。
FIS= genfis(inputData,outputData,opt);
The fuzzy system,
FIS
,每个集群包含一个模糊规则,每个输入和输出变量每个群集具有一个成员资格功能。您只能使用减法聚类仅生成Sugeno模糊系统。有关更多信息,请参阅genfis
andgenfisOptions
。
Algorithms
减法聚类假设每个数据点都是一个潜在的群集中心。该算法执行以下操作:
Calculate the likelihood that each data point would define a cluster center, based on the density of surrounding data points.
Choose the data point with the highest potential to be the first cluster center.
Remove all data points near the first cluster center. The vicinity is determined using
clusterInfluenceRange
。选择具有最高电位的剩余点作为下一个群集中心。
重复步骤3和4,直到所有数据都在群集中心的影响范围内。
减法聚类方法是提出的山聚类方法的扩展[2]。
References
[[1这是给予的Chiu, S., "Fuzzy Model Identification Based on Cluster Estimation,"智能和模糊系统杂志,卷。2,第3号,1994年9月。
[2] Yager,R。和D. Filev,“通过山区聚类产生模糊规则,”智能和模糊系统杂志,卷。2, No. 3, pp. 209-219, 1994.