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

release v4.4.0 (#6439)

parent ad1237d9
version: 4.3.0.99.{build} version: 4.4.0.{build}
image: Visual Studio 2015 image: Visual Studio 2015
platform: x64 platform: x64
......
...@@ -1309,6 +1309,8 @@ lgb.load <- function(filename = NULL, model_str = NULL) { ...@@ -1309,6 +1309,8 @@ lgb.load <- function(filename = NULL, model_str = NULL) {
#' For example, passing \code{start_iteration=5, num_iteration=3} for a regression model #' For example, passing \code{start_iteration=5, num_iteration=3} for a regression model
#' means "save the fifth, sixth, and seventh tree" #' means "save the fifth, sixth, and seventh tree"
#' #'
#' \emph{New in version 4.4.0}
#'
#' @return lgb.Booster #' @return lgb.Booster
#' #'
#' @examples #' @examples
...@@ -1373,6 +1375,8 @@ lgb.save <- function( ...@@ -1373,6 +1375,8 @@ lgb.save <- function(
#' For example, passing \code{start_iteration=5, num_iteration=3} for a regression model #' For example, passing \code{start_iteration=5, num_iteration=3} for a regression model
#' means "dump the fifth, sixth, and seventh tree" #' means "dump the fifth, sixth, and seventh tree"
#' #'
#' \emph{New in version 4.4.0}
#'
#' @return json format of model #' @return json format of model
#' #'
#' @examples #' @examples
......
...@@ -1054,6 +1054,9 @@ dimnames.lgb.Dataset <- function(x) { ...@@ -1054,6 +1054,9 @@ dimnames.lgb.Dataset <- function(x) {
#' @title Slice a dataset #' @title Slice a dataset
#' @description Get a new \code{lgb.Dataset} containing the specified rows of #' @description Get a new \code{lgb.Dataset} containing the specified rows of
#' original \code{lgb.Dataset} object #' original \code{lgb.Dataset} object
#'
#' \emph{Renamed from} \code{slice()} \emph{in 4.4.0}
#'
#' @param dataset Object of class \code{lgb.Dataset} #' @param dataset Object of class \code{lgb.Dataset}
#' @param idxset an integer vector of indices of rows needed #' @param idxset an integer vector of indices of rows needed
#' @return constructed sub dataset #' @return constructed sub dataset
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
#' @param start_iteration Index (1-based) of the first boosting round to include in the output. #' @param start_iteration Index (1-based) of the first boosting round to include in the output.
#' For example, passing \code{start_iteration=5, num_iteration=3} for a regression model #' For example, passing \code{start_iteration=5, num_iteration=3} for a regression model
#' means "return information about the fifth, sixth, and seventh trees". #' means "return information about the fifth, sixth, and seventh trees".
#'
#' \emph{New in version 4.4.0}
#'
#' @return #' @return
#' A \code{data.table} with detailed information about model trees' nodes and leafs. #' A \code{data.table} with detailed information about model trees' nodes and leafs.
#' #'
......
#! /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.3.0.99. # Generated by GNU Autoconf 2.71 for lightgbm 4.4.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.3.0.99' PACKAGE_VERSION='4.4.0'
PACKAGE_STRING='lightgbm 4.3.0.99' PACKAGE_STRING='lightgbm 4.4.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.3.0.99 to adapt to many kinds of systems. \`configure' configures lightgbm 4.4.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.3.0.99:";; short | recursive ) echo "Configuration of lightgbm 4.4.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.3.0.99 lightgbm configure 4.4.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.3.0.99, which was It was created by lightgbm $as_me 4.4.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.3.0.99, which was This file was extended by lightgbm $as_me 4.4.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.3.0.99 lightgbm config.status 4.4.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.4.0 - Submission 1 - (TBD)
### CRAN response
### Maintainer Notes
## v4.3.0 - Submission 1 - (January 18, 2024) ## v4.3.0 - Submission 1 - (January 18, 2024)
### CRAN response ### CRAN response
......
...@@ -12,8 +12,10 @@ lgb.dump(booster, num_iteration = NULL, start_iteration = 1L) ...@@ -12,8 +12,10 @@ lgb.dump(booster, num_iteration = NULL, start_iteration = 1L)
\item{num_iteration}{Number of iterations to be dumped. NULL or <= 0 means use best iteration} \item{num_iteration}{Number of iterations to be dumped. NULL or <= 0 means use best iteration}
\item{start_iteration}{Index (1-based) of the first boosting round to dump. \item{start_iteration}{Index (1-based) of the first boosting round to dump.
For example, passing \code{start_iteration=5, num_iteration=3} for a regression model For example, passing \code{start_iteration=5, num_iteration=3} for a regression model
means "dump the fifth, sixth, and seventh tree"} means "dump the fifth, sixth, and seventh tree"
\emph{New in version 4.4.0}}
} }
\value{ \value{
json format of model json format of model
......
...@@ -12,8 +12,10 @@ lgb.model.dt.tree(model, num_iteration = NULL, start_iteration = 1L) ...@@ -12,8 +12,10 @@ lgb.model.dt.tree(model, num_iteration = NULL, start_iteration = 1L)
\item{num_iteration}{Number of iterations to include. NULL or <= 0 means use best iteration.} \item{num_iteration}{Number of iterations to include. NULL or <= 0 means use best iteration.}
\item{start_iteration}{Index (1-based) of the first boosting round to include in the output. \item{start_iteration}{Index (1-based) of the first boosting round to include in the output.
For example, passing \code{start_iteration=5, num_iteration=3} for a regression model For example, passing \code{start_iteration=5, num_iteration=3} for a regression model
means "return information about the fifth, sixth, and seventh trees".} means "return information about the fifth, sixth, and seventh trees".
\emph{New in version 4.4.0}}
} }
\value{ \value{
A \code{data.table} with detailed information about model trees' nodes and leafs. A \code{data.table} with detailed information about model trees' nodes and leafs.
......
...@@ -14,8 +14,10 @@ lgb.save(booster, filename, num_iteration = NULL, start_iteration = 1L) ...@@ -14,8 +14,10 @@ lgb.save(booster, filename, num_iteration = NULL, start_iteration = 1L)
\item{num_iteration}{Number of iterations to save, NULL or <= 0 means use best iteration} \item{num_iteration}{Number of iterations to save, NULL or <= 0 means use best iteration}
\item{start_iteration}{Index (1-based) of the first boosting round to save. \item{start_iteration}{Index (1-based) of the first boosting round to save.
For example, passing \code{start_iteration=5, num_iteration=3} for a regression model For example, passing \code{start_iteration=5, num_iteration=3} for a regression model
means "save the fifth, sixth, and seventh tree"} means "save the fifth, sixth, and seventh tree"
\emph{New in version 4.4.0}}
} }
\value{ \value{
lgb.Booster lgb.Booster
......
...@@ -17,6 +17,8 @@ constructed sub dataset ...@@ -17,6 +17,8 @@ constructed sub dataset
\description{ \description{
Get a new \code{lgb.Dataset} containing the specified rows of Get a new \code{lgb.Dataset} containing the specified rows of
original \code{lgb.Dataset} object original \code{lgb.Dataset} object
\emph{Renamed from} \code{slice()} \emph{in 4.4.0}
} }
\examples{ \examples{
\donttest{ \donttest{
......
...@@ -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:
......
...@@ -414,6 +414,8 @@ Learning Control Parameters ...@@ -414,6 +414,8 @@ Learning Control Parameters
- when early stopping is used (i.e. ``early_stopping_round > 0``), require the early stopping metric to improve by at least this delta to be considered an improvement - when early stopping is used (i.e. ``early_stopping_round > 0``), require the early stopping metric to improve by at least this delta to be considered an improvement
- *New in 4.4.0*
- ``first_metric_only`` :raw-html:`<a id="first_metric_only" title="Permalink to this parameter" href="#first_metric_only">&#x1F517;&#xFE0E;</a>`, default = ``false``, type = bool - ``first_metric_only`` :raw-html:`<a id="first_metric_only" title="Permalink to this parameter" href="#first_metric_only">&#x1F517;&#xFE0E;</a>`, default = ``false``, type = bool
- LightGBM allows you to provide multiple evaluation metrics. Set this to ``true``, if you want to use only the first metric for early stopping - LightGBM allows you to provide multiple evaluation metrics. Set this to ``true``, if you want to use only the first metric for early stopping
......
...@@ -396,6 +396,7 @@ struct Config { ...@@ -396,6 +396,7 @@ struct Config {
// check = >=0.0 // check = >=0.0
// desc = when early stopping is used (i.e. ``early_stopping_round > 0``), require the early stopping metric to improve by at least this delta to be considered an improvement // desc = when early stopping is used (i.e. ``early_stopping_round > 0``), require the early stopping metric to improve by at least this delta to be considered an improvement
// desc = *New in 4.4.0*
double early_stopping_min_delta = 0.0; double early_stopping_min_delta = 0.0;
// desc = LightGBM allows you to provide multiple evaluation metrics. Set this to ``true``, if you want to use only the first metric for early stopping // desc = LightGBM allows you to provide multiple evaluation metrics. Set this to ``true``, if you want to use only the first metric for early stopping
......
...@@ -30,7 +30,7 @@ maintainers = [ ...@@ -30,7 +30,7 @@ maintainers = [
name = "lightgbm" name = "lightgbm"
readme = "README.rst" readme = "README.rst"
requires-python = ">=3.7" requires-python = ">=3.7"
version = "4.3.0.99" version = "4.4.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