Hyunsu Cho
74e2f652de
Enforce only major version in JSON model schema
v1.0.1
2020-02-21 07:57:45 +00:00
Hyunsu Cho
e02fff53f2
Change version_config.h too
2020-02-21 07:50:41 +00:00
Hyunsu Cho
fcb2efbadd
Fix a unit test that mistook MINOR ver for PATCH ver
2020-02-21 07:11:59 +00:00
Hyunsu Cho
f4621f09c7
Release 1.0.1 to add #5330
2020-02-20 22:56:32 -08:00
Philip Hyunsu Cho
bf1b2cbfa2
Remove f-string, since it's not supported by Python 3.5 ( #5330 )
...
* Remove f-string, since it's not supported by Python 3.5
* Add Python 3.5 to CI, to ensure compatibility
* Remove duplicated matplotlib
* Show deprecation notice for Python 3.5
* Fix lint
* Fix lint
2020-02-20 22:47:05 -08:00
Hyunsu Cho
d90e7b3117
Change version to 1.0.0
v1.0.0
2020-02-20 05:02:47 +00:00
Jiaming Yuan
088c43d666
Fix changing locale. ( #5314 )
...
* Fix changing locale.
* Don't use locale guard.
As number parsing is implemented in house, we don't need locale.
* Update doc.
2020-02-17 13:01:48 +08:00
Hyunsu Cho
69fc8a632f
Change version to 1.0.0rc2
v1.0.0rc2
2020-02-14 09:56:47 +00:00
Jiaming Yuan
213f4fa45a
Fix loading old logit model, helper for converting old pickle. ( #5281 )
...
* Fix loading old logit model.
* Add a helper script for converting old pickle file.
* Add version as a model parameter.
* Remove the size check in R test to relax the size constraint.
* Add missing R doc for passing linting. Run devtools.
* Cleanup old model IO logic.
* Test compatibility on CI.
* Make the argument as required.
2020-02-13 15:28:13 +08:00
Philip Hyunsu Cho
5ca21f252a
Declare Python 3.8 support in setup.py ( #5274 )
2020-02-03 22:59:25 -08:00
Jiaming Yuan
eeb67c3d52
Avoid dask test fixtures. ( #5270 )
...
* Fix Travis OSX timeout.
* Fix classifier.
2020-02-03 22:57:36 -08:00
Jiaming Yuan
ed37fdb9c9
Export JSON config in get_params. ( #5256 )
2020-02-03 06:16:03 +00:00
Philip Hyunsu Cho
e7e522fb06
Remove use of std::cout from R package ( #5261 )
2020-02-03 06:15:39 +00:00
Nan Zhu
8e39a675be
[jvm-packages] do not use multiple jobs to make checkpoints ( #5082 )
...
* temp
* temp
* tep
* address the comments
* fix stylistic issues
* fix
* external checkpoint
2020-02-02 21:48:42 -08:00
Jiaming Yuan
7f542d2198
Test model compatibility. ( #5248 )
...
* Add model compability tests.
* Typo.
v1.0.0rc1
2020-01-31 02:46:13 -08:00
Philip Cho
c8d32102fb
Change version to 1.0.0rc1
2020-01-31 01:37:54 -08:00
Jiaming Yuan
fe8d72b50b
Cleanup warnings. ( #5247 )
...
From clang-tidy-9 and gcc-7: Invalid case style, narrowing definition, wrong
initialization order, unused variables.
2020-01-31 14:52:15 +08:00
Philip Hyunsu Cho
adc795929a
Fix compilation error due to 64-bit integer narrowing to size_t ( #5250 )
2020-01-30 21:32:15 -08:00
Jiaming Yuan
472ded549d
Save Scikit-Learn attributes into learner attributes. ( #5245 )
...
* Remove the recommendation for pickle.
* Save skl attributes in booster.attr
* Test loading scikit-learn model with native booster.
2020-01-30 16:00:18 +08:00
Egor Smirnov
c67163250e
Optimized BuildHist function ( #5156 )
2020-01-29 23:32:57 -08:00
Philip Hyunsu Cho
4240daed4e
Make pip install xgboost*.tar.gz work by fixing build-python.sh ( #5241 )
...
* Make pip install xgboost*.tar.gz work by fixing build-python.sh
* Simplify install doc
* Add test
* Install Miniconda for Linux target too
* Build XGBoost only once in sdist
* Try importing xgboost after installation
* Don't set PYTHONPATH env var for sdist test
2020-01-28 23:18:23 -08:00
Philip Hyunsu Cho
cb3ed404cf
[R] Enable OpenMP with AppleClang in XGBoost R package ( #5240 )
...
* [R] Enable OpenMP with AppleClang in XGBoost R package
* Dramatically simplify install doc
2020-01-28 12:37:22 -08:00
Philip Hyunsu Cho
f7105fa44f
Update Rabit ( #5237 )
2020-01-28 02:05:01 -08:00
Jiaming Yuan
43974939f4
Better error message about loading pickled model. ( #5236 )
...
Print the link to new tutorial.
2020-01-28 15:29:14 +08:00
Philip Hyunsu Cho
b513dcd352
Support FreeBSD ( #5233 )
...
* Fix build on FreeBSD
* Use __linux__ macro
2020-01-27 22:19:16 -08:00
Jiaming Yuan
ef19480eda
Add dart to JSON schema. ( #5218 )
...
* Add dart to JSON schema.
* Use spaces instead of tab.
2020-01-28 13:29:09 +08:00
Philip Hyunsu Cho
0c7455276d
[R] Robust endian detection in CRAN xgboost build ( #5232 )
...
* [R] Robust endian detection in CRAN xgboost build
* Check for external backtrace() lib
* Update Makevars.win
2020-01-27 02:55:13 -08:00
Rory Mitchell
1b3947d929
Make some GPU tests deterministic ( #5229 )
2020-01-26 11:53:07 +13:00
Jiaming Yuan
3eb1279bbf
Config for linear updaters. ( #5222 )
2020-01-25 11:26:46 +08:00
Jiaming Yuan
40680368cf
Add constraint parameters to Scikit-Learn interface. ( #5227 )
...
* Add document for constraints.
* Fix a format error in doc for objective function.
2020-01-25 11:12:02 +08:00
Philip Hyunsu Cho
44469a0ca9
Extensible binary serialization format for DMatrix::MetaInfo ( #5187 )
...
* Turn xgboost::DataType into C++11 enum class
* New binary serialization format for DMatrix::MetaInfo
* Fix clang-tidy
* Fix c++ test
* Implement new format proposal
* Move helper functions to anonymous namespace; remove unneeded field
* Fix lint
* Add shape.
* Keep only roundtrip test.
* Fix test.
* various fixes
* Update data.cc
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-01-23 11:33:17 -08:00
OrdoAbChao
b4f952bd22
[Breaking] Remove Scikit-Learn default parameters ( #5130 )
...
* Simplify Scikit-Learn parameter management.
* Copy base class for removing duplicated parameter signatures.
* Set all parameters to None.
* Handle None in set_param.
* Extract the doc.
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-01-23 20:25:20 +08:00
Rory Mitchell
aa9a68010b
uint not supported in cudf ( #5225 )
2020-01-23 16:59:18 +13:00
Jiaming Yuan
1891cc766d
Fix metainfo from DataFrame. ( #5216 )
...
* Fix metainfo from DataFrame.
* Unify helper functions for data and meta.
2020-01-22 16:29:44 +08:00
Rory Mitchell
5d4c24a1fc
Fix cupy without cudf import ( #5219 )
2020-01-22 18:02:39 +13:00
Rory Mitchell
9c56480c61
Support dmatrix construction from cupy array ( #5206 )
2020-01-22 13:15:27 +13:00
Philip Hyunsu Cho
2a071cebc5
Add CMake option to run Undefined Behavior Sanitizer (UBSan) ( #5211 )
...
* Fix related errors.
2020-01-20 16:57:44 +08:00
mattn
ff1342b252
Fix compilation error ( #5215 )
2020-01-18 23:51:07 +08:00
Crissman Loomis
e526871f0a
Add Optuna badge to README.md ( #5208 )
...
* Update README.md
2020-01-16 12:22:19 +08:00
Jiaming Yuan
5199b86126
Fix R dart prediction. ( #5204 )
...
* Fix R dart prediction and add test.
2020-01-16 12:11:04 +08:00
Jiaming Yuan
808f61081b
Update R doc by roxygen2. ( #5201 )
2020-01-15 10:49:17 +08:00
Philip Hyunsu Cho
0184f2e9f7
Explicitly use UTF-8 codepage when using MSVC ( #5197 )
...
* Explicitly use UTF-8 codepage when using MSVC
* Fix build with CUDA enabled
2020-01-14 13:30:34 -08:00
Rory Mitchell
a73e25e15f
Implement slice via adapters ( #5198 )
2020-01-14 12:55:41 +13:00
Kodi Arfer
f100b8d878
[Breaking] Don't drop trees during DART prediction by default ( #5115 )
...
* Simplify DropTrees calling logic
* Add `training` parameter for prediction method.
* [Breaking]: Add `training` to C API.
* Change for R and Python custom objective.
* Correct comment.
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-01-13 21:48:30 +08:00
Jiaming Yuan
7b65698187
Enforce correct data shape. ( #5191 )
...
* Fix syncing DMatrix columns.
* notes for tree method.
* Enable feature validation for all interfaces except for jvm.
* Better tests for boosting from predictions.
* Disable validation on JVM.
2020-01-13 15:48:17 +08:00
Rory Mitchell
8cbcc53ccb
Remove old cudf constructor code ( #5194 )
2020-01-10 16:35:23 +13:00
Rory Mitchell
87ebfc1315
Implement cudf construction with adapters. ( #5189 )
2020-01-09 20:23:06 +13:00
Rory Mitchell
9559f81377
Move SimpleDMatrix constructor to .cc file ( #5188 )
2020-01-09 14:20:13 +13:00
cpfarrell
9049c7c653
Add new lines for Spark XGBoost missing values section ( #5180 )
2020-01-07 12:14:16 +08:00
Jiaming Yuan
ee287808fb
Lazy initialization of device vector. ( #5173 )
...
* Lazy initialization of device vector.
* Fix #5162 .
* Disable copy constructor of HostDeviceVector. Prevents implicit copying.
* Fix CPU build.
* Bring back move assignment operator.
2020-01-07 11:23:05 +08:00