samedi, mars 27, 2010

Math land v.s. CS land

I came across this article on an NLP blog (http://nlpers.blogspot.com/2010/01/arxiv-and-nlp-ml-and-computer-science.html) that made a humorous comparison of publishing a paper in the 'math land' and in the 'CS land':
-----------------------------------------------------------------------------------------
The following is a cartoon view of how (some branches of) math research gets published:
  1. Authors write a paper
  2. Authors submit paper to a journal
  3. Authors simultaneously post paper on arxiv
  4. Journal publishes (or doesn't publish) paper
We can contrast this with how life goes in CS land:
  1. Conference announces deadline
  2. One day before deadline, authors write a paper
  3. Conference publishes (or rejects) paper
--------------------------------------------------------------------------------------
For Operations Research, I would say from my observation that it lies on the convex combination of the Math land and the CS land in this perspective, with considerably more weight on the Math side.

samedi, février 27, 2010

Machine Learning in Picasa

I was (re-)trying out the software version of Picasa yesterday and found a new exciting face recognition feature. It's not really that new since it has existed in Picasa for more than a year already. (See here) In contrast to Facebook, where you the user have to pinpoint where are the faces in a picture, Picasa automatically detects the presence of a face and fits it in a rectangle of appropriate size. This technology is actually very common now in point-and-shoot digital cameras, but surprisingly, it seems to be kinda new for photo album software. So this is the first part of the new feature, face detection. It makes sure that only a human-being's face is selected, not a dog's or a monkey's. These two pages [1], [2] contain a survey of some face-detection algorithms.
Now after a face is boxed out in a picture, I'll be able to enter the name of that person, and the identity will be linked to the corresponding contact in my Google address book. The next part of the 'new' feature heavily involves classification tasks: Picasa searches through my entire photo collection on my hard drive, detects the faces (if there are any), and classifies the identities of the faces based on the trained examples, i.e. those faces that I have specified names for. It then lists all the faces that the underlying classification algorithm determines as matches and asks me to label the results as a correct or wrong match. The procedures repeat when new photos are added to my photo library. This is a typical supervised-learning process. What algorithms do they use? Possible: Bayesian approaches, SVM, hybrids, or maybe something completely novel.
An initial tryout shows that the face classification algorithm that Picasa uses is quite impressive in terms of mis-classification rate. With less than 10 trained examples that I provided at the beginning for my parents and myself, Picasa subsequently made identity suggestions of about 300 faces that it detects in my library, and only less than 20 were wrong. There are also some interesting observations for the misclassified faces. For instance, those for my mum all came from her siblings, indicating that they actually look alike. (Of course, they do.)
The computational performance, however, is not quite up to my satisfaction. Since I have a large photo gallery, it took really a long time to perform the above tasks. Furthermore, as the tasks were running in the background, they consumed about 80% of the CPU power, and my cooling fan was making a lot of noise because of the large amount of heat generated. Apparently it's not a battery-friendly or mobile-oriented application. Nevertheless, it's a refreshing feature that Google has implemented here.

samedi, février 13, 2010

jeudi, février 11, 2010

Driver License

Two months after I passed the road test, I received my new driver license in my mail box, finally.
Yes, two months. If you send a parcel from China to the US by sea, it would have already arrived too. So whom to blame? There are only two parties involved in this send-deliver process: the Department of Motor Vehicles and USPS. DMV claimed that they sent out my license shortly after the road test, that is, before Christmas last year. And online delivery status shows that the letter containing my license was returned as 'undeliverable' to DMV by USPS. Hence, it has been sitting at DMV until I called last week. For a moment I was wondering if I had put the address wrong, but wait, my Learner Permit was delivered successfully with exactly the same address. So do tons of other daily junk mail. Determined to find out what has gone wrong, I examined my mailbox in utter details. Oh, here it is: the number tag on my mailbox is missing. However, my mailbox sits along with all the neighboring ones in a row, and apparently the numbers are arranged in order. The one before mine is 4A, and the one after is 4C. And, each apartment DOES have one mailbox. By now, anyone reading this will have concluded correctly that my mailbox is 4B because one thing that differentiates human beings from machines is the ability to inference. (Well, technically speaking, machines nowadays can do some sort of inferencing as well.) And, this is an absolutely EASY inferencing problem. You don't even need the 'fancy' Bayesian rule ... So that leads me to the following conclusion: USPS has switched to such an advanced delivering system that they are now using machines (albeit with bugs) to do the job. Period.

lundi, février 08, 2010

samedi, novembre 28, 2009

Continued

Continuing to swing between Live Space and Blogspot. It's essentially just about choosing between Microsoft and Google. Space is fancy, feature-packed, but slow, while Blogspot is clean, concise, and fast. Pretty accurate reflection of the two companies.

samedi, avril 18, 2009

Summer!

New York is strange city. A week ago, it almost felt like still winter; today, it has hit 25 Celsius, at evening time. The stairs in front of Low Library on campus are good indicator of the weather---they are packed with people enjoying the sunshine these days, a big traffic hazard though. But great! Finally summer has come here. I have not experienced a complete New York summer yet, though I can imagine the scolding sun baking the forever-working souls.
Another summer.

jeudi, avril 16, 2009

Jorge Cham

Jorge Cham来Columbia了。作为PHD Comics的忠实读者,于是也做了回粉丝,排了队买书要签名。他本人和漫画里的主角颇为神似。:p

samedi, janvier 24, 2009

过年liao

小年夜的早上,梦游似的坐到了office里面。拜六的缘故,office里只有我一个人,享受一下这难得的清静。明天就是除夕了,虽然这里没什么气氛,但有家人的祝福,还有晚上和朋友们一起的晚会,就足够了。
新年的愿景:
1。
2。
3。
具体内容就不写了,好像是说出来了就不灵了之类。

mardi, janvier 06, 2009

Beijing

上次去北京已经是五年半前的事了,那时刚准备去加拿大。上次的记忆似乎就是壮观的天安门,天坛,拥堵的马路和破旧的地铁。这次的印象倒是蛮不错的。
从苏州已有non-stop的去北京的特快,路上大概11个小时,一个晚上也就到了。来和去都遇上睡觉打鼾的,所以其实没有怎么睡好,但还是比坐飞机好受些。
终于有机会去到了鸟巢和水立方。鸟巢确实比电视里和照片上都要雄伟,感叹如今真的只有中国人才造的出这样的建筑---社会主义优越性的完美体现。鸟巢门票50,水立方30。我和表哥给它算了一下。鸟巢一年的维护费大概是7000万,照这样的客流量,光门票就足以自给自足。
第二天开始我的“正事”,去图书大厦和王府井书店淘书。名牌衣服要去美国买,但是textbook绝对要在中国买,理由都一样:差价太大。天安门在两书店之间,于是忍不住还是从地铁站钻出来看了一眼。现在广场上进入都要安检,还有三三两两的军警巡逻,所以人并不是太多。估计FLG在这儿是彻底没戏了。
北京的地铁现在焕然一新,托奥运会的福。我强烈建议纽约的MTA应该来中国考察一下,看看地铁其实也是可以搞得很干净和现代化的。
在北京很高兴见到了XJ和Keddy,大家不免又回忆起了一起在UBC的幸福时光。大学毕业后人都散了,只有这种区域性的小型聚会有可能了。
最后附上一张很“《时代》”的照片,呵呵。

jeudi, janvier 01, 2009

新年

昨天晚上自恃已康复, 结果被一杯cocktail搞得头重脚轻, 回到家还没听得寒山寺的钟声就昏昏睡去了.
元旦的早晨, 大太阳, 心情顿时开朗. 但是外面更冷了, 据说有零下三度, 感觉差不多有零下十. 江南的冬天就是这么难过. 中午去了新开的"丈母娘", 听说评价不错. 走进大堂就见一Chairman Mao的石像, 供得跟个财神一样. 如今这年月, 靠老毛发财致富的还真不少. Btw, 他们的"农家土鸡煲"很impressive, 值得一试.

lundi, décembre 29, 2008

冷->病

大概是前几天积寒成疾, 昨天突然病倒, 发烧到38度7, 人虚的跟一团boneless chicken breast似的. 下午实在撑不住了, 只得去了我家旁边的社区卫生所. 医生一看, 二话不说, 挂水! 两瓶水挂下去, 果然元气就回来了. 中国医生对于感冒发烧的态度就是比老外医生来的爽快. 老外医生特别麻烦, 不到不得已连片抗生素都不给你, 声称多用生素容易对其产生resistence. 但是不用的话, 几天都不会好, 天天suffer, 最后还是得用, 就跟我上次一样. 你说你丫早点用我不是早好了么.
昨天挂水的时候, 看到了很汗的一幕. 一位病友的水快挂完了, 就叫护士来换水, 可那护士偏偏下楼了. 旁边一路人甲很自信的说, 来, 我帮你换. 说完就把那人的针头拔下插在了另外一瓶上. 我当时顿时就是点点点点....

mardi, novembre 04, 2008

选举日

作为international student,Election Day就不用凑热闹了,所有就参加了学校转为留学生组织的去Woodbury Outlets血拼,为衰败的美国经济做点贡献。扫了一堆衣服和裤子回来,今年过冬应该没什么问题了。:p

samedi, septembre 27, 2008

Congratulations, China!

Chinese astronauts have successfully completed China's first 'space walk'. Kudos to China, and the astronauts!

lundi, septembre 22, 2008

Lost

华尔街5大投行倒了三家,剩下两家转行,实际意义上都不存在了。那还读什么OR和FE?? 看来将来说不定还是要做回老本行。

mardi, août 19, 2008

起程

平安开过了十全街, 师傅说我满师了.
今天中午去机场, 又要启程了!
拥抱纽约.

dimanche, août 10, 2008

重元寺

可能是地处郊区的缘故, 照片上的天空出现少有的一点蓝色. :) 回国后拍的照已经厌烦了那种毫无生气的灰色.









dimanche, août 03, 2008

菜驾

昨天晚上, 第三次练习驾车, 跌跌撞撞从练车的地方开到了家门口. 中途熄火两次, 被教练狂批. 我这个菜驾俨然成了马路上的人民公敌, 后面的车不停的honk, 不断用远光灯闪, 我的后视镜和左右反光镜全是一片亮的, 对面开过来的车也经常打远光灯, 马路两旁还有突然窜出的行人... 这路是人开的么??

vendredi, août 01, 2008

Post-dinner Walk

The Mi Du Bridge
the fortified wall
Our country is much more generous than Canada in electricity to brighten up the city at night. :p
The Moat

The moat again
The tower on the East Campus of Soochow University

dimanche, juillet 27, 2008

上海印象

十里洋场, 大上海

The HSBC Building
Nanjing Rd
东亚饭店
Nanjing Rd
Experience the rapid train
The Huangpu River

Bank of China building and the statue of Chen Yi, the first mayor of Shanghai since the communist rule.

HSBC Building and Customs House
The Bund
The old HSBC building


浦东陆家嘴