11 2012 档案

摘要:Stephen Tashi Posts: 2,174Recognitions: Science Advisor Quote by nn0p [B]Would some explain about what are the differences between them? Linear algebra is focused on vector spaces. Linear transformations betwee... 阅读全文
posted @ 2012-11-21 20:09 n0p 阅读(358) 评论(0) 推荐(0)
摘要:Python3.x新特性一、装了一个Python3.0(win环境下),写了个hello world测试print 'hello world'用IDLE运行的时候,结果报错: invalid syntax查了一下资料才知道3.0竟然与2.x版的语言不兼容,需要print ('hello world'),真是太假了,那群SB竟然这样改!人家C++还向C兼容,python竟然版本都不兼容了!!二、What's new in Python3.0更详细的介绍请参见python3.0的文档Common Stumbling Blocks本段简单的列出容易使人出错的变 阅读全文
posted @ 2012-11-18 22:13 n0p 阅读(321) 评论(0) 推荐(0)
摘要:Andrew Ng 组的Tutorial做的很浅显易懂啊,今天明白了Autoencoder。其实,autoencoder做的就是降维,我觉得最让我眼睛一亮的地方是,用KL divergence(\ref{kl})做约束实现sparsity,相当于把$\rho$跟$\hat{\rho}$都看成是一种分布,统计的思想体现的很好,跟L1 norm有异曲同工之妙,而且,我感觉解析性应该比L1 norm更好!\begin{equation}\label{kl}\mathbf{ KL}(\rho || \hat\rho_j) = \rho \log \frac{\rho}{\hat\rho_j} + (1 阅读全文
posted @ 2012-11-17 03:29 n0p 阅读(365) 评论(0) 推荐(0)
摘要:《支持向量机导论》中证明核函数矩阵$\mathbf{K}=(K(\mathbf{x}_{i},\mathbf{x}_{j}))_{i,j=1}^{n}$必须是半正定矩阵的方法是用的反证法,构造了一个反例,\[\mathbf{z}=\sum_{i=1}^{n}v_{si}\mathbf{\mathbf{\Phi}}(\mathbf{x}_{i})=\sqrt{\Lambda}V'v_{s}\]这个$\mathbf{\mathbf{z}}$其实是特征空间中样本映射$\mathbf{\mathbf{\boldsymbol{\phi}}}(\mathbf{x}_{i}),\ i=1,\cdot 阅读全文
posted @ 2012-11-17 01:54 n0p 阅读(877) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2012-11-16 21:19 n0p 阅读(448) 评论(0) 推荐(0)
摘要:转统计大牛沃塞曼的一篇博文。 Statistics Versus MachineLearning——Larry Wasserman, posted on June 12, 2012 at 7:46 pmWelcome to my blog, which will discuss topics in Statistics and Machine Learning. Some posts will be technical and others will be non-technical. Since this blog is about topics in both Statistics and 阅读全文
posted @ 2012-11-14 22:04 n0p 阅读(756) 评论(0) 推荐(0)
摘要:LyX支持ctex是从2.0.2就开始了,见announcement[1]。这个功能的加入得感谢yihui的提交[2, 3]。现在$\LaTeX$排中文文档的最佳拍档是XeTeX+xeCJK,有了ctex的支持方便多了就,因为ctex已经在内部默认调用了xeCJK,所以简单写中文文档的话,在LyX里可以省掉纯用XeTeX时需要在preamble区写一堆xeCJK的字体设置、段落缩进等命令了。我用的环境是:LyX版本2.0.5 (Download)CTeX版本2.9.2 (Download)后来发现,只需要下面1,4两步设置就可以了。LyX写中文文档配置步骤如下:设置,1. document c 阅读全文
posted @ 2012-11-14 17:05 n0p 阅读(4256) 评论(0) 推荐(0)
摘要:Using XeLaTeX + BiBTeX in TeXWorksI'm trying to define a run configuration for using XeLaTeX with BiBTeX from within TeXWorks, but I'm coming up empty.I tried following this guide and adapt it to what I wanted to do, and ended up with this:program: xelatexargument: "%1.tex" &&a 阅读全文
posted @ 2012-11-14 01:05 n0p 阅读(620) 评论(0) 推荐(0)
摘要:LaTeX技巧207:使用align环境输入多行公式的技巧 (2010-01-07 21:32:15)TeX/LaTeX社区QQ群:80300084常见数学公式问题集下载 align是输入多行公式中最好用的环境,仅仅是个人浅见,因为他的对齐非常灵活,如果大家需要非常灵巧的对齐方式的多行公式,建议使用align环境,对应的也还有align*和aligned等等类似的环境,这里不再详述。下文提供代码,尽展其风姿绰约。演示效果图:演示代码:\documentclass{article}\pagestyle{empty}\setcounter{page}{6}\setlength\textwidt.. 阅读全文
posted @ 2012-11-13 21:10 n0p 阅读(898) 评论(0) 推荐(0)
摘要:[zz]Latex中texworks编辑器正向反向跳转搜索 (2012-06-17 19:43:01)今天在texworks中写东西时,突然想起这个软件有个功能,可以在tex源码与生成的pdf预览文件之间实现跳转,在论文修改时,这个功能很实用。但是,实际进行设置时,出现的几个问题让我头痛不已,不过在万能的google和各位latex大牛的帮助下,最终达到目的。在此,和大家分享一下问题解决过程。Latex环境:CTEX2.9.2.164(FULL),附:CTEX套装下载地址问题1:texworks找不到syntex文件。。PS:至于syntex文件为何物,请自行google。。解决办法:这个.. 阅读全文
posted @ 2012-11-13 14:39 n0p 阅读(2206) 评论(1) 推荐(0)
摘要:Using SyncTeX with LaTeX23 Nov 09Working with LaTeX involves writing in one application (TeXShop, TextMate, etc.) and viewing your document in a pdf reader (Acrobat Reader, Skim, etc.). To see the result of your work, to correct or improve it, it is often practical to quickly go back and forth betwe 阅读全文
posted @ 2012-11-13 14:25 n0p 阅读(868) 评论(0) 推荐(0)
摘要:我看的是Liu Yang的survey: Distance Metric Learning: A Comprehensive Survey.里面总结道,Eric Xing等把Metric Learning formulate成这样一个凸优化问题:\begin{align}\min\limits_{A \in \mathbb{R}^{m \times m}} & \sum\limits_{({x_i},{x_j}) \in \mathcal{S}} {\left\| {{x_i} - {x_j}} \right\|_A^2}\\\text{s.t.} \quad & A\succ 阅读全文
posted @ 2012-11-13 12:55 n0p 阅读(462) 评论(0) 推荐(0)