diff --git a/CMakeLists.txt b/CMakeLists.txt index bad3d8dd5..fd087a68f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.14 FATAL_ERROR) -project(xgboost LANGUAGES CXX C VERSION 2.0.0) +project(xgboost LANGUAGES CXX C VERSION 1.7.0) include(cmake/Utils.cmake) list(APPEND CMAKE_MODULE_PATH "${xgboost_SOURCE_DIR}/cmake/modules") cmake_policy(SET CMP0022 NEW) diff --git a/R-package/DESCRIPTION b/R-package/DESCRIPTION index 736dea05e..e1286b3ae 100644 --- a/R-package/DESCRIPTION +++ b/R-package/DESCRIPTION @@ -1,8 +1,8 @@ Package: xgboost Type: Package Title: Extreme Gradient Boosting -Version: 2.0.0.1 -Date: 2022-03-29 +Version: 1.7.0.1 +Date: 2022-09-28 Authors@R: c( person("Tianqi", "Chen", role = c("aut"), email = "tianqi.tchen@gmail.com"), diff --git a/doc/jvm/xgboost4j_spark_tutorial.rst b/doc/jvm/xgboost4j_spark_tutorial.rst index c8fd951ed..1cf3ba2c8 100644 --- a/doc/jvm/xgboost4j_spark_tutorial.rst +++ b/doc/jvm/xgboost4j_spark_tutorial.rst @@ -347,7 +347,7 @@ and then loading the model in another session: .. note:: - Besides dumping the model to raw format, users are able to dump the model to be json or ubj format from ``version 2.0.0+``. + Besides dumping the model to raw format, users are able to dump the model to be json or ubj format from ``version 1.7.0+``. .. code-block:: scala @@ -362,7 +362,7 @@ Interact with Other Bindings of XGBoost After we train a model with XGBoost4j-Spark on massive dataset, sometimes we want to do model serving in single machine or integrate it with other single node libraries for further processing. -After saving the model, we can load this model with single node Python XGBoost directly from ``version 2.0.0+``. +After saving the model, we can load this model with single node Python XGBoost directly from ``version 1.7.0+``. .. code-block:: scala @@ -375,7 +375,7 @@ After saving the model, we can load this model with single node Python XGBoost d bst = xgb.Booster({'nthread': 4}) bst.load_model("/tmp/xgbClassificationModel/data/XGBoostClassificationModel") -Before ``version 2.0.0``, XGBoost4j-Spark needs to export model to local manually by: +Before ``version 1.7.0``, XGBoost4j-Spark needs to export model to local manually by: .. code-block:: scala diff --git a/doc/parameter.rst b/doc/parameter.rst index 71ada71f7..c633d0835 100644 --- a/doc/parameter.rst +++ b/doc/parameter.rst @@ -237,7 +237,7 @@ These parameters are only used for training with categorical data. See .. versionadded:: 1.6 - .. note:: This parameter is experimental. ``exact`` tree method is not supported yet. + .. note:: This parameter is experimental. ``exact`` tree method is not yet supported. - A threshold for deciding whether XGBoost should use one-hot encoding based split for categorical data. When number of categories is lesser than the threshold then one-hot @@ -247,10 +247,9 @@ These parameters are only used for training with categorical data. See * ``max_cat_threshold`` - .. versionadded:: 2.0 + .. versionadded:: 1.7.0 - .. note:: This parameter is experimental. ``exact`` and ``gpu_hist`` tree methods are - not supported yet. + .. note:: This parameter is experimental. ``exact`` tree method is not yet supported. - Maximum number of categories considered for each split. Used only by partition-based splits for preventing over-fitting. diff --git a/doc/tutorials/dask.rst b/doc/tutorials/dask.rst index fa10c04e7..e7fd85066 100644 --- a/doc/tutorials/dask.rst +++ b/doc/tutorials/dask.rst @@ -508,7 +508,7 @@ dask config is used: IPv6 Support ************ -.. versionadded:: 2.0.0 +.. versionadded:: 1.7.0 XGBoost has initial IPv6 support for the dask interface on Linux. Due to most of the cluster support for IPv6 is partial (dual stack instead of IPv6 only), we require diff --git a/doc/tutorials/spark_estimator.rst b/doc/tutorials/spark_estimator.rst index a793f6375..ad86022cb 100644 --- a/doc/tutorials/spark_estimator.rst +++ b/doc/tutorials/spark_estimator.rst @@ -1,8 +1,8 @@ ############################### Using XGBoost PySpark Estimator ############################### -Starting from version 2.0, xgboost supports pyspark estimator APIs. -The feature is still experimental and not yet ready for production use. +Starting from version 1.7.0, xgboost supports pyspark estimator APIs. The feature is +still experimental and not yet ready for production use. ***************** SparkXGBRegressor diff --git a/include/xgboost/c_api.h b/include/xgboost/c_api.h index 92d0e3c3b..e956fb0a6 100644 --- a/include/xgboost/c_api.h +++ b/include/xgboost/c_api.h @@ -453,7 +453,7 @@ XGB_DLL int XGQuantileDMatrixCreateFromCallback(DataIterHandle iter, DMatrixHand /*! * \brief Create a Device Quantile DMatrix with data iterator. - * \deprecated since 2.0 + * \deprecated since 1.7.0 * \see XGQuantileDMatrixCreateFromCallback() */ XGB_DLL int XGDeviceQuantileDMatrixCreateFromCallback(DataIterHandle iter, DMatrixHandle proxy, diff --git a/include/xgboost/version_config.h b/include/xgboost/version_config.h index 3eb87e664..b8b4517f0 100644 --- a/include/xgboost/version_config.h +++ b/include/xgboost/version_config.h @@ -4,8 +4,8 @@ #ifndef XGBOOST_VERSION_CONFIG_H_ #define XGBOOST_VERSION_CONFIG_H_ -#define XGBOOST_VER_MAJOR 2 -#define XGBOOST_VER_MINOR 0 +#define XGBOOST_VER_MAJOR 1 +#define XGBOOST_VER_MINOR 7 #define XGBOOST_VER_PATCH 0 #endif // XGBOOST_VERSION_CONFIG_H_ diff --git a/jvm-packages/pom.xml b/jvm-packages/pom.xml index ef79b2ef8..e07b98783 100644 --- a/jvm-packages/pom.xml +++ b/jvm-packages/pom.xml @@ -6,7 +6,7 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT pom XGBoost JVM Package JVM Package for XGBoost diff --git a/jvm-packages/xgboost4j-example/pom.xml b/jvm-packages/xgboost4j-example/pom.xml index 10c6010d2..a6857364d 100644 --- a/jvm-packages/xgboost4j-example/pom.xml +++ b/jvm-packages/xgboost4j-example/pom.xml @@ -6,10 +6,10 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT xgboost4j-example_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT jar @@ -26,7 +26,7 @@ ml.dmlc xgboost4j-spark_${scala.binary.version} - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT org.apache.spark @@ -37,7 +37,7 @@ ml.dmlc xgboost4j-flink_${scala.binary.version} - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT org.apache.commons diff --git a/jvm-packages/xgboost4j-flink/pom.xml b/jvm-packages/xgboost4j-flink/pom.xml index ec50096fb..f6ba1747d 100644 --- a/jvm-packages/xgboost4j-flink/pom.xml +++ b/jvm-packages/xgboost4j-flink/pom.xml @@ -6,10 +6,10 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT xgboost4j-flink_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT @@ -26,7 +26,7 @@ ml.dmlc xgboost4j_${scala.binary.version} - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT org.apache.commons diff --git a/jvm-packages/xgboost4j-gpu/pom.xml b/jvm-packages/xgboost4j-gpu/pom.xml index fd53453aa..6e4651a4c 100644 --- a/jvm-packages/xgboost4j-gpu/pom.xml +++ b/jvm-packages/xgboost4j-gpu/pom.xml @@ -6,10 +6,10 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT xgboost4j-gpu_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT jar diff --git a/jvm-packages/xgboost4j-spark-gpu/pom.xml b/jvm-packages/xgboost4j-spark-gpu/pom.xml index b1932f3cc..bac014776 100644 --- a/jvm-packages/xgboost4j-spark-gpu/pom.xml +++ b/jvm-packages/xgboost4j-spark-gpu/pom.xml @@ -6,7 +6,7 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT xgboost4j-spark-gpu_2.12 @@ -24,7 +24,7 @@ ml.dmlc xgboost4j-gpu_${scala.binary.version} - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT org.apache.spark diff --git a/jvm-packages/xgboost4j-spark/pom.xml b/jvm-packages/xgboost4j-spark/pom.xml index 3a84233d1..5e5e0becb 100644 --- a/jvm-packages/xgboost4j-spark/pom.xml +++ b/jvm-packages/xgboost4j-spark/pom.xml @@ -6,7 +6,7 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT xgboost4j-spark_2.12 @@ -24,7 +24,7 @@ ml.dmlc xgboost4j_${scala.binary.version} - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT org.apache.spark diff --git a/jvm-packages/xgboost4j/pom.xml b/jvm-packages/xgboost4j/pom.xml index 10d323c8f..9551ffcd9 100644 --- a/jvm-packages/xgboost4j/pom.xml +++ b/jvm-packages/xgboost4j/pom.xml @@ -6,10 +6,10 @@ ml.dmlc xgboost-jvm_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT xgboost4j_2.12 - 2.0.0-SNAPSHOT + 1.7.0-SNAPSHOT jar diff --git a/python-package/xgboost/VERSION b/python-package/xgboost/VERSION index d72f26267..de023c91b 100644 --- a/python-package/xgboost/VERSION +++ b/python-package/xgboost/VERSION @@ -1 +1 @@ -2.0.0-dev +1.7.0-dev diff --git a/python-package/xgboost/core.py b/python-package/xgboost/core.py index 4c5031025..b97035424 100644 --- a/python-package/xgboost/core.py +++ b/python-package/xgboost/core.py @@ -1249,7 +1249,7 @@ class QuantileDMatrix(DMatrix): reference (the training dataset) ``QuantileDMatrix`` using ``ref`` as some information may be lost in quantisation. - .. versionadded:: 2.0.0 + .. versionadded:: 1.7.0 Parameters ---------- @@ -1373,7 +1373,7 @@ class QuantileDMatrix(DMatrix): class DeviceQuantileDMatrix(QuantileDMatrix): """ Use `QuantileDMatrix` instead. - .. deprecated:: 2.0.0 + .. deprecated:: 1.7.0 .. versionadded:: 1.1.0 diff --git a/python-package/xgboost/dask.py b/python-package/xgboost/dask.py index 3daf2b44b..e798b7ac6 100644 --- a/python-package/xgboost/dask.py +++ b/python-package/xgboost/dask.py @@ -695,7 +695,7 @@ class DaskQuantileDMatrix(DaskDMatrix): class DaskDeviceQuantileDMatrix(DaskQuantileDMatrix): """Use `DaskQuantileDMatrix` instead. - .. deprecated:: 2.0.0 + .. deprecated:: 1.7.0 .. versionadded:: 1.2.0 diff --git a/python-package/xgboost/sklearn.py b/python-package/xgboost/sklearn.py index d820ccc01..8e7dcfa5e 100644 --- a/python-package/xgboost/sklearn.py +++ b/python-package/xgboost/sklearn.py @@ -235,7 +235,7 @@ __model_doc = f""" feature_types : FeatureTypes - .. versionadded:: 2.0.0 + .. versionadded:: 1.7.0 Used for specifying feature types without constructing a dataframe. See :py:class:`DMatrix` for details. @@ -1402,9 +1402,9 @@ class XGBClassifier(XGBModel, XGBClassifierBase): # must match the parameters for `get_params` self.use_label_encoder = use_label_encoder if use_label_encoder is True: - raise ValueError("Label encoder was removed in 1.6.") + raise ValueError("Label encoder was removed in 1.6.0.") if use_label_encoder is not None: - warnings.warn("`use_label_encoder` is deprecated in 2.0.0.") + warnings.warn("`use_label_encoder` is deprecated in 1.7.0.") super().__init__(objective=objective, **kwargs) @_deprecate_positional_args