add plot
This commit is contained in:
parent
d5d48560a7
commit
5196458305
BIN
doc/img/cart.png
Normal file
BIN
doc/img/cart.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 175 KiB |
BIN
doc/img/twocart.png
Normal file
BIN
doc/img/twocart.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
@ -47,7 +47,7 @@ where ``$ L $`` is the loss function, and ``$ \Omega $`` is the regularization t
|
|||||||
|
|
||||||
The boosting trees model is a set of classification and regression trees. Here's a simple example of such a model:
|
The boosting trees model is a set of classification and regression trees. Here's a simple example of such a model:
|
||||||
|
|
||||||
![CART]()
|

|
||||||
|
|
||||||
We classify the members in thie family into different leaves, and assign them the score on corresponding leaf.
|
We classify the members in thie family into different leaves, and assign them the score on corresponding leaf.
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ We classify the members in thie family into different leaves, and assign them th
|
|||||||
|
|
||||||
However a single CART model is not so strong in practice. How about predict with more trees?
|
However a single CART model is not so strong in practice. How about predict with more trees?
|
||||||
|
|
||||||
![TwoCART]()
|

|
||||||
|
|
||||||
Now we are predicting with two trees, by predict on each tree individually and then sum the scores up. Mathematically, we can write our model into the form
|
Now we are predicting with two trees, by predict on each tree individually and then sum the scores up. Mathematically, we can write our model into the form
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user