Jiaming Yuan
c7c485d052
Extract fit intercept. ( #8793 )
2023-02-15 22:41:31 +08:00
Jiaming Yuan
457f704e3d
Add quantile metric. ( #8761 )
2023-02-13 19:07:40 +08:00
Jiaming Yuan
5f76edd296
Extract make metric name from ranking metric. ( #8768 )
...
- Extract the metric parsing routine from ranking.
- Add a test.
- Accept null for string view.
2023-02-09 18:30:21 +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
Jiaming Yuan
3760cede0f
Consistent use of context to specify number of threads. ( #8733 )
...
- Use context in all tests.
- Use context in R.
- Use context in C API DMatrix initialization. (0 threads is used as dft).
2023-01-30 15:25:31 +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
James Lamb
0f4d52a864
[R] add tests on print.xgb.DMatrix() ( #8704 )
2023-01-22 06:44:14 +08:00
James Lamb
980233e648
[R] remove XGBoosterPredict_R ( fixes #8687 ) ( #8689 )
2023-01-17 14:19:01 +08:00
James Lamb
06ba285f71
[R] fix OpenMP detection on macOS ( #8684 )
2023-01-17 05:01:26 +08:00
James Lamb
e227abc57a
[R] avoid leaving test files behind ( #8685 )
2023-01-15 23:34:54 +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
292df67824
[R] remove unused define XGBOOST_CUSTOMIZE_LOGGER ( #8647 )
2023-01-15 02:29:25 +08:00
Jiaming Yuan
f7a2f52136
[R] Get CXX flags from R CMD config. ( #8669 )
2023-01-14 16:48:21 +08:00
Jiaming Yuan
b2b6a8aa39
[R] fix CSR input. ( #8673 )
2023-01-14 01:32:41 +08:00
Jiaming Yuan
badeff1d74
Init estimation for regression. ( #8272 )
2023-01-11 02:04:56 +08:00
Jiaming Yuan
beefd28471
Split up SHAP from RegTree. ( #8612 )
...
* Split up SHAP from `RegTree`.
Simplify the tree interface.
2023-01-04 18:17:47 +08:00
Jiaming Yuan
8d545ab2a2
Implement fit stump. ( #8607 )
2023-01-04 04:14:51 +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
f489d824ca
[R] remove unused imports in tests ( #8614 )
2022-12-25 03:45:47 +08:00
James Lamb
e01639548a
[R] remove unused compiler flag RABIT_CUSTOMIZE_MSG_ ( #8610 )
2022-12-17 19:36:35 +08:00
James Lamb
17ce1f26c8
[R] address some lintr warnings ( #8609 )
2022-12-17 18:36:14 +08:00
James Lamb
53e6e32718
[R] resolve assignment_linter warnings ( #8599 )
2022-12-17 01:22:41 +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
ffee35e0f0
[R] [ci] remove dependency on {devtools} ( #8563 )
2022-12-09 01:21:28 +08:00
James Lamb
fbe40d00d8
[R] resolve brace_linter warnings ( #8564 )
2022-12-08 23:01:00 +08:00
Jiaming Yuan
3e26107a9c
Rename and extract Context. ( #8528 )
...
* Rename `GenericParameter` to `Context`.
* Rename header file to reflect the change.
* Rename all references.
2022-12-07 04:58:54 +08:00
James Lamb
05fc6f3ca9
[R] [ci] move linting code out of package ( #8545 )
2022-12-07 03:18:17 +08:00
Jiaming Yuan
d8544e4d9e
[R] Remove unused assert definition. ( #8526 )
2022-12-05 20:29:03 +08:00
Rong Ou
a8255ea678
Add an in-memory collective communicator ( #8494 )
2022-12-01 00:24:12 +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
a83748eb45
[CI] Revise R tests. ( #8430 )
...
- Use the standard package check (check on the tarball instead of the source tree).
- Run commands in parallel.
- Cleanup dependencies installation.
- Replace makefile.
- Documentation.
- Test using the image from rhub.
2022-11-09 09:12:13 +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
f73520bfff
Bump development version to 2.0. ( #8390 )
2022-10-28 15:21:19 +08:00
Philip Hyunsu Cho
8bb55949ef
Fix building XGBoost with libomp 15 ( #8384 )
2022-10-25 12:01:11 -07:00
Jiaming Yuan
28a466ab51
Fixes for R checks. ( #8330 )
...
- Bump configure.ac version.
- Remove amalgamation to reduce the build time for a single object with the added benefit that we can use parallel build during development.
- Fix c function prototype warning.
- Remove Windows automake file generation step to make the build script easier to understand.
2022-10-20 02:52:54 +08:00
Jiaming Yuan
f835368bcf
Mark next release as 1.7 instead of 2.0 ( #8281 )
2022-09-28 14:33:37 +08:00
Jiaming Yuan
bc818316f2
Prepare for improving Windows networking compatibility. ( #8234 )
...
* Prepare for improving Windows networking compatibility.
* Include dmlc filesystem indirectly as dmlc/filesystem.h includes windows.h, which
conflicts with winsock2.h
* Define `NOMINMAX` conditionally.
* Link the winsock library when mysys32 is used.
* Add config file for read the doc.
2022-09-10 15:16:49 +08:00
Jiaming Yuan
937352c78f
Fix R package Windows build. ( #8065 )
2022-07-14 05:27:38 +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
e58e417603
[CI] Fix lintr error. ( #8011 )
2022-06-20 22:17:14 +08:00
Philip Hyunsu Cho
d2bc0f0f08
Allow loading old models from RDS ( #7864 )
2022-05-06 22:49:38 -07:00
Jiaming Yuan
522636cb52
Bump version. ( #7769 )
2022-03-31 06:33:22 +08:00
Jiaming Yuan
d4796482b5
Fix failures on R hub and Win builder. ( #7763 )
...
* Update date.
* Workaround amalgamation build with clang. (SimpleDMatrix instantiation)
* Workaround compiler error with driver push.
* Revert autoconf requirement.
* Fix model IO on 32-bit environment. (i386)
* Clarify the function name.
2022-03-30 07:14:33 +08:00
Christian Marquardt
39c5616af2
Added CPPFLAGS and LDFLAGS to the testing for OpenMP during R installation from source. ( #7759 )
2022-03-28 19:14:07 +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
49c74a5369
Update R package description. ( #7691 )
...
* Change role.
* Remove cmake file when building the package.
2022-02-23 08:36:37 +08:00