N*****N 发帖数: 1605 | 1 【 以下文字转载自 JobHunting 讨论区 】
发信人: kzkzkz (KZ), 信区: JobHunting
标 题: Re: 一道简单,有趣,有争议的google面试题!
发信站: BBS 未名空间站 (Sun Apr 8 15:33:16 2007)
Bayes is very useful!
P(two side overcooked | top side overcooked)
= P(top side overcooked | two side overcooked) * P(two side overcooked) / P(
top side overcooked)
= 100% * (1/3) / (1/2)
= 2/3 | n*******a 发帖数: 54 | 2 P(全胡|上面胡)=P(全胡,上面胡)/P(上面胡)
WHERE
P(全胡,上面胡)=P(全胡)=1/3
P(上面胡)=P(全胡)+P(一面胡,而且湖面朝上)=1/3+1/3×1/2=1/2
THEREFORE
P(全胡|上面胡)=P(全胡,上面胡)/P(上面胡)=(1/3) / (1/2)=2/3
微笑退下。
P(
【在 N*****N 的大作中提到】 : 【 以下文字转载自 JobHunting 讨论区 】 : 发信人: kzkzkz (KZ), 信区: JobHunting : 标 题: Re: 一道简单,有趣,有争议的google面试题! : 发信站: BBS 未名空间站 (Sun Apr 8 15:33:16 2007) : Bayes is very useful! : P(two side overcooked | top side overcooked) : = P(top side overcooked | two side overcooked) * P(two side overcooked) / P( : top side overcooked) : = 100% * (1/3) / (1/2) : = 2/3
|
|