Unverified Commit d02a01ac authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

release v4.6.0 (#6796)


Co-authored-by: default avatarshiyu1994 <shiyu_k1994@qq.com>
Co-authored-by: default avatarGitHub Actions Bot <githubactionsbot@users.noreply.github.com>
parent d24260fd
version: 4.5.0.99.{build} version: 4.6.0.{build}
image: Visual Studio 2015 image: Visual Studio 2015
platform: x64 platform: x64
......
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for lightgbm 4.5.0.99. # Generated by GNU Autoconf 2.71 for lightgbm 4.6.0.
# #
# #
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
...@@ -607,8 +607,8 @@ MAKEFLAGS= ...@@ -607,8 +607,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='lightgbm' PACKAGE_NAME='lightgbm'
PACKAGE_TARNAME='lightgbm' PACKAGE_TARNAME='lightgbm'
PACKAGE_VERSION='4.5.0.99' PACKAGE_VERSION='4.6.0'
PACKAGE_STRING='lightgbm 4.5.0.99' PACKAGE_STRING='lightgbm 4.6.0'
PACKAGE_BUGREPORT='' PACKAGE_BUGREPORT=''
PACKAGE_URL='' PACKAGE_URL=''
...@@ -1211,7 +1211,7 @@ if test "$ac_init_help" = "long"; then ...@@ -1211,7 +1211,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures lightgbm 4.5.0.99 to adapt to many kinds of systems. \`configure' configures lightgbm 4.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
...@@ -1273,7 +1273,7 @@ fi ...@@ -1273,7 +1273,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of lightgbm 4.5.0.99:";; short | recursive ) echo "Configuration of lightgbm 4.6.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
...@@ -1341,7 +1341,7 @@ fi ...@@ -1341,7 +1341,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
lightgbm configure 4.5.0.99 lightgbm configure 4.6.0
generated by GNU Autoconf 2.71 generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
...@@ -1378,7 +1378,7 @@ cat >config.log <<_ACEOF ...@@ -1378,7 +1378,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by lightgbm $as_me 4.5.0.99, which was It was created by lightgbm $as_me 4.6.0, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
...@@ -2454,7 +2454,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ...@@ -2454,7 +2454,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by lightgbm $as_me 4.5.0.99, which was This file was extended by lightgbm $as_me 4.6.0, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
...@@ -2509,7 +2509,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ ...@@ -2509,7 +2509,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
lightgbm config.status 4.5.0.99 lightgbm config.status 4.6.0
configured by $0, generated by GNU Autoconf 2.71, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
......
# CRAN Submission History # CRAN Submission History
## v4.6.0 - Submission 1 - (TBD)
### CRAN response
TBD
### Maintainer Notes
This release fixed several issues reported by CRAN.
Bashisms in `configure`
```text
possible bashism in configure.ac line 63 (should be VAR="${VAR}foo"):
LGB_CPPFLAGS+=" -DMM_PREFETCH=1"
possible bashism in configure.ac line 89 (should be VAR="${VAR}foo"):
LGB_CPPFLAGS+=" -DMM_MALLOC=1"
```
Compilation errors on GCC 15.
```text
io/json11.cpp:97:28: error: 'uint8_t' does not name a type
97 | } else if (static_cast<uint8_t>(ch) == 0xe2 &&
| ^~~~~~~
io/json11.cpp:97:28: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
io/json11.cpp:98:28: error: 'uint8_t' does not name a type
98 | static_cast<uint8_t>(value[i + 1]) == 0x80 &&
```
This release contains fixes for those issues.
## v4.5.0 - Submission 1 - (July 25, 2024) ## v4.5.0 - Submission 1 - (July 25, 2024)
### CRAN response ### CRAN response
......
...@@ -14,7 +14,7 @@ repo: ...@@ -14,7 +14,7 @@ repo:
user: https://github.com/ user: https://github.com/
development: development:
mode: unreleased mode: release
authors: authors:
Yu Shi: Yu Shi:
......
...@@ -417,6 +417,8 @@ Learning Control Parameters ...@@ -417,6 +417,8 @@ Learning Control Parameters
- whether to do bagging sample by query - whether to do bagging sample by query
- *New in version 4.6.0*
- ``feature_fraction`` :raw-html:`<a id="feature_fraction" title="Permalink to this parameter" href="#feature_fraction">&#x1F517;&#xFE0E;</a>`, default = ``1.0``, type = double, aliases: ``sub_feature``, ``colsample_bytree``, constraints: ``0.0 < feature_fraction <= 1.0`` - ``feature_fraction`` :raw-html:`<a id="feature_fraction" title="Permalink to this parameter" href="#feature_fraction">&#x1F517;&#xFE0E;</a>`, default = ``1.0``, type = double, aliases: ``sub_feature``, ``colsample_bytree``, constraints: ``0.0 < feature_fraction <= 1.0``
- LightGBM will randomly select a subset of features on each iteration (tree) if ``feature_fraction`` is smaller than ``1.0``. For example, if you set it to ``0.8``, LightGBM will select 80% of features before training each tree - LightGBM will randomly select a subset of features on each iteration (tree) if ``feature_fraction`` is smaller than ``1.0``. For example, if you set it to ``0.8``, LightGBM will select 80% of features before training each tree
......
...@@ -359,6 +359,7 @@ struct Config { ...@@ -359,6 +359,7 @@ struct Config {
int bagging_seed = 3; int bagging_seed = 3;
// desc = whether to do bagging sample by query // desc = whether to do bagging sample by query
// desc = *New in version 4.6.0*
bool bagging_by_query = false; bool bagging_by_query = false;
// alias = sub_feature, colsample_bytree // alias = sub_feature, colsample_bytree
......
...@@ -31,7 +31,7 @@ maintainers = [ ...@@ -31,7 +31,7 @@ maintainers = [
name = "lightgbm" name = "lightgbm"
readme = "README.rst" readme = "README.rst"
requires-python = ">=3.7" requires-python = ">=3.7"
version = "4.5.0.99" version = "4.6.0"
[project.optional-dependencies] [project.optional-dependencies]
arrow = [ arrow = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment