如何解决八度:“错误:无法用索引矩阵错误:从486行第14列的fitgmdist调用”
我正在尝试使用高斯混合模型将我的数据聚类成八度。首先,我尝试使用八度的fitgmdist
函数使数据适合高斯分布。但是,出现以下错误:
> (error: matrix cannot be indexed with . error:
> called from fitgmdist at line 486 column 14)
无论何时我的源数据大于某个限制。
下面附有我正在使用的代码示例:
clear; close all; clc
pkg load statistics
k = 30; % target number of clusters
X; % X is the input source data to be clustered
X_final = normalize(X); % normalizing the input data
gm = fitgmdist( X_final,k,'start','plus','CovarianceType','diagonal','RegularizationValue',0.0001
);
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。