Month: February 2012

Project-Specific Vim Configuration

Usually, we have our own vim configuration in the file ~/.vimrc
What if we want one for our project?
For example, we are working on certain project which needs to read in a tags file.
Well, here is a possible solution.  ...  Read More

Draw ROC Curve

ROC

A piece of fairly simple Matlab script to draw the ROC Curve from an array of scores and an array of labels. ...  Read more

用C/C++处理数据的时候,如果数值比较大就得注意数据类型。比如这个log函数的问题。
log接受double类型的参数,而logf接受float类型。 ...  Read more