8 Commits

Author SHA1 Message Date
AbdealiJK
6f16f0ef58 Use bst_float consistently throughout (#1824)
* Fix various typos

* Add override to functions that are overridden

gcc gives warnings about functions that are being overridden by not
being marked as oveirridden. This fixes it.

* Use bst_float consistently

Use bst_float for all the variables that involve weight,
leaf value, gradient, hessian, gain, loss_chg, predictions,
base_margin, feature values.

In some cases, when due to additions and so on the value can
take a larger value, double is used.

This ensures that type conversions are minimal and reduces loss of
precision.
2016-11-30 10:02:10 -08:00
Skipper Seabold
a0e07f16c4 Update demo scripts to use installed python library 2015-04-08 14:22:54 -05:00
tqchen
3c1ed847fb remove dependency on bst 2014-08-26 18:06:22 -07:00
tqchen
8bf758c63b chg wrapper 2014-08-23 14:27:56 -07:00
Joerg Rings
93d83ca077 Compatibility with both Python 2(.7) and 3 2014-05-19 11:23:53 -05:00
tqchen
98e507451c chg all settings to obj 2014-05-16 19:10:52 -07:00
tqchen
6af6d64f0b a correct version 2014-05-15 21:11:46 -07:00
tqchen
a7f3d7edd7 ok 2014-05-15 20:05:22 -07:00