40 Commits

Author SHA1 Message Date
James Lamb
894e9bc5d4
[R-package] remove dependency on {magrittr} (#6928)
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
2021-05-13 04:34:59 +08:00
Jiaming Yuan
8b1afce316
Add Github Action for R. (#5911)
* Fix lintr errors.
2020-07-20 19:23:36 +08: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
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
Vadim Khotilovich
d7406e07f3 [R] xgb.plot.tree fixes (#1939)
* [R] a few fixes and improvements to xgb.plot.tree

* [R] deprecate n_first_tree replace with trees; fix types in xgb.model.dt.tree
2017-01-06 11:09:51 -08:00
Tong He
ce84af7923 0.6-4 submission (#1935) 2017-01-04 23:31:05 -08:00
Vadim Khotilovich
e9eb34fabc [R] parameter style consistency 2016-06-27 01:58:03 -05:00
Michaël Benesty
b2e68b8dc7 New documentation rewording 2015-12-09 18:26:56 +01:00
pommedeterresautee
425a5dd094 fix relative to examples #Rstat 2015-11-30 16:21:43 +01:00
pommedeterresautee
6e370b90fd some fixes for Travis #Rstat 2015-11-30 15:47:10 +01:00
pommedeterresautee
f28b7ed0cd parameter names change in R function 2015-11-27 14:48:54 +01:00
unknown
7cb34e3ad6 Fix some bug + improve display + code clean 2015-11-07 22:24:37 +01:00
unknown
996645dc17 Change the way functions are called 2015-11-07 22:04:54 +01:00
unknown
77ae180d3d Remove DiagrammeR dependency to make travis happy... 2015-11-07 21:46:08 +01:00
unknown
635645c650 Rewrite tree plot function
Replace Mermaid by GraphViz
2015-11-07 21:00:02 +01:00
terrytangyuan
6024480400 Fixed most of the lint issues 2015-10-28 23:24:17 -04: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
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
5e94126963 fix mermaid 2015-01-25 21:07:06 +01:00
El Potaeto
f1d9fe8153 fix a bug introduced in previous commit 2015-01-21 13:31:17 +01:00
El Potaeto
e475b7d84e Avoid some Cran check error messages 2015-01-21 13:26:34 +01:00
hetong007
d87cb24793 documentation update 2015-01-20 16:21:13 -08:00
hetong007
6901e90730 resolving not-CRAN issues 2015-01-20 15:51:42 -08:00
El Potaeto
31a3b38ef8 add new parameters model to avoid the use of dump file for functions plot, dt.tree, importance
add new size parameter for plot function
2015-01-11 09:40:55 +01:00
El Potaeto
c8c5789efd add new parameters to several functions avoid the need of a text dump 2015-01-11 03:06:41 +01:00
El Potaeto
51935851bd fix plenty of small bugs 2015-01-09 18:24:12 +01:00
El Potaeto
d532f04394 add new function to read model and use it in the plot function 2015-01-07 17:47:50 +01:00
El Potaeto
e380e4facf refactoring for perf 2015-01-07 17:09:56 +01:00
El Potaeto
cce26756bf add style option 2015-01-07 17:05:34 +01:00
pommedeterresautee
9e20893d35 Change in aesthetic
Improve documentation
2015-01-06 23:57:33 +01:00
El Potaeto
3dd202a19e Add stat indicators in plot 2015-01-06 18:18:55 +01:00
El Potaeto
94d070da60 add limit number of trees option 2015-01-06 13:59:29 +01:00
El Potaeto
c64bfad5bb fix import issue 2015-01-05 19:35:33 +01:00
El Potaeto
f793df671b Change code to look like a function 2015-01-05 19:26:26 +01:00
El Potaeto
b9799c6ac4 refactor plot function 2015-01-04 22:42:17 +01:00
El Potaeto
ffbd78fce4 use style CSS class instead of q style per item 2015-01-04 22:40:31 +01:00
El Potaeto
f6290ad792 plot all trees 2015-01-04 21:56:41 +01:00
El Potaeto
33bb168574 basis to plot 2015-01-04 17:23:53 +01:00
El Potaeto
8b45ef07ca build data.table from raw model data 2015-01-04 11:21:39 +01:00