Quantcast
Channel: YGC » ComputerScience
Browsing all 27 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

new blog site

不爽免费空间的慢和广告。 终于还是自己买了空间和域名,购自bloghost.cn。 速度和费用还是令人满意的。 ---- 四个月,突然发现有了PageRank。 Related PostsOctober 11, 2010 -- highlight R syntax in wordpress using wp-codebox (0)May 28, 2010 -- 显示post浏览次数 (1)May...

View Article



网络无障碍

中国人民自古佳人约会爱翻墙。 所谓偷不如偷不着,潮汕话里有一句“别人的猪槽香”。 很多优秀的教育资源,甚至于一些科研刊物都无法正常访问。 有时候,确实是有点困扰的,起码我一直认为不能给学术界和外界的交流设置障碍。 然后我就发现了ipv6,而且基本上现在只有教育网才有ipv6,外面的线路很少有支持的。高校的网络还是高速、高质且畅通无阻的。...

View Article

R package DOSE released

Disease Ontology (DO) provides an open source ontology for the integration of biomedical data that is associated with human disease. DO analysis can lead to interesting discoveries that deserve further...

View Article

ProjectEuler-Problem 46

It was proposed by Christian Goldbach that every odd composite number can be written as the sum of a prime and twice a square. 9 = 7 + 2x12 15 = 7 + 2x22 21 = 3 + 2x32 25 = 7 + 2x32 27 = 19 + 2x22 33 =...

View Article

Image may be NSFW.
Clik here to view.

截个屏

买了苹果机,一直放在家里没用,准备开会带去用,拿过来装几个软件。 校园网用锐捷是个比较讨厌的东西。当年在华农,光这认证就搞了很久。 现在开源的认证客户端多了,搞起来也方便了,现在在linux下用的xmuruijie,就比当年mystar好用。...

View Article


a simple gene finder

上了几天的课,http://ibw2011.fmmu.edu.cn/schedule.htm 今天就上完了,只完成了project 1,想写gibbs sampling,但是没搞明白,汗。 这个纯属练习用,没啥实用价值。 Course Projects: Project 1: Implementation of a simple gene finder GOAL Build a simple...

View Article

problem 26

A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given: 1/2 = 0.5 1/3 = 0.(3) 1/4 = 0.25 1/5 = 0.2 1/6 = 0.1(6) 1/7 =...

View Article

Image may be NSFW.
Clik here to view.

Machine Learning Ex 5.1 - Regularized Linear Regression

The first part of the Exercise 5.1 requires to implement a regularized version of linear regression. Adding regularization parameter can prevent the problem of over-fitting when fitting a high-order...

View Article


Image may be NSFW.
Clik here to view.

Machine Learning Ex 5.2 - Regularized Logistic Regression

Now we move on to the second part of the Exercise 5.2, which requires to implement regularized logistic regression using Newton's Method. Plot the data: x We will now fit a regularized regression model...

View Article


project euler-Problem1-50

06年开始学perl,因为要用bioperl,08年开始用R,因为想要用bioconductor的包。刚学R的时候,一片混乱啊,矢量计算啥的,一开始很不习惯。 那时候知道Project Euler,通过用R写代码来解决这些数学问题,开始对R熟悉起来。这对我学习R和编程是很有帮助的。...

View Article

migrate from tetex to texlive

在CentOS升级R到2.14之后,编译vignettes时便报错了,原因是少了latex的inconsolata.sty,这是文档中代码要需要用到的字体。google不出解决方案,基本上都是说不关R的事,要装latex包。 CentOS的repos里没有这个包,latex的东西以前折腾过,搞起来太麻烦。 现在一般用整合的latex环境,比如MiKTeX和TeX...

View Article

如何教生物学生使用R编程

最近两三年,明显感觉关于R的书籍多了起来,年初更是进入了TOBIE排行版的前20,Oracle 又准备将R整合到其数据库产品中。和Hadoop集群的整合,必然会使R在大数据分析和可视化领域中火起来的。 Bioconductor上有大量的分析包,是生物界所无法回避的,Ewan Birney在其博文Five statistical things I wished I had been taught 20...

View Article

Image may be NSFW.
Clik here to view.

hey mac

初中时在杂志上看到苹果的彩壳机,从此叔就开始成为了苹果的脑残粉,还在K6-2和win98那会,就在玩macintosh主题。 本科时,通过PearPC来虚拟PowerPC,硬是在ATHLON XP 1700+这个破CPU上破了OS X Jaguar,那个慢啊,是无法忍受的。 后来,有了一台powerbook,却拿它来装gentoo和netbsd。从那里候开始,基本上就只用Linux/BSD。...

View Article


R & C++ integration

这题目太标题党了,最近啃了半部《C++ Primer Plus》,除了书中习题,就没其它写过C++程序,下午读了Rcpp的文档,把mlass包里kMeans算法的核心部分用c++重新写了。 C++果然给力,速度提高不是一点两点。 > require(mlass) > data(iris) > x=iris[,-5] > res = benchmark(kMeans(x, 3,...

View Article

tricky things in R

______________ -------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || 赋值...

View Article


project euler -- problem 54

In the card game poker, a hand consists of five cards and are ranked, from lowest to highest, in the following way: High Card: Highest value card. One Pair: Two cards of the same value. Two Pairs: Two...

View Article

Image may be NSFW.
Clik here to view.

latex for wordpress

最初用的是wp-latex,支持$latex latex_syntax $一直就这么用了。 因为这个插件是生成图片,这种方式显然不太好。发现MathJax之后,果断换成MathJax,最近发现空间快被占满了,而这个MathJax用掉了100多M,所以找个插件,可以用在线的MathJax服务器的,这样就可以把空间上的MathJax库删了。 latex for...

View Article


modified wp-codebox to highlight R code as in Pretty-R

I found wp-codebox could highlight R code two years ago. This plugin is based on GeSHi to highlight source code internally. Now there are many ways to highlight R syntax in the website. Pretty-R...

View Article

project euler -- problem 69

Euler's Totient function, φ(n) [sometimes called the phi function], is used to determine the number of numbers less than n which are relatively prime to n. For example, as 1, 2, 4, 5, 7, and 8, are...

View Article

project euler -- problem 70

Euler's Totient function, φ(n) [sometimes called the phi function], is used to determine the number of positive numbers less than or equal to n which are relatively prime to n. For example, as 1, 2, 4,...

View Article
Browsing all 27 articles
Browse latest View live




Latest Images