Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shataowei committed Dec 21, 2019
1 parent d9f3046 commit afeb392
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 机器学习/集成学习/GBDT.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Cart tree,但是都是回归树
- 负梯度:y·𝑒𝑥𝑝(−𝑦𝑓(𝑥))
除了负梯度计算和叶子节点的最佳负梯度拟合的线性搜索,多元GBDT分类和二元GBDT分类以及GBDT回归算法过程相同

# 什么是gbdt中的残差的负梯度
# 什么是gbdt中的损失函数的负梯度
![](https://tva1.sinaimg.cn/large/006y8mN6gy1g94afa5h1lj3060017mx0.jpg)

当loss函数为均方误差![](https://tva1.sinaimg.cn/large/006y8mN6gy1g94ajgymkuj303w011jr6.jpg),gbdt中的残差的负梯度的结果y-H(x)正好与boostingtree的拟合残差一致
Expand Down

0 comments on commit afeb392

Please sign in to comment.