{"version":2,"relationshipURLBase":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html","relationshipResolution":"Resolve relative relationship URLs against relationshipURLBase; complete records and absolute URLs are in blocks.","title":"旧版热身（历史参考）","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html","markdown":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.md","pages":[{"id":"reading-opening","title":"旧版热身（历史参考）","unit":"旧版热身（历史参考）","unitId":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","chapter":"course","number":1},{"id":"reading-section-1","title":"展开查看旧版代码（仅展示，不执行）","unit":"旧版热身（历史参考）","unitId":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","chapter":"course","number":2}],"aliases":[{"oldId":"b-832527ef32ad850a44f63d06","targetId":"b-832527ef32ad850a44f63d06","operation":"historical-explanation","sourceScope":"document"},{"oldId":"b-1744237476c1d7df1ce9504e","targetId":"b-1744237476c1d7df1ce9504e","operation":"historical-explanation","sourceScope":"document"},{"oldId":"b-e87bb644b99faf31586e7e58","targetId":"b-e87bb644b99faf31586e7e58","operation":"historical-explanation","sourceScope":"document"},{"oldId":"b-c8ec9d3482e43b3ef8461503","targetId":"b-c8ec9d3482e43b3ef8461503","operation":"historical-explanation","sourceScope":"document"},{"oldId":"b-edc6921724eb8e984ddbbfea","targetId":"b-edc6921724eb8e984ddbbfea","page":"reading-opening","operation":"move","beforeSHA256":"c566f7c3e33c01fd834bb24879f8335a3d1f33cd6fe14a13564a5e39fb396afe","afterSHA256":"c566f7c3e33c01fd834bb24879f8335a3d1f33cd6fe14a13564a5e39fb396afe","reason":"Same source body in authored semantic page"},{"oldId":"b-0349d14d886ce0bb44b151cf","targetId":"b-0349d14d886ce0bb44b151cf","page":"reading-opening","operation":"move","beforeSHA256":"c3b974b8a7b85279b0578362c8950a210bc2a85c997178dc81ecbe792fe14186","afterSHA256":"c3b974b8a7b85279b0578362c8950a210bc2a85c997178dc81ecbe792fe14186","reason":"Same source body in authored semantic page"},{"oldId":"b-568bd5ef5587d4076d65484d","targetId":"b-568bd5ef5587d4076d65484d","page":"reading-opening","operation":"move","beforeSHA256":"e91f24e4e4ca40e2099a0d81d30db6568f4bf2074b499eeee6e3959617bd97ac","afterSHA256":"e91f24e4e4ca40e2099a0d81d30db6568f4bf2074b499eeee6e3959617bd97ac","reason":"Same source body in authored semantic page"},{"oldId":"b-555ea4c9365ef628c120668c","targetId":"b-555ea4c9365ef628c120668c","page":"reading-opening","operation":"move","beforeSHA256":"acab63401590ec93c084e0b85d6377f8d181ccfd7b8a41fccc3b4e91a788f49b","afterSHA256":"acab63401590ec93c084e0b85d6377f8d181ccfd7b8a41fccc3b4e91a788f49b","reason":"Same source body in authored semantic page"},{"oldId":"b-63355740ffc5e8950f53112f","targetId":"b-63355740ffc5e8950f53112f","page":"reading-opening","operation":"move","beforeSHA256":"22776016622c2addaf705c770c88971c82973c938ae33e183a9feb3b49e49de1","afterSHA256":"22776016622c2addaf705c770c88971c82973c938ae33e183a9feb3b49e49de1","reason":"Same source body in authored semantic page"},{"oldId":"b-239eaabcaded568c0d8cda0b","targetId":"b-239eaabcaded568c0d8cda0b","page":"reading-opening","operation":"move","beforeSHA256":"e5c542ac9eaa3e8830cbf8ff2616dedc089473c3d44be23349ecd3d049b6d0f9","afterSHA256":"e5c542ac9eaa3e8830cbf8ff2616dedc089473c3d44be23349ecd3d049b6d0f9","reason":"Same source body in authored semantic page"},{"oldId":"b-2e021d464021e6343ffdf3f9","targetId":"b-2e021d464021e6343ffdf3f9","page":"reading-section-1","operation":"move","beforeSHA256":"c96c8bb83ebcc08766fb28408f8fb954ca4776be883cbd3d4947d0e4f2c839cb","afterSHA256":"c96c8bb83ebcc08766fb28408f8fb954ca4776be883cbd3d4947d0e4f2c839cb","reason":"Same source body in authored semantic page"},{"oldId":"block-b8f620816c50450aa37772c7ee9ebfb1--旧版热身历史参考","targetId":"b-63355740ffc5e8950f53112f","operation":"retain-source-identity"}],"blocks":[{"id":"b-edc6921724eb8e984ddbbfea","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-edc6921724eb8e984ddbbfea","content":"[LAB 19 · 新域：捷径反转与少标签适配](/course/notebooks/c20ef6a65d184331b1b52bf351077504.html)","sha256":"c566f7c3e33c01fd834bb24879f8335a3d1f33cd6fe14a13564a5e39fb396afe","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-opening","title":"旧版热身（历史参考）","number":1},"sectionTitle":"旧版热身（历史参考）","currentQuestion":"旧版热身（历史参考）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":null,"nextBlock":"b-0349d14d886ce0bb44b151cf","prerequisites":[],"relatedBlocks":[]},{"id":"b-0349d14d886ce0bb44b151cf","type":"h1","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-0349d14d886ce0bb44b151cf","content":"# 旧版热身（历史参考）","sha256":"c3b974b8a7b85279b0578362c8950a210bc2a85c997178dc81ecbe792fe14186","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-opening","title":"旧版热身（历史参考）","number":1},"sectionTitle":"旧版热身（历史参考）","currentQuestion":"旧版热身（历史参考）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-edc6921724eb8e984ddbbfea","nextBlock":"b-568bd5ef5587d4076d65484d","prerequisites":[{"id":"b-edc6921724eb8e984ddbbfea","url":"#b-edc6921724eb8e984ddbbfea","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-568bd5ef5587d4076d65484d","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-568bd5ef5587d4076d65484d","content":"按问题继续","sha256":"e91f24e4e4ca40e2099a0d81d30db6568f4bf2074b499eeee6e3959617bd97ac","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-opening","title":"旧版热身（历史参考）","number":1},"sectionTitle":"旧版热身（历史参考）","currentQuestion":"旧版热身（历史参考）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-0349d14d886ce0bb44b151cf","nextBlock":"b-555ea4c9365ef628c120668c","prerequisites":[{"id":"b-0349d14d886ce0bb44b151cf","url":"#b-0349d14d886ce0bb44b151cf","role":"section-title"},{"id":"b-edc6921724eb8e984ddbbfea","url":"#b-edc6921724eb8e984ddbbfea","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-555ea4c9365ef628c120668c","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-555ea4c9365ef628c120668c","content":"源域捷径、目标域反转、少标签适配与同预算scratch","sha256":"acab63401590ec93c084e0b85d6377f8d181ccfd7b8a41fccc3b4e91a788f49b","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-opening","title":"旧版热身（历史参考）","number":1},"sectionTitle":"旧版热身（历史参考）","currentQuestion":"旧版热身（历史参考）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-568bd5ef5587d4076d65484d","nextBlock":"b-63355740ffc5e8950f53112f","prerequisites":[{"id":"b-0349d14d886ce0bb44b151cf","url":"#b-0349d14d886ce0bb44b151cf","role":"section-title"},{"id":"b-edc6921724eb8e984ddbbfea","url":"#b-edc6921724eb8e984ddbbfea","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-63355740ffc5e8950f53112f","type":"h2","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-63355740ffc5e8950f53112f","content":"## 旧版热身（历史参考）","sha256":"22776016622c2addaf705c770c88971c82973c938ae33e183a9feb3b49e49de1","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-opening","title":"旧版热身（历史参考）","number":1},"sectionTitle":"旧版热身（历史参考）","currentQuestion":"旧版热身（历史参考）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-555ea4c9365ef628c120668c","nextBlock":"b-239eaabcaded568c0d8cda0b","prerequisites":[{"id":"b-0349d14d886ce0bb44b151cf","url":"#b-0349d14d886ce0bb44b151cf","role":"section-title"},{"id":"b-edc6921724eb8e984ddbbfea","url":"#b-edc6921724eb8e984ddbbfea","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-239eaabcaded568c0d8cda0b","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-239eaabcaded568c0d8cda0b","content":"旧版热身仅保留为历史参考，不参与当前基准运行；当前解释与计算以上方完整实验为准。","sha256":"e5c542ac9eaa3e8830cbf8ff2616dedc089473c3d44be23349ecd3d049b6d0f9","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-opening","title":"旧版热身（历史参考）","number":1},"sectionTitle":"旧版热身（历史参考）","currentQuestion":"旧版热身（历史参考）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-63355740ffc5e8950f53112f","nextBlock":null,"prerequisites":[{"id":"b-63355740ffc5e8950f53112f","url":"#b-63355740ffc5e8950f53112f","role":"section-title"},{"id":"b-edc6921724eb8e984ddbbfea","url":"#b-edc6921724eb8e984ddbbfea","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-c5ac1bc71333f83a7a8635a7","type":"h4","scope":"reading-section-1","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-c5ac1bc71333f83a7a8635a7","content":"#### 展开查看旧版代码（仅展示，不执行）","sha256":"b5f2d755e2ad018e90a28a20600c873333e0691cce1a7f018f374a7d482cbaf3","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-section-1","title":"展开查看旧版代码（仅展示，不执行）","number":2},"sectionTitle":"展开查看旧版代码（仅展示，不执行）","currentQuestion":"展开查看旧版代码（仅展示，不执行）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":null,"nextBlock":"b-2e021d464021e6343ffdf3f9","prerequisites":[],"relatedBlocks":[]},{"id":"b-2e021d464021e6343ffdf3f9","type":"pre","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1.html#b-2e021d464021e6343ffdf3f9","content":"```\ntrain=[('grass','cow')]*8+[('water','duck')]*8; test=[('water','cow')]*4+[('grass','duck')]*4\ndef bg_rule(bg):return 'cow' if bg=='grass' else 'duck'\nprint('train acc',sum(bg_rule(x)==y for x,y in train)/len(train)); print('environment-shift acc',sum(bg_rule(x)==y for x,y in test)/len(test))\n\n```","sha256":"c96c8bb83ebcc08766fb28408f8fb954ca4776be883cbd3d4947d0e4f2c839cb","chapter":{"id":"course","title":"旧版热身（历史参考）"},"unit":{"id":"notebook-blocks/b8f620816c50450aa37772c7ee9ebfb1","title":"旧版热身（历史参考）"},"page":{"id":"reading-section-1","title":"展开查看旧版代码（仅展示，不执行）","number":2},"sectionTitle":"展开查看旧版代码（仅展示，不执行）","currentQuestion":"展开查看旧版代码（仅展示，不执行）","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-c5ac1bc71333f83a7a8635a7","nextBlock":null,"prerequisites":[{"id":"b-c5ac1bc71333f83a7a8635a7","url":"#b-c5ac1bc71333f83a7a8635a7","role":"section-title"}],"relatedBlocks":[]}]}
