参考文献:Learning Multiple Layers of Features from Tiny Images:附录
设数据集 X 的维数为 d×n ,且已经中心化
则协方差矩阵为
1/(n-1)*X*X'
我们想让这n个d维向量中任意两维都不相关,则假定去相关矩阵为W
Y = W*X
为了使W达到去相关的目的,Y*Y‘必须是对角阵,可以进一步约束Y满足
Y * Y’ = (n...
分类:
其他好文 时间:
2014-08-04 11:06:27
阅读次数:
403
题目链接:uva 11256 - Repetitive
Multiple
题目大意:给定一个数n,要求找到最小的k,使得k?n为题目中定义的重复数字.
解题思路:枚举k?n的循环节长度,比如当前枚举为2,那么一次判断u=1001,1001001,1001001001
...,取d = gcd(n,u), 那么k = u / d, a = n / d (因为n?k=u?a)并且保...
分类:
其他好文 时间:
2014-08-03 12:54:35
阅读次数:
211
题目来源:POJ 2356 Find a multiple
题意:n个数 选出任意个数 使得这些数的和是n的倍数
思路:肯定有解 并且解是连续的一段数
证明:
假设有m个数 a1,a2,a3...am s1 s2 s3...sm为前缀和 s1 = a1 s2 = a1+a2 s3 = a1+a2+a3... sm = a1+a2+a3+...+am
1.如果某个前缀和si%m =...
分类:
其他好文 时间:
2014-08-02 21:01:54
阅读次数:
312
作为一名Android应用开发程序猿,最痛苦的事莫过于在屏幕适配了,这与历史原因有关,具体就不深究了。直到最近才搞明白dpi是怎么换算的,在开发的过程中,一个应用运行的屏幕标准应该是分辨率为320x480密度为160dpi的屏幕上,所以所有放在drawable、drawable-mdpi、value...
分类:
移动开发 时间:
2014-08-02 18:11:23
阅读次数:
314
In a typical multiple-tier implementation, the steps for creating and refreshing a DataSet, and in turn, updating the original data are to:Build and f...
分类:
其他好文 时间:
2014-08-02 15:17:43
阅读次数:
225
$ adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X install pathto/myapp-release.apk
分类:
移动开发 时间:
2014-08-02 12:30:23
阅读次数:
181
1. 2D射影几何与变换这一章的内容主要在介绍一些基本的几何概念和几何符号,以便理解后文中的内容。更具体的来说,主要包含了平面射影变换的几何知识。1.1 平面几何平面几何是个非常简单的概念,无非是点,线,再就是点和线之间的关系。1.2 2D射影平面(Projective plane)众所周知,在平面...
分类:
其他好文 时间:
2014-08-02 01:47:12
阅读次数:
194
kendo ui grid 多次添加数据 ,multiple create...
分类:
其他好文 时间:
2014-08-01 19:44:22
阅读次数:
371
我们在引入library时可能会出现这个错误比如:[2013-11-05 14:22:15 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/mobile/appstore/listjar/sdk/R$anim;[...
分类:
其他好文 时间:
2014-08-01 04:38:01
阅读次数:
328
Q. What does XL stand for? XL is short for eXtensible Lattice. It also connotes an extra large version of PostgreSQL, in this case across multiple systems. Q. Is this a “NoSQL” solution? No, Post...
分类:
其他好文 时间:
2014-08-01 00:17:51
阅读次数:
358