gbm-developers / gbm3

Gradient boosted models
135 stars 115 forks source link

ErrorReduction #145

Open lyashevska opened 7 years ago

lyashevska commented 7 years ago

I wonder if anybody can point out how ErrorReduction is calculated in pretty.gbm.tree.r

https://github.com/gbm-developers/gbm3/blob/62c8dafd87b16fe1d2079cdd5058169f1f08967b/R/pretty-gbm-tree.r#L32

I am trying to calculate it by hand and I cannot find a piece of code which would calculates it for gbm object.

Thanks