how to get data covariance matrix: http://stattrek.com/matrix-algebra/covariance-matrix.aspx meaning of eigen values of covariance matrix: https://www.quora.com/What-is-an-eigenvector-of-a-covariance-matrix…
A geometric interpretation of the covariance matrix Contents [hide] 1 Introduction 2 Eigendecomposition of a covariance matrix 3 Covariance matrix as a linear transformation 4 Conclusion Introduction In this article, we provide an intuitive, geometri…
What is an eigenvector of a covariance matrix? One of the most intuitive explanations of eigenvectors of a covariance matrix is that they are the directions in which the data varies the most. (More precisely, the first eigenvector is the direction in…
https://www.jianshu.com/p/e1c8270477bc?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation 三个式子分别表示了样本的平均值.样本方差无偏估计值.样本协方差的无偏估计值,如果把S.C中的N-1换做N就成了表示方差与协方差了. 函数名称:cov函数功能: 求协方差矩阵函数用法: cov(X)  % cov(X,0) = cov(…
covariance, co本能的想到双变量,用于描述两个变量之间的关系. correlation,相关性,covariance标准化后就是correlation. covariance的定义: 期望,实例减去均值,积 covariance matrix也就是相关性矩阵的原始形式,描述了一群变量之间的相互关系 一下是一个例子: For eg here’s an example : Covariance matrix is of dimension #cols * #cols, diagonal…
图Lasso求逆协方差矩阵(Graphical Lasso for inverse covariance matrix) 作者:凯鲁嘎吉 - 博客园 http://www.cnblogs.com/kailugaji/ 1. 图Lasso方法的基本理论 2. 坐标下降算法 3. 图Lasso算法 4. MATLAB程序 数据见参考文献[2] 4.1 方法一 demo.m load SP500 data = normlization(data); S = cov(data); %样本协方差 [X,…
个人心得:其实本来这题是有规律的不过当时已经将整个模拟过程都构思出来了,就打算试试,将每个字符和总和用优先队列 装起来,然后枚举每个点,同时进行位置标志,此时需要多少个点的时候拿出最大的和出来,若不满足就输出No,结果一直卡在三组 数据.比赛完后一想,优先队列虽然用处大,不过当行列存在奇数的时候此时只要2个就可以,而如果你从最大的4个中拿出来, 那么下一层循环中必然有一个位置无法填充,如此就导致了算法的失败.所以后面建立个奇偶判定就好了. 感悟: 多注意思考和细节,从不同的层次看待问题,既可以全…
1.样本矩阵 如果是一个随机变量,那么它的样本值可以用一个向量表示.相对的,如果针对一个随机向量,那么就需要利用矩阵表示,因为向量中的每一个变量的采样值,都可以利用一个向量表示. 然后,一个矩阵可以利用行向量组与列向量组进行表示. 2.数学期望和方差的定义 3.协方差的定义式 4.协方差矩阵的定义 参考:http://blog.csdn.net/itplus/article/details/11452743…
深度学习课程笔记(十二) Matrix Capsule with EM Routing  2018-02-02  21:21:09  Paper: https://openreview.net/pdf/99b7cb0c78706ad8e91c13a2242bb15b7de325ad.pdf  Blog: https://jhui.github.io/2017/11/14/Matrix-Capsules-with-EM-routing-Capsule-Network/  [Abstract] 一个…
http://www.mathworks.com/matlabcentral/answers/100210-why-do-i-receive-an-error-while-trying-to-generate-the-gaussian-mixture-parameter-estimates-from-a-d http://www.cnblogs.com/tadoo/archive/2011/06/01/2065244.html Error using gmcluster (line 180)Il…