Vadim Khotilovich
b21e658a02
[R-package] JSON dump format and a couple of bugfixes ( #1855 )
...
* [R-package] JSON tree dump interface
* [R-package] precision bugfix in xgb.attributes
* [R-package] bugfix for cb.early.stop called from xgb.cv
* [R-package] a bit more clarity on labels checking in xgb.cv
* [R-package] test JSON dump for gblinear as well
* whitespace lint
2016-12-11 19:48:39 +01:00
Vadim Khotilovich
a44032d095
[CORE] The update process for a tree model, and its application to feature importance ( #1670 )
...
* [CORE] allow updating trees in an existing model
* [CORE] in refresh updater, allow keeping old leaf values and update stats only
* [R-package] xgb.train mod to allow updating trees in an existing model
* [R-package] added check for nrounds when is_update
* [CORE] merge parameter declaration changes; unify their code style
* [CORE] move the update-process trees initialization to Configure; rename default process_type to 'default'; fix the trees and trees_to_update sizes comparison check
* [R-package] unit tests for the update process type
* [DOC] documentation for process_type parameter; improved docs for updater, Gamma and Tweedie; added some parameter aliases; metrics indentation and some were non-documented
* fix my sloppy merge conflict resolutions
* [CORE] add a TreeProcessType enum
* whitespace fix
2016-12-04 09:33:52 -08:00
Vadim Khotilovich
f9648ac320
[R-package] store numeric attributes with higher precision ( #1628 )
2016-10-03 11:01:17 -07:00
Vadim Khotilovich
3efff6d052
fix for VX ( #1614 )
2016-09-27 15:19:20 -07:00
Vadim Khotilovich
693ddb860e
More robust DMatrix creation from a sparse matrix ( #1606 )
...
* [CORE] DMatrix from sparse w/ explicit #col #row; safer arg types
* [python-package] c-api change for _init_from_csr _init_from_csc
* fix spaces
* [R-package] adopt the new XGDMatrixCreateFromCSCEx interface
* [CORE] redirect old sparse creators to new ones
2016-09-25 10:01:22 -07:00
Vadim Khotilovich
bdfa8c0e09
[R-package] a few fixes for R ( #1485 )
...
* [R] fix #1465
* [R] add sanity check to fix #1434
* [R] some clean-ups for custom obj&eval; require maximize only for early stopping
2016-08-20 05:09:03 -05:00
Vadim Khotilovich
75f401481f
no exception throwing within omp parallel; set nthread in Learner ( #1421 )
2016-07-29 10:08:03 -07:00
Vadim Khotilovich
d5c143367d
[R-package] GPL2 dependency reduction and some fixes ( #1401 )
...
* [R] do not remove zero coefficients from gblinear dump
* [R] switch from stringr to stringi
* fix #1399
* [R] separate ggplot backend, add base r graphics, cleanup, more plots, tests
* add missing include in amalgamation - fixes building R package in linux
* add forgotten file
* [R] fix DESCRIPTION
* [R] fix travis check issue and some cleanup
2016-07-27 00:05:04 -07:00
Vadim Khotilovich
11efa038bd
[R-package] various fixes for R CMD check ( #1328 )
...
* [R] fix xgb.create.features
* [R] fixes for R CMD check
2016-07-04 10:40:35 -07:00
Vadim Khotilovich
4fb1b8a5a7
Merge branch 'master' into r_callbacks
2016-07-03 15:04:58 -05:00
Vadim Khotilovich
344d7b4699
[R] disable for now some of the RF tests that fail in travis
2016-06-27 02:49:23 -05:00
Vadim Khotilovich
ae0ca486ed
added name to DESCRIPTION
2016-06-27 02:23:37 -05:00
Vadim Khotilovich
4b2eedc186
fix merge conflicts
2016-06-27 02:18:59 -05:00
Vadim Khotilovich
e1a52e896c
[R] rm renamed CB's docs
2016-06-27 02:01:54 -05:00
Vadim Khotilovich
fd4300b95a
[R] additional and modified tests
2016-06-27 02:00:46 -05:00
Vadim Khotilovich
3b6b344561
[R] adopt demos and vignettes to a more consistent parameter style
2016-06-27 02:00:39 -05:00
Vadim Khotilovich
a0aa305268
[R] docs update - callbacks and parameter style
2016-06-27 01:59:58 -05:00
Vadim Khotilovich
e9eb34fabc
[R] parameter style consistency
2016-06-27 01:58:03 -05:00
Vadim Khotilovich
56bd442b31
[R] simplified the code; parameter style consistency
2016-06-27 01:57:57 -05:00
Vadim Khotilovich
8473b18c3d
[R] consolidate importFrom-s; parameter style
2016-06-27 01:50:03 -05:00
Vadim Khotilovich
b9aeeda074
[R] in predict: doc, examples, reshape parameter
2016-06-27 01:49:57 -05:00
Vadim Khotilovich
c342614a81
[R] add parameter deprecation related utilities; code style
2016-06-27 01:49:51 -05:00
Vadim Khotilovich
76650c096f
[R] CB naming change; cv-prediction as CB; add.cb function to ensure proper CB order; docs; minor fixes + changes
2016-06-27 01:49:47 -05:00
Vadim Khotilovich
4e1269b522
print.xgb.cv fix - Rd too
2016-06-09 10:12:20 -05:00
Vadim Khotilovich
79704cdfb4
print.xgb.cv fix
2016-06-09 09:29:19 -05:00
Vadim Khotilovich
f34f9fb9f7
R-callbacks tests + other tests brushup
2016-06-09 02:53:37 -05:00
Vadim Khotilovich
2e0ffcc303
R-callbacks docs
2016-06-09 02:52:09 -05:00
Vadim Khotilovich
422b0000a8
R-callbacks refactor
2016-06-09 02:46:13 -05:00
Vadim Khotilovich
754f3a6e07
protection against returning 0-length vector
2016-06-09 02:45:02 -05:00
Vadim Khotilovich
bdf14007b5
print method; construct from initial xgb.Booster
2016-06-09 02:43:25 -05:00
Vadim Khotilovich
264c222fe0
Merge remote-tracking branch 'upstream/master'
2016-06-09 02:32:26 -05:00
Vadim Khotilovich
9a48a40cf1
Fixes for multiple and default metric ( #1239 )
...
* fix multiple evaluation metrics
* create DefaultEvalMetric only when really necessary
* py test for #1239
* make travis happy
2016-06-04 22:17:35 -07:00
Vadim Khotilovich
26a82621a2
make travis happy
2016-06-04 22:38:24 -05:00
Vadim Khotilovich
ba04a1d552
py test for #1239
2016-06-04 22:08:10 -05:00
Vadim Khotilovich
22ad94d281
create DefaultEvalMetric only when really necessary
2016-05-31 08:20:25 -05:00
Vadim Khotilovich
64b9dcf7b5
fix multiple evaluation metrics
2016-05-31 08:20:17 -05:00
Vadim Khotilovich
611b317057
make travis happy
2016-05-17 00:24:06 -05:00
Vadim Khotilovich
2b8b18583f
some more xgb.model.dt.tree improvements
2016-05-17 00:24:06 -05:00
Vadim Khotilovich
be65949ba2
xgb.model.dt.tree up to x100 faster
2016-05-17 00:24:06 -05:00
Vadim Khotilovich
ffed95eec0
py: replace attr_names() with attributes()
2016-05-15 22:04:38 -05:00
Vadim Khotilovich
26b36714ea
doxygen suggested fix
2016-05-15 03:05:19 -05:00
Vadim Khotilovich
185fef3fce
fixes for lint
2016-05-15 02:35:37 -05:00
Vadim Khotilovich
a13a3a4d76
attr_names for python interface; attribute deletion via set_attr
2016-05-15 02:05:10 -05:00
Vadim Khotilovich
8664217a5a
[R] more attribute handling functionality
2016-05-14 18:19:18 -05:00
Vadim Khotilovich
ea9285dd4f
methods to delete an attribute and get names of available attributes
2016-05-14 18:19:18 -05:00
Vadim Khotilovich
5a78118396
use short-circuiting scalar &&
2016-05-02 01:01:22 -05:00
Vadim Khotilovich
79c7c9e5bb
R accessors for model attributes
2016-05-02 00:20:44 -05:00
Vadim Khotilovich
0839aed380
fix attribute accessors C-interface for R
2016-05-02 00:19:38 -05:00
Vadim Khotilovich
b5fb437aa7
learner attribute setter & getter for R interface
2016-05-01 15:40:51 -05:00
Vadim Khotilovich
b588479f66
.Call-interface functions need to return SEXP
2016-05-01 15:40:51 -05:00
Vadim Khotilovich
24e3c5773e
Merge branch 'master' into seed_in_configure
2016-04-26 22:47:01 -05:00
Vadim Khotilovich
811c6ef58b
obey the lint
2016-04-26 22:11:19 -05:00
Vadim Khotilovich
3e0732dea9
in Configure, set random seed only for uninitialized model
2016-04-26 02:03:22 -05:00
Vadim Khotilovich
0527b17c9d
avoid collecting duplicate parameters in Booster::cfg_
2016-04-25 22:08:53 -05:00
Vadim Khotilovich
1160d0bf25
ability to specify threshold for the error metric
2016-04-25 01:29:04 -05:00
Vadim Khotilovich
25965227b3
Merge branch 'master' into S4toS3
2016-04-02 14:30:44 -05:00
Vadim Khotilovich
de63993543
Merge branch 'master' into make_fix
2016-03-31 01:19:52 -05:00
Vadim Khotilovich
9f177d7353
fix Makefile to use MAKE variable
2016-03-31 00:47:51 -05:00
Vadim Khotilovich
33131e2e13
make travis happy
2016-03-27 20:28:40 -05:00
Vadim Khotilovich
fb5291271e
fix print.xgb.DMatrix doc
2016-03-27 19:42:26 -05:00
Vadim Khotilovich
4b760762f9
added unit tests for xgb.DMatrix
2016-03-27 19:23:08 -05:00
Vadim Khotilovich
71f402ac16
convert S4 to S3; add some extra methods to DMatrix
2016-03-27 19:22:22 -05:00
Vadim Khotilovich
d27bfb61b0
consolidated DMatrix&Booster stuff into xgb.DMatrix.R & xgb.Booster.R
2016-03-27 19:17:13 -05:00
Vadim Khotilovich
1d504d6c6c
added XGDMatrixNumCol_R function
2016-03-27 19:11:22 -05:00
Vadim Khotilovich
f18852376f
hopefully, this would make travis happy
2015-12-18 15:49:15 -06:00
Vadim Khotilovich
0c38a916fe
make some gcc versions happy by using the fwrite return value
2015-12-18 15:03:39 -06:00
Vadim Khotilovich
f97c4ccb60
make gcc5 check silent when there's no gcc5
2015-12-18 14:34:16 -06:00
Vadim Khotilovich
d867579a69
make it possible to run create_wrap.sh not only from its directory
2015-12-18 14:18:28 -06:00
Vadim Khotilovich
b47725a65b
add Eclipse stuff to .gitignore
2015-12-12 21:45:41 -06:00
Vadim Khotilovich
c70022e6c4
spelling, wording, and doc fixes in c++ code
...
I was reading through the code and fixing some things in the comments.
Only a few trivial actual code changes were made to make things more
readable.
2015-12-12 21:40:12 -06:00
Vadim Khotilovich
c18e081f48
cleanup
2015-05-01 16:16:50 -05:00
Vadim Khotilovich
f05c7d87cb
Merge remote branch 'src/master' into custom_loss_cv_fix
2015-05-01 15:42:50 -05:00
Vadim Khotilovich
0a3e7722fd
a safeguard against someone using automatic folds creation with ranking
2015-05-01 15:16:30 -05:00
Vadim Khotilovich
f325930bd9
Improved logic in stratified CV to guess class/regr
...
Somewhat more robust and clear logic in stratified CV to guess classification/regression settings. Allows to accomodate custom objectives (classification is assumed when number of unique values in labels <= 5).
2015-05-01 15:08:08 -05:00
Vadim Khotilovich
76cef701ab
moved the external graphing packages to Suggested in order to trim the dependencies
2015-04-07 18:02:29 -05:00
Vadim Khotilovich
aefd234da3
moved the external graphing packages to Suggested in order to trim the dependencies
2015-04-07 17:43:53 -05:00
Vadim Khotilovich
0405676734
Merge remote branch 'src/master'
2015-04-07 17:16:19 -05:00
Vadim Khotilovich
31b0e53cd4
make it possible to use a list of pre-defined CV folds in xgb.cv
2015-04-03 13:24:04 -05:00
Vadim Khotilovich
c03b42054f
Merge remote branch 'src/master'
2015-04-03 13:18:40 -05:00
Vadim Khotilovich
271e8202a7
force xgb.cv to return numeric performance values instead of character; update its docs
2015-04-03 12:20:34 -05:00
Vadim Khotilovich
b04920d8e7
update documentation for xgb.cv
2015-04-03 11:14:09 -05:00
Vadim Khotilovich
611d69c771
fix some wording
2015-04-02 19:59:06 -05:00
Vadim Khotilovich
b8711226e2
added an option for stratified CV to xgb.cv
2015-04-02 19:48:23 -05:00