摘要:
don't add % in title, xlabel, ylabel etc., use \% 阅读全文
摘要:
PRML exercise 1.8: To derive mean: change of variable z = x - u, use symmetry To derive variance: differentiate normaliation condition (integrate to 1 阅读全文
摘要:
# GMM model# 2015/7/22library(mvtnorm)set.seed(1)n1 = 1000n2 = 1000mu1 = c(0,1)mu2 = c(-5,-6)sigma1 = matrix(c(1,.5,.5,2),nrow=2)sigma2 = matrix(c(2,.... 阅读全文
摘要:
在linux终端输入如下命令:>echo "10025350462330387914 10025350462330388480" | awk '{if ($1 == $2) print $1 " = " $2; else print "NO"}'得到的输出是:10025350462330387914... 阅读全文
摘要:
cmd = ("the linux command")cmd | getline dk;close(cmd)dk stores the output of the command. 阅读全文
摘要:
转http://stackoverflow.com/questions/1962278/dealing-with-timestamps-in-rYou want the (standard)POSIXttype from base R that can be had in 'compact form... 阅读全文
摘要:
Si-Bao Chen, Chris Ding, Bin Luo and Ying Xie. Uncorrelated Lasso. AAAI, 2013.第一作者是安徽大学陈思宝副教授。第二作者 Chris Ding 是德克萨斯大学阿灵顿分校的教授,Google Scholar 上他引超过 157... 阅读全文
摘要:
今天看了一篇 ECML 14 的文章(如题),记录一下。原文链接:http://link.springer.com/chapter/10.1007/978-3-662-44848-9_38这篇文章提出了一个显式考虑 x 与 y 之间的相关性的 lasso 算法。方法很简单,就是用 μj=(1 - |... 阅读全文
摘要:
图标题格式默认是居中的。将 format 文件里定义图表标题样式部分的 \centering 删去,可变为左对齐。如下:%% 定制浮动图形和表格标题样式\makeatletter\long\def\@makecaption#1#2{% \vskip\abovecaptionskip\sbox\@... 阅读全文
摘要:
CTEX 2.9.2,WinEdt 7.0"Options" -> "Excution Modes..." -> "PDF viewer"在 PDF Viewer Excutable 下填入你想要 PDF 阅读器的路径(如下图).比如,“C:\CTeX\ctex\bin\SumatraPDF.exe... 阅读全文