david-cortes
73713de601
[R] rename Quality -> Gain ( #9938 )
2023-12-31 13:01:00 +08:00
david-cortes
8b9c98b65b
[R] Clearer function signatures for S3 methods ( #9937 )
2023-12-31 10:45:04 +08:00
david-cortes
e40c4260ed
[R] Enable 'dot' dump format ( #9930 )
2023-12-30 13:28:27 +08:00
Michael Mayer
52620fdb34
[R] Improve more docstrings ( #9919 )
2023-12-26 17:30:13 +08:00
Michael Mayer
b807f3e30c
[R] improve docstrings for "xgb.Booster.R" ( #9906 )
2023-12-21 10:01:30 +08:00
david-cortes
ff3d82c006
[R] Refactor field logic for dmatrix ( #9901 )
2023-12-18 20:31:01 +08:00
david-cortes
cd473c9da3
[R] enable multi-dimensional base_margin ( #9885 )
2023-12-14 09:16:53 +08:00
david-cortes
42173d7bc3
[doc] Clarify the effect of enable_categorical ( #9877 )
2023-12-13 08:39:41 +08:00
david-cortes
ddab49a8be
[doc][R] Update arguments for ellipsis in predict ( #9868 )
2023-12-12 12:13:47 +08:00
Jiaming Yuan
faf0f2df10
Support dataframe data format in native XGBoost. ( #9828 )
...
- Implement a columnar adapter.
- Refactor Python pandas handling code to avoid converting into a single numpy array.
- Add support in R for transforming columns.
- Support R data.frame and factor type.
2023-12-12 09:56:31 +08:00
david-cortes
562352101d
[R] Move all DMatrix fields to function arguments ( #9862 )
2023-12-10 02:45:28 +08:00
david-cortes
9e9d41b95c
[R] Add note about serialization of DMatrix objects ( #9853 )
2023-12-07 03:11:15 +08:00
david-cortes
1de3f4135c
[R] Enable vector-valued parameters ( #9849 )
2023-12-06 20:32:20 +08:00
david-cortes
62571b79eb
[R] Enable multi-output objectives ( #9839 )
2023-12-06 03:13:14 +08:00
david-cortes
bfa1252fca
[R][doc] Update docs about fitting from CSR ( #9818 )
2023-11-29 05:42:41 +08:00
david-cortes
d3f0646779
[R] Avoid modifying importance dt in-place, fix aggregation ( #9740 )
2023-11-01 05:10:59 +08:00
James Lamb
799f8485e2
[R] [CI] enforce lintr::function_left_parentheses_linter check ( #9631 )
2023-10-08 09:42:09 +08:00
Jiaming Yuan
cac2cd2e94
[R] Set number of threads in demos and tests. ( #9591 )
...
- Restrict the number of threads in IO.
- Specify the number of threads in demos and tests.
- Add helper scripts for checks.
2023-09-23 21:44:03 +08:00
Jiaming Yuan
5abe50ff8c
[R] Fix method name. ( #9577 )
2023-09-13 23:19:29 +08:00
Jiaming Yuan
be6a552956
[R] Support multi-class custom objective. ( #9526 )
2023-08-29 08:27:13 +08:00
Jiaming Yuan
972730cde0
Use matrix for gradient. ( #9508 )
...
- Use the `linalg::Matrix` for storing gradients.
- New API for the custom objective.
- Custom objective for multi-class/multi-target is now required to return the correct shape.
- Custom objective for Python can accept arrays with any strides. (row-major, column-major)
2023-08-24 05:29:52 +08:00
James Lamb
b82e78c169
[R] remove commented-out code ( #9481 )
2023-08-15 13:44:08 +08:00
James Lamb
e3f624d8e7
[R] remove more uses of default values in internal functions ( #9476 )
2023-08-14 22:18:33 +08:00
James Lamb
2c84daeca7
[R] [doc] remove documentation index entries for internal functions ( #9477 )
2023-08-14 22:18:02 +08:00
James Lamb
428f6cbbe2
[R] remove default values in internal booster manipulation functions ( #9461 )
2023-08-11 15:07:18 +08:00
James Lamb
44bd2981b2
[R] remove default values in internal utility functions ( #9457 )
2023-08-10 21:40:59 +08:00
James Lamb
4359356d46
[R] [CI] use lintr 3.1.0 ( #9456 )
2023-08-10 17:49:16 +08:00
Jiaming Yuan
a57371ef7c
Fix links in R doc. ( #9450 )
2023-08-10 02:38:14 +08:00
Philip Hyunsu Cho
819098a48f
[R] Handle UTF-8 paths on Windows ( #9448 )
2023-08-08 21:29:19 -07:00
Jiaming Yuan
9fbde21e9d
Rework the precision metric. ( #9222 )
...
- Rework the precision metric for both CPU and GPU.
- Mention it in the document.
- Cleanup old support code for GPU ranking metric.
- Deterministic GPU implementation.
* Drop support for classification.
* type.
* use batch shape.
* lint.
* cpu build.
* cpu build.
* lint.
* Tests.
* Fix.
* Cleanup error message.
2023-06-02 20:49:43 +08:00
Jiaming Yuan
cd05e38533
[doc][R] Update link. ( #8998 )
2023-03-30 19:09:07 +08:00
Krzysztof Dyba
e8a69013e6
[R] update predict docs ( #8886 )
2023-03-09 05:58:39 +08:00
Jiaming Yuan
c1786849e3
Use array interface for CSC matrix. ( #8672 )
...
* Use array interface for CSC matrix.
Use array interface for CSC matrix and align the interface with CSR and dense.
- Fix nthread issue in the R package DMatrix.
- Unify the behavior of handling `missing` with other inputs.
- Unify the behavior of handling `missing` around R, Python, Java, and Scala DMatrix.
- Expose `num_non_missing` to the JVM interface.
- Deprecate old CSR and CSC constructors.
2023-02-05 01:59:46 +08:00
James Lamb
0d8248ddcd
[R] discourage use of regex for fixed string comparisons ( #8736 )
2023-01-30 18:47:21 +08:00
Philip Hyunsu Cho
d29e45371f
[R-package] Alter xgb.train() to accept multiple eval metrics as a list ( #8657 )
2023-01-24 17:14:14 -08:00
Jiaming Yuan
e7d612d22c
[R] Fix threads used to create DMatrix in predict. ( #8681 )
2023-01-15 03:09:08 +08:00
James Lamb
9a98c3726c
[R] [CI] add more linting checks ( #8624 )
2022-12-29 18:20:36 +08:00
James Lamb
c7e82b5914
[R] enforce lintr checks ( fixes #8012 ) ( #8613 )
2022-12-25 05:02:56 +08:00
James Lamb
17ce1f26c8
[R] address some lintr warnings ( #8609 )
2022-12-17 18:36:14 +08:00
James Lamb
7a07dcf651
[R] resolve line_length_linter warnings ( #8565 )
...
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2022-12-14 21:04:24 +08:00
James Lamb
fbe40d00d8
[R] resolve brace_linter warnings ( #8564 )
2022-12-08 23:01:00 +08:00
Jiaming Yuan
5f1a6fca0d
[R] Use new interface for creating DMatrix from CSR. ( #8455 )
...
* [R] Use new interface for creating DMatrix from CSR.
- CSC is still using the old API.
The old API is not aware of `nthread` parameter, which makes DMatrix to use all available
thread during construction and during transformation lie `SparsePage` -> `CSCPage`.
2022-11-23 21:36:43 +08:00
Jiaming Yuan
0b36f8fba1
[R] Fix CRAN test notes. ( #8428 )
...
- Limit the number of used CPU cores in examples.
- Add a note for the constraint.
- Bring back the cleanup script.
2022-11-09 02:03:30 +08:00
Jiaming Yuan
210eb471e9
[R] Implement feature info for DMatrix. ( #8048 )
2022-07-09 05:57:39 +08:00
Michael Chirico
3af02584c1
error early if missing DiagrammeR ( #8037 )
2022-07-02 19:37:53 +08:00
Jiaming Yuan
da351621a1
[R] Fix parsing decision stump. ( #7689 )
2022-03-17 01:08:22 +08:00
Jiaming Yuan
f60d95b0ba
[R] Construct booster object in load.raw. ( #7686 )
2022-02-24 10:06:18 +08:00
Jiaming Yuan
b2341eab0c
[R] Fix broken links. ( #7670 )
2022-02-20 00:55:48 +08:00
Jiaming Yuan
12949c6b31
[R] Implement feature weights. ( #7660 )
2022-02-16 22:20:52 +08:00
david-cortes
7f738e7f6f
[R] Accept CSR data for predictions ( #7615 )
2022-01-30 00:54:57 +08:00