# 初探 Probabilistic Models of Cognition

## Probabilistic Models of Cognition 的基本想法

• 物體有重量（基石 A）
• 抓住物體、抵抗重力才能拿起物體（基石 B）
• 用力拋出物體，物體會飛行（基石 C）
就可以丟出數以千計種物體（已簡化，還需要看得到物體位置、能夠操控手..等等條件）。

## Generative model

One view of knowledge is that the mind maintains working models of parts of the world. ‘Model’ in the sense that it captures some of the structure in the world, but not all (and what it captures need not be exactly what is in the world—just useful).

// makes a floor with evenly spaced buckets
var bins = function (xmin, xmax, width) {
return ((xmax < xmin + width)
// floor
? {shape: 'rect', static: true, dims: [400, 10], x: 175, y: 500}
// bins
: [{shape: 'rect', static: true, dims: [1, 10], x: xmin, y: 490}].concat(bins(xmin + width, xmax, width))
)
}
var world = [{shape: 'circle', static: true, dims: , x: 60, y: 200},
{shape: 'circle', static: true, dims: , x: 300, y: 300}].concat(bins(-1000, 1000, 25))
var randomBlock = function () {
return {shape: 'circle', static: false, dims: , x: uniform(0, worldWidth), y: 0}
}
physics.animate(1000, [randomBlock()].concat(world))
{"ft_lang_label":"__label__zh","ft_lang_prob":0.8312555,"math_prob":0.97407347,"size":2168,"snap":"2023-40-2023-50","text_gpt3_token_len":1591,"char_repetition_ratio":0.10120148,"word_repetition_ratio":0.0,"special_character_ratio":0.24723247,"punctuation_ratio":0.19197708,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9544168,"pos_list":[0,1,2],"im_url_duplicate_count":[null,7,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-21T22:24:22Z\",\"WARC-Record-ID\":\"<urn:uuid:26ed2230-d570-4a63-a989-4ab15a9ce36b>\",\"Content-Length\":\"50081\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5deb3048-3366-4b16-8f34-8caafb6a669d>\",\"WARC-Concurrent-To\":\"<urn:uuid:03d157d2-5b6f-46b4-85bb-dabcaf3c6cd6>\",\"WARC-IP-Address\":\"178.128.81.218\",\"WARC-Target-URI\":\"https://blog.techbridge.cc/2018/03/24/prob-model-of-cog-1/?utm_source=coderbridge-com&utm_medium=indie_related_post_img&utm_campaign=Vite%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD\",\"WARC-Payload-Digest\":\"sha1:EBU4W6WAMIZTTFDHP2IYH5YWYENUOEBL\",\"WARC-Block-Digest\":\"sha1:DCHNFKSSVSI7Z6TU7KXYMTRTDOM5S3CE\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233506045.12_warc_CC-MAIN-20230921210007-20230922000007-00722.warc.gz\"}"}