Yang Zhang
cc012dac68
Updated sklearn_parallel.py for soon-to-be-deprecated modules ( #2134 )
2017-03-22 16:18:15 -05:00
Yang Zhang
f6f5003f79
Updated sklearn_examples.py for soon-to-be-deprecated modules ( #2117 )
2017-03-21 20:07:27 -07:00
Icyblade Dai
301540f1d9
fix DeprecationWarning on sklearn.cross_validation ( #2075 )
...
* fix DeprecationWarning on sklearn.cross_validation
* fix syntax
* fix kfold n_split issue
* fix mistype
* fix n_splits multiple value issue
* split should pass a iterable
* use np.arange instead of xrange, py3 compatibility
2017-03-17 08:38:22 -05:00
Muneyuki Noguchi
8b827425b2
Fix comment in cross_validation.py ( #1923 )
...
cv() doesn't output std_value because show_stdv is set to False.
2017-01-02 09:40:41 -05:00
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
闻波
669a387c99
fix a typo and some code format ( #1470 )
...
* fix a typo
* fix a typo and some code format
2016-08-18 12:41:18 -07:00
Shengwen Yang
77d17f6264
Add support for Gamma regression ( #1258 )
...
* Add support for Gamma regression
* Use base_score to replace the lp_bias
* Remove the lp_bias config block
* Add a demo for running gamma regression in Python
* Typo fix
* Revise the description for objective
* Add a script to generate the autoclaims dataset
2016-07-06 10:22:46 -07:00
tqchen
149589c583
[PYTHON] Refactor trainnig API to use callback
2016-05-19 21:31:23 -07:00
王煜杰
d52d0ee9ed
cause this code test pickle the booster, so change bst2 -> bst3
2016-02-25 14:49:33 +08:00
tqchen
d75e3ed05d
[LIBXGBOOST] pass demo running.
2016-01-16 10:24:01 -08:00
Johan Manders
edf4595bc1
Added evals result demos
2015-10-14 13:45:59 +02:00
Johan Manders
f1e1cc28ff
Access xgboost eval metrics by using sklearn
2015-10-14 13:43:14 +02:00
Johan Manders
122ec48a89
Update evals_result.py
2015-10-14 13:40:20 +02:00
Johan Manders
6e2bdcbbbc
Demo for accessing eval metrics in xgboost
2015-10-14 13:22:39 +02:00
John Wittenauer
7a3676851d
Cleaned up guide-python directory.
2015-08-13 20:32:47 -04:00
tqchen
e8de5da3a5
Document refactor
...
change badge
2015-08-02 19:01:38 -07:00
tqchen
c2fec29bfa
python package refactor into python-package
2015-07-30 22:04:45 -07:00
Skipper Seabold
4a37b852a0
DOC: Add early stopping example
2015-07-08 13:55:47 -05:00
tqchen
91a5390929
checkin copy
2015-05-17 21:29:51 -07:00
tqchen
e6b8b23a2c
allow booster to be pickable, add copy function
2015-05-16 12:59:55 -07:00
Skipper Seabold
15ea00540a
EX: Make separate example for fork issue.
2015-05-11 09:30:51 -05:00
Skipper Seabold
99c2df9913
EX: Show example of pickling and parallel use.
2015-05-11 09:09:08 -05:00
tqchen
869c68f149
minor
2015-05-01 22:46:06 -07:00
tqchen
5123b07d73
add more docs
2015-04-19 00:55:11 -07:00
Skipper Seabold
a0e07f16c4
Update demo scripts to use installed python library
2015-04-08 14:22:54 -05:00
Jamie Hall
a1a427af37
Fix some stuff
2015-04-02 00:05:14 -07:00
Jamie Hall
136e902fb2
Initial commit
2015-04-01 23:29:05 -07:00
tqchen
5f08313cb2
make wrapper ok
2014-11-23 14:03:59 -08:00
tqchen
168bb0d0c9
add predict leaf indices
2014-11-21 09:32:09 -08:00
tqchen
512a0f69fd
add glm
2014-09-04 21:09:52 -07:00
tqchen
a1c6e22af9
add create from csc
2014-09-04 20:57:49 -07:00
tqchen
6c6d00261c
small fix to the doc
2014-09-04 09:18:52 -07:00
tqchen
da9c856701
add cv for python
2014-09-03 22:43:55 -07:00
Tianqi Chen
586d6ae740
Update basic_walkthrough.py
2014-09-03 22:05:56 -07:00
tqchen
60e1167b56
fix doc
2014-09-03 13:20:23 -07:00
tqchen
7a61f0dca2
ok
2014-09-03 13:18:36 -07:00
tqchen
c1e0ff0326
push python examples in
2014-09-03 13:15:17 -07:00
tqchen
fa11840f4b
move python example
2014-09-03 13:13:54 -07:00