Jiaming Yuan
68d86336d7
[backport] [R] fix OpenMP detection on macOS ( #8684 ) ( #8732 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2023-01-29 12:43:10 +08:00
Jiaming Yuan
76bdca072a
[R] Fix threads used to create DMatrix in predict. ( #8681 ) ( #8682 )
2023-01-15 04:00:31 +08:00
Jiaming Yuan
021e6a842a
[backport] [R] Get CXX flags from R CMD config. ( #8669 ) ( #8680 )
2023-01-14 18:46:59 +08:00
Jiaming Yuan
e803d06d8c
[backport] [R] Remove unused assert definition. ( #8526 ) ( #8668 )
2023-01-13 04:55:29 +08:00
Jiaming Yuan
ccf43d4ba0
Bump R package version to 1.7.3. ( #8649 )
2023-01-06 20:34:05 +08:00
Jiaming Yuan
dd58c2ac47
Bump version to 1.7.3. ( #8646 )
2023-01-06 17:55:51 +08:00
Jiaming Yuan
62ed8b5fef
Bump release version to 1.7.2. ( #8569 )
2022-12-08 21:46:26 +08:00
Jiaming Yuan
a347cd512b
[backport] [R] Fix CRAN test notes. ( #8428 ) ( #8440 )
...
- Limit the number of used CPU cores in examples.
- Add a note for the constraint.
- Bring back the cleanup script.
2022-11-09 07:12:46 +08:00
Philip Hyunsu Cho
534c940a7e
Release 1.7.1 ( #8413 )
...
* Release 1.7.1
* Review comment
2022-11-03 15:37:54 -07:00
Philip Hyunsu Cho
153d995b58
Fix building XGBoost with libomp 15 ( #8384 ) ( #8387 )
2022-10-26 00:43:10 -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
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
Jiaming Yuan
1f020a6097
Add maintainer for R package. ( #7649 )
2022-02-12 23:45:30 +08:00
david-cortes
7f738e7f6f
[R] Accept CSR data for predictions ( #7615 )
2022-01-30 00:54:57 +08:00
Michael Chirico
549bd419bb
use exit hook to remove temp file ( #7611 )
...
This guarantees the removal will trigger for unexpected early exits
2022-01-29 16:06:52 +08:00
Jiaming Yuan
81210420c6
Remove omp_get_max_threads ( #7608 )
...
This is the one last PR for removing omp global variable.
* Add context object to the `DMatrix`. This bridges `DMatrix` with https://github.com/dmlc/xgboost/issues/7308 .
* Require context to be available at the construction time of booster.
* Add `n_threads` support for R csc DMatrix constructor.
* Remove `omp_get_max_threads` in R glue code.
* Remove threading utilities that rely on omp global variable.
2022-01-28 16:09:22 +08:00
Philip Hyunsu Cho
028bdc1740
[R] Fix typo in docstring ( #7606 )
2022-01-26 23:33:25 +08:00
Jiaming Yuan
d262503781
[R] Implement new save raw in R. ( #7571 )
2022-01-22 20:55:47 +08:00
Jiaming Yuan
e94b766310
Fix early stopping with linear model. ( #7554 )
2022-01-13 21:53:06 +08:00
Jiaming Yuan
eabec370e4
[R] Fix single sample prediction. ( #7524 )
2021-12-21 14:11:07 +08:00
Jiaming Yuan
b0015fda96
Fix R CRAN failures. ( #7404 )
...
* Remove hist builder dtor.
* Initialize values.
* Tolerance.
* Remove the use of nthread in col maker.
2021-11-16 10:51:12 +08:00
Jiaming Yuan
c968217ca8
[R] Fix global feature importance and predict with 1 sample. ( #7394 )
...
* [R] Fix global feature importance.
* Add implementation for tree index. The parameter is not documented in C API since we
should work on porting the model slicing to R instead of supporting more use of tree
index.
* Fix the difference between "gain" and "total_gain".
* debug.
* Fix prediction.
2021-11-05 10:07:00 +08:00
Jiaming Yuan
57a4b4ff64
Handle OMP_THREAD_LIMIT. ( #7390 )
2021-11-03 15:44:38 +08:00
Jiaming Yuan
f7caac2563
Bump version to 1.6.0 in master. ( #7259 )
2021-10-07 16:09:26 +08:00
Jiaming Yuan
b2d8431aea
[R] Fix document for nthread. ( #7263 )
2021-09-28 11:46:24 +08:00
david-cortes
61a619b5c3
[R] Avoid symbol naming conflicts with other packages ( #7245 )
...
* don't register all R symbols
* typo
2021-09-19 11:17:08 -07:00
Jiaming Yuan
8ee127469f
[R] Fix nthread in DMatrix constructor. ( #7127 )
...
* Break the R C API for nthread.
2021-08-03 17:39:25 +08:00
Jiaming Yuan
48d5de80a2
[R] Fix softprob reshape. ( #7126 )
2021-07-27 15:25:17 +08:00
Jiaming Yuan
345796825f
Optional find dependency in installed cmake config. ( #7099 )
...
* Find dependency only when xgboost is built as static library.
* Resolve msvc warning.
* Add test for linking shared library.
2021-07-11 17:20:55 +08:00
Jiaming Yuan
663136aa08
Implement feature score for linear model. ( #7048 )
...
* Add feature score support for linear model.
* Port R interface to the new implementation.
* Add linear model support in Python.
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2021-06-25 14:34:02 +08:00
Jiaming Yuan
b56614e9b8
[R] Use new predict function. ( #6819 )
...
* Call new C prediction API.
* Add `strict_shape`.
* Add `iterationrange`.
* Update document.
2021-06-11 13:03:29 +08:00
ReeceGoding
42fc7ca6a0
Corrected lapply comment in callbacks.R ( #6967 )
...
The comment was made false by the removal of the pipes.
2021-05-17 02:31:50 +08:00
ReeceGoding
f94f479358
Simplify list2mat call from lapply in callbacks.R ( #6966 )
2021-05-14 03:40:58 +08:00
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
Andrew Ziem
3e7e426b36
Fix spelling in documents ( #6948 )
...
* Update roxygen2 doc.
Co-authored-by: fis <jm.yuan@outlook.com>
2021-05-11 20:44:36 +08:00
Ali
b35dd76dca
[R] don't remove CMakeLists in cleanup ( #6930 )
...
currently installing the R-pacakge will leave the repo in dirty state, since
`CmakeLists.txt` is already checked in. This fixes the `cleanup`
script to not delete this file.
2021-05-03 17:46:15 +08:00