我是靠谱客的博主 耍酷台灯,这篇文章主要介绍Matlab高斯混合模型报错:Undefined function 'fitgmdist' for input arguments of type 'struct',现在分享给大家,希望可以做个参考。
工作环境(蓝色粗体字为特别注意内容)
1,软件环境:Windows 7 Ultimate sp1、matlabR2012b 32bit
2,参考文献:①https://jp.mathworks.com/products/statistics.html②https://blog.csdn.net/zhansama/article/details/82745128
Matlab2012b中使用高斯混合模型报错:
gm = fitgmdist(X,2,'Options',options)
Undefined function 'fitgmdist' for input arguments of type 'struct'.
了解相关信息,发现fitgmdist函数是Statistics and Machine Learning Toolbox工具箱中的东西,一筹莫展之际,看到了参考文献②,于是将高斯混合模型改为:
gm=gmdistribution.fit(X,2,'Covtype','Diagonal','Regularize',1e-10,'Options',options);
顺利执行。
最后
以上就是耍酷台灯最近收集整理的关于Matlab高斯混合模型报错:Undefined function 'fitgmdist' for input arguments of type 'struct'的全部内容,更多相关Matlab高斯混合模型报错:Undefined内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复