影片高階EN4.4 萬 次觀看
Code a Reinforcement Learning Library in C from Scratch (Full Course)
看影片(在新分頁開啟原站)連到 YouTube・freeCodeCamp.org
摘要
從零開始在 C 語言中實作完整的強化學習框架,包含自定義的自動微分引擎與計算圖。課程先建立 Snake 遊戲環境,接著實作 REINFORCE 策略梯度演算法,最後整合訓練流程讓智慧體學會遊戲。
This course builds a complete reinforcement learning framework in C from scratch, including an autograd engine, a Snake game environment, and the REINFORCE algorithm.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 從零實作 C 語言自動微分引擎與計算圖結構
- 建立 Snake 遊戲環境並定義狀態向量與獎勵邏輯
- 實作 REINFORCE 演算法完成端到端訓練流程
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction & Overview
- 02:48Setting Up the Autograd Engine & Variables
- 16:09Matrix Creation & Allocation Logic
- 26:27Building Nodes & Computational Graph Traversal
- 56:12Forward & Backward Activation Operations
- 1:04:40Matrix Multiplication (Row-Major & Transpose Operations)
- 1:23:49Building the Snake Game RL Environment
- 1:37:16State Vector Encoding & Reward System
- 1:44:10Training Pipeline & Rollout Buffers Setup
- 1:59:22Implementing the Actor-Critic Model
- 2:07:39Computing Returns, Advantages & Backward Pass
- 2:14:41Optimizer Step, Evaluation & Conclusion
適合誰看
適合想要深入理解強化學習原理並具備 C 語言基礎的開發者。
摘要依據
- 依據
- 自動字幕
為什麼排在這裡
- 人氣
- 0.75
- 新鮮
- 0.68
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Curriculum for Reinforcement Learning文章 ・ Lilian Weng(部落格) ・
- Training Agents 4: From reward functions to environments.影片 ・ Hugging Face ・ 1 小時 14 分 ・
- CMU AI Agents 2026: 9. Reinforcement Learning Basics影片 ・ Graham Neubig ・ 1 小時 18 分 ・
- Build A Reasoning Model From Scratch 6: Reinforcement Learning 1 (Implementing GRPO for RLVR)影片 ・ Sebastian Raschka ・ 1 小時 27 分 ・
- 人工智慧:機器學習與理論基礎 05. Reinforcement learning影片 ・ NTU OpenCourseWare ・ 2 小時 16 分 ・
- 动手实现悬崖漫步 SARSA、Q-Learning《RethinFun强化学习》2.3影片 ・ RethinkFun ・ 9 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
