天驭学院 · 教学材料 · Machine Learning for Trading
Text walkthrough
Random Forest 与 XGBoost
A self-paced text walkthrough, without video or audio. See the article below for worked examples and materials.
Course Notes
In "Machine Learning for Trading" → "模型训练", this lesson "Random Forest 与 XGBoost" builds knowledge you can apply immediately.
随机森林对多棵随机化树作集成,XGBoost按残差/梯度顺序加树,训练机制不同。配套可运行实现为随机森林,不把它冒充XGBoost训练证据。 运行ml_lab.py→核时间切分→与多数类基线比较→阅读树深/叶子样本限制;XGBoost另列未运行而非推断同结果。 本课作业:给一个两模型比较实验设计,至少固定数据、分界、指标和调参次数,说明本课实际运行哪种。
These points align with the video walkthrough—take notes as you watch.
After studying, complete the companion practice lesson to move from understanding to doing.
Key Takeaways
完成标记仅记录个人学习,不代表能力认证。练习使用教学假设或合成数据,不要求真实开户、入金或交易。