Re: [斧正] 猴子敲得出莎士比亞全集??
直接回比較快。
※ 引述《xiaoa (不事生產)》之銘言:
: 推 e1q3z9c7: 猴子可以訓練 09/14 00:05
: 如何訓練出隨機?
: 每個字母被打出的機率= 1/26? 這不一定得是隨機(例如 qwerty)
: 打出無意義的字母順序? 這也不一定得是隨機 (qwerty)
: 打出 "abc"是不是隨機? 打出 "aaaaaa"是不是隨機?
: 你說得簡單. 要不要去想一個監督訓練的程序, PO出來給大家看看
沒那麼難,現實生活中根本不需要去想一套程序;
一樣讓猴子執行輸入字母(撿香蕉什麼的、隨意),
然後再用統計的方式判斷結果是否平均分布 (1/26) 即可。
真正的問題是在於 souldragon 大講的,要實現,這母體得要多大?
我們都知道「逢賭必勝的翻倍下注」有個大盲點,就是下注的金額是有限的。
這大家都知道,沒有什麼討論的價值(不知道的人可以搜尋翻倍下注)。
但是我覺得比較有趣的是:假如我們想要讓勝率可以高達95%以上,手上要有多少錢?
因為賭金有限,所以翻倍下注的勝率必定不是100%;
但是如果要讓 99% 以上,你只需要持有 2^9 = 512元,你就可以辦到。
回到無限猴子,如果要說100%必定可行的話,我暫且同意Soul所說的:這母體太大。
可是,如果不需要達到 100% 呢?若是 90% 呢?80% 呢?
我覺得這就是有趣的地方啊~ XD
---
不過這問題也是我後面一直沒有回應的關鍵。
這個東西很有趣,也不難,就是數學計算而已。
但我自己懶,相信板上的朋友平常也忙,討論這種問題是自找麻煩。XD
回前篇文章純粹只是有些跟猴子標題無關的話想抱怨一下而已~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.34.157.134
※ 文章網址: http://www.ptt.cc/bbs/ask-why/M.1410697959.A.A81.html
→
09/14 21:52, , 1F
09/14 21:52, 1F
對啦,你這樣講沒錯。
所以我所討論的是把這「無限猴子」的命題拉回現實世界來聊。
因為如果只是回到原來的數學假設,應該沒人提反論吧?(有嗎?有的話也可以分享喔)
→
09/14 22:38, , 2F
09/14 22:38, 2F
→
09/14 22:40, , 3F
09/14 22:40, 3F
→
09/14 22:41, , 4F
09/14 22:41, 4F
→
09/14 22:43, , 5F
09/14 22:43, 5F
→
09/14 22:44, , 6F
09/14 22:44, 6F
是的沒錯,正如您所言,其實我真正覺得有趣、也想聊聊的命題是這個。
只是連我自己都懶的算,所以後來沒有想轉到這一塊。XD
→
09/14 22:45, , 7F
09/14 22:45, 7F
→
09/14 22:46, , 8F
09/14 22:46, 8F
推
09/14 23:24, , 9F
09/14 23:24, 9F
有趣!XD 不過類似笑話我聽的是「經濟學家、統計學家、和數學家」
※ 編輯: behemoth (1.34.157.134), 09/15/2014 00:05:49
→
09/15 01:16, , 10F
09/15 01:16, 10F
→
09/15 01:17, , 11F
09/15 01:17, 11F
→
09/15 01:49, , 12F
09/15 01:49, 12F
→
09/15 01:50, , 13F
09/15 01:50, 13F
→
09/15 01:51, , 14F
09/15 01:51, 14F
→
09/15 01:52, , 15F
09/15 01:52, 15F
推
09/15 03:21, , 16F
09/15 03:21, 16F
推
09/15 03:23, , 17F
09/15 03:23, 17F
→
09/15 15:40, , 18F
09/15 15:40, 18F
→
09/15 15:41, , 19F
09/15 15:41, 19F
推
09/15 16:35, , 20F
09/15 16:35, 20F
→
09/15 16:36, , 21F
09/15 16:36, 21F
→
09/15 16:37, , 22F
09/15 16:37, 22F
→
09/15 16:39, , 23F
09/15 16:39, 23F
→
09/15 16:40, , 24F
09/15 16:40, 24F
→
09/15 16:40, , 25F
09/15 16:40, 25F
→
09/15 18:42, , 26F
09/15 18:42, 26F
→
09/15 18:44, , 27F
09/15 18:44, 27F
推
09/15 18:48, , 28F
09/15 18:48, 28F
→
09/15 18:49, , 29F
09/15 18:49, 29F
→
09/15 18:50, , 30F
09/15 18:50, 30F
→
09/15 18:51, , 31F
09/15 18:51, 31F
→
09/15 18:52, , 32F
09/15 18:52, 32F
→
09/15 18:55, , 33F
09/15 18:55, 33F
推
09/15 18:59, , 34F
09/15 18:59, 34F
→
09/15 19:00, , 35F
09/15 19:00, 35F
→
09/15 19:01, , 36F
09/15 19:01, 36F
→
09/15 19:07, , 37F
09/15 19:07, 37F
→
09/15 19:07, , 38F
09/15 19:07, 38F
推
09/15 19:15, , 39F
09/15 19:15, 39F
→
09/15 19:15, , 40F
09/15 19:15, 40F
→
09/15 19:17, , 41F
09/15 19:17, 41F
→
09/15 19:18, , 42F
09/15 19:18, 42F
→
09/15 19:19, , 43F
09/15 19:19, 43F
→
09/15 19:19, , 44F
09/15 19:19, 44F
→
09/15 19:20, , 45F
09/15 19:20, 45F
→
09/15 19:21, , 46F
09/15 19:21, 46F
推
09/15 19:23, , 47F
09/15 19:23, 47F
→
09/15 19:23, , 48F
09/15 19:23, 48F
→
09/15 19:24, , 49F
09/15 19:24, 49F
→
09/15 19:24, , 50F
09/15 19:24, 50F
推
09/15 19:27, , 51F
09/15 19:27, 51F
→
09/15 19:28, , 52F
09/15 19:28, 52F
→
09/15 19:31, , 53F
09/15 19:31, 53F
推
09/15 19:37, , 54F
09/15 19:37, 54F
→
09/15 19:38, , 55F
09/15 19:38, 55F
→
09/15 19:39, , 56F
09/15 19:39, 56F
→
09/15 19:39, , 57F
09/15 19:39, 57F
→
09/15 19:39, , 58F
09/15 19:39, 58F
推
09/15 20:01, , 59F
09/15 20:01, 59F
→
09/15 20:02, , 60F
09/15 20:02, 60F
→
09/15 20:03, , 61F
09/15 20:03, 61F
→
09/15 20:04, , 62F
09/15 20:04, 62F
→
09/15 20:05, , 63F
09/15 20:05, 63F
→
09/15 20:06, , 64F
09/15 20:06, 64F
→
09/15 20:07, , 65F
09/15 20:07, 65F
→
09/15 20:17, , 66F
09/15 20:17, 66F
→
09/15 20:18, , 67F
09/15 20:18, 67F
→
09/15 20:20, , 68F
09/15 20:20, 68F
→
09/16 14:40, , 69F
09/16 14:40, 69F
→
09/16 14:41, , 70F
09/16 14:41, 70F
→
09/16 20:17, , 71F
09/16 20:17, 71F
→
09/16 20:18, , 72F
09/16 20:18, 72F
→
09/16 20:20, , 73F
09/16 20:20, 73F
→
09/16 20:21, , 74F
09/16 20:21, 74F
推
09/16 20:21, , 75F
09/16 20:21, 75F
→
09/16 20:22, , 76F
09/16 20:22, 76F
→
09/16 20:23, , 77F
09/16 20:23, 77F
→
09/17 11:38, , 78F
09/17 11:38, 78F
→
09/17 11:41, , 79F
09/17 11:41, 79F
→
09/17 11:42, , 80F
09/17 11:42, 80F
→
09/17 11:46, , 81F
09/17 11:46, 81F
→
09/17 12:14, , 82F
09/17 12:14, 82F
→
09/17 12:16, , 83F
09/17 12:16, 83F
→
09/17 12:17, , 84F
09/17 12:17, 84F
→
09/17 12:17, , 85F
09/17 12:17, 85F
→
09/17 13:02, , 86F
09/17 13:02, 86F
→
09/17 13:04, , 87F
09/17 13:04, 87F
討論串 (同標題文章)
ask-why 近期熱門文章
PTT職涯區 即時熱門文章