Skip to main content

Posts

Showing posts from April, 2011

Cohen's kappa

For supervised learning, We need to label some training data. If two raters have conflicts on some labelling, Cohen's kappa can be used to measure agreement. http://en.wikipedia.org/wiki/Cohen's_kappa

My home town - Wuhan, China

New Age music

"In the mirror" "Song from a secret garden" "Summer" "远方的寂静"

Wine/water mixing problem

It is a brain-teaser problem. You can replace any liquid name (e.g. coffer, alcohol) with wine or water in the title. The original problem is explained as follows: http://en.wikipedia.org/wiki/Wine/water_mixing_problem "In the wine/water mixing problem, one starts with two jars, one holding wine and the other an equal volume of water. A spoon of water is taken from the water jar and added to the wine. A spoon of the wine/water mixture is then returned to the water jar, so that the volumes in the jars are again equal. The question is then posed—which is more, the wine volume in the water jar or the water volumn in the wine jar?" Here is my solution. We assume: Originally, the volume of water in jar of water (jar W): Vw Originally, The volume of wine in jar of wine (jar A): Va The volume of spoon: Vs We first a get a spoon of water from jar W and put it into jar A. Then we get a spoon of liquid from jar A and put it back into jar W. p is percentage of