60 Commits

Author SHA1 Message Date
Tong He
ace4016c36
Replace cBind by cbind (#3203)
* modify test_helper.R

* fix noLD

* update desc

* fix solaris test

* fix desc

* improve fix

* fix url

* change Matrix cBind to cbind

* fix

* fix error in demo

* fix examples
2018-03-28 10:05:47 -07:00
Vadim Khotilovich
706be4e5d4
Additional improvements for gblinear (#3134)
* fix rebase conflict

* [core] additional gblinear improvements

* [R] callback for gblinear coefficients history

* force eta=1 for gblinear python tests

* add top_k to GreedyFeatureSelector

* set eta=1 in shotgun test

* [core] fix SparsePage processing in gblinear; col-wise multithreading in greedy updater

* set sorted flag within TryInitColData

* gblinear tests: use scale, add external memory test

* fix multiclass for greedy updater

* fix whitespace

* fix typo
2018-03-13 01:27:13 -05:00
Vadim Khotilovich
e8a6597957 [R] maintenance Nov 2017; SHAP plots (#2888)
* [R] fix predict contributions for data with no colnames

* [R] add a render parameter for xgb.plot.multi.trees; fixes #2628

* [R] update Rd's

* [R] remove unnecessary dep-package from R cmake install

* silence type warnings; readability

* [R] silence complaint about incomplete line at the end

* [R] initial version of xgb.plot.shap()

* [R] more work on xgb.plot.shap

* [R] enforce black font in xgb.plot.tree; fixes #2640

* [R] if feature names are available, check in predict that they are the same; fixes #2857

* [R] cran check and lint fixes

* remove tabs

* [R] add references; a test for plot.shap
2017-12-05 09:45:34 -08:00
Vadim Khotilovich
c66ca79221 [R] native routines registration (#2290)
* [R] add native routines registration

* c_api.h needs to include <cstdint> since it uses fixed width integer types

* [R] use registered native routines from R code

* [R] bump version; add info on native routine registration to the contributors guide

* make lint happy
2017-05-14 11:00:46 -07:00
Vadim Khotilovich
a375ad2822 [R] maintenance Apr 2017 (#2237)
* [R] make sure things work for a single split model; fixes #2191

* [R] add option use_int_id to xgb.model.dt.tree

* [R] add example of exporting tree plot to a file

* [R] set save_period = NULL as default in xgboost() to be the same as in xgb.train; fixes #2182

* [R] it's a good practice after CRAN releases to bump up package version in dev

* [R] allow xgb.DMatrix construction from integer dense matrices

* [R] xgb.DMatrix: silent parameter; improve documentation

* [R] xgb.model.dt.tree code style changes

* [R] update NEWS with parameter changes

* [R] code safety & style; handle non-strict matrix and inherited classes of input and model; fixes #2242

* [R] change to x.y.z.p R-package versioning scheme and set version to 0.6.4.3

* [R] add an R package versioning section to the contributors guide

* [R] R-package/README.md: clean up the redundant old installation instructions, link the contributors guide
2017-05-01 22:51:34 -07:00
Vadim Khotilovich
2b5b96d760 [R] various R code maintenance (#1964)
* [R] xgb.save must work when handle in nil but raw exists

* [R] print.xgb.Booster should still print other info when handle is nil

* [R] rename internal function xgb.Booster to xgb.Booster.handle to make its intent clear

* [R] rename xgb.Booster.check to xgb.Booster.complete and make it visible; more docs

* [R] storing evaluation_log should depend only on watchlist, not on verbose

* [R] reduce the excessive chattiness of unit tests

* [R] only disable some tests in windows when it's not 64-bit

* [R] clean-up xgb.DMatrix

* [R] test xgb.DMatrix loading from libsvm text file

* [R] store feature_names in xgb.Booster, use them from utility functions

* [R] remove non-functional co-occurence computation from xgb.importance

* [R] verbose=0 is enough without a callback

* [R] added forgotten xgb.Booster.complete.Rd; cran check fixes

* [R] update installation instructions
2017-01-21 11:22:46 -08:00
Tong He
170b349f3e Fix the "No visible binding" CRAN checks (#1504)
* fix cran check

* change required R version because of utils::globalVariables
2016-08-26 10:24:04 -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
8473b18c3d [R] consolidate importFrom-s; parameter style 2016-06-27 01:50:03 -05:00
Vadim Khotilovich
422b0000a8 R-callbacks refactor 2016-06-09 02:46:13 -05:00
unknown
0052b193cf Update lib version dependencies (for DiagrammeR mainly)
Fix @export tag in each R file (for Roxygen 5, otherwise it doesn't work anymore)
Regerate Roxygen doc
2015-11-07 21:01:28 +01:00
terrytangyuan
6024480400 Fixed most of the lint issues 2015-10-28 23:24:17 -04:00
kferris
7a94bdb60c Switch missing values from 0 to NA in R package 2015-10-07 18:51:47 -04:00
unknown
3d6c831e8a add error for data.frame, add weight to xgboost 2015-09-02 21:43:23 -07:00
hetong007
b0be833c75 add save_period 2015-08-27 14:30:23 -07:00
hetong007
733d23aef8 rename arguments to be dot-seperated 2015-05-25 11:51:01 -07:00
by321
5dacab0e22 new parameter in xgboost() and xgb.train() to print every N-th progress message 2015-05-11 14:18:24 -07:00
hetong007
3f9921762a support both early stop name 2015-05-09 18:08:47 -07:00
hetong007
54fb49ee5c add early stopping to R 2015-05-05 16:31:49 -07:00
El Potaeto
7d0ac3a3dd update links dmlc 2015-03-22 16:41:05 +01:00
pommedeterresautee
cdfa78a3b9 small changes in doc 2015-03-15 23:51:26 +01:00
hetong
41b080e35f To submit to CRAN we cannot use more than 2 threads in our examples/vignettes 2015-03-03 00:21:24 -08:00
El Potaeto
9d11936790 improve function documentation.
Switch xgboost detailed parameters with xgb.tain function.
2015-02-11 10:12:18 +01:00
El Potaeto
a45497e6f3 add web address 2015-02-08 22:46:59 +01:00
El Potaeto
76e24fdd36 documentation simplification 2015-02-08 22:46:29 +01:00
El Potaeto
9d89441e38 small doc fix 2015-02-07 23:58:09 +01:00
El Potaeto
75f205b0b1 fix documentation 2015-02-07 23:53:55 +01:00
El Potaeto
85739c537d new doc 2015-02-07 23:40:49 +01:00
hetong
f75387f701 update document 2015-01-25 10:37:11 -08:00
Tong He
8971f0ff50 Update xgboost.R 2015-01-25 10:21:24 -08:00
El Potaeto
e64cb99f89 Missing parameter documentation
Fix data documentation
2014-12-30 16:22:50 +01:00
Tong He
98ee7e8057 Update xgboost.R
add parameter missing
2014-11-20 15:14:05 -08:00
hetong
9e3b878943 refine style with max.depth 2014-09-06 23:20:11 -07:00
hetong
1925321a16 remove incorrect link to old folders 2014-09-06 23:14:38 -07:00
hetong
d174a79fbd add doc for agaricus.test 2014-09-06 21:54:12 -07:00
hetong
43a781f59b improvement for reducing warnings 2014-09-06 21:28:42 -07:00
hetong
e04b6aaec5 add documentation for datasets 2014-09-06 19:02:23 -07:00
tqchen
b858283ec5 add basic walkthrough 2014-09-06 10:11:45 -07:00
tqchen
bc1817ca2f Merge branch 'master' of ssh://github.com/tqchen/xgboost 2014-09-05 20:34:46 -07:00
tqchen
984102e586 style cleanup, incomplete CV 2014-09-05 20:34:41 -07:00
hetong
d776e0fdf5 fix iris multiclass problem 2014-09-05 19:22:27 -07:00
hetong
24e87e1cf8 fix doc with redirection to inst/examples 2014-09-01 15:07:17 -07:00
unknown
6ed5d37771 speed test for R, and refinement of item list in doc 2014-08-28 22:00:13 -07:00
hetong
d95bc458e3 fix NAMESPACE 2014-08-28 08:16:45 -07:00
hetong
73419f6cd7 compile Rd files, i.e. R documents 2014-08-28 08:12:48 -07:00
tqchen
df6cd25fd5 OK 2014-08-28 07:43:26 -07:00
tqchen
d79161cfce chg 2014-08-28 07:38:44 -07:00
tqchen
d00302d3ac get a pass in function docstring 2014-08-28 07:35:57 -07:00
unknown
8127f31cdd add documentation notes 2014-08-28 01:44:03 -07:00