Unverified Commit 97c8d945 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[docs][R-package] Use direct link for the list of supported objectives (#5029)

* Update lightgbm.R

* Update lightgbm.Rd
parent 31facb40
...@@ -94,8 +94,8 @@ NULL ...@@ -94,8 +94,8 @@ NULL
#' @param weight vector of response values. If not NULL, will set to dataset #' @param weight vector of response values. If not NULL, will set to dataset
#' @param objective Optimization objective (e.g. `"regression"`, `"binary"`, etc.). #' @param objective Optimization objective (e.g. `"regression"`, `"binary"`, etc.).
#' For a list of accepted objectives, see #' For a list of accepted objectives, see
#' \href{https://lightgbm.readthedocs.io/en/latest/Parameters.html}{ #' \href{https://lightgbm.readthedocs.io/en/latest/Parameters.html#objective}{
#' the "Parameters" section of the documentation}. #' the "objective" item of the "Parameters" section of the documentation}.
#' @param init_score initial score is the base prediction lightgbm will boost from #' @param init_score initial score is the base prediction lightgbm will boost from
#' @param ... Additional arguments passed to \code{\link{lgb.train}}. For example #' @param ... Additional arguments passed to \code{\link{lgb.train}}. For example
#' \itemize{ #' \itemize{
......
...@@ -54,8 +54,8 @@ set to the iteration number of the best iteration.} ...@@ -54,8 +54,8 @@ set to the iteration number of the best iteration.}
\item{objective}{Optimization objective (e.g. `"regression"`, `"binary"`, etc.). \item{objective}{Optimization objective (e.g. `"regression"`, `"binary"`, etc.).
For a list of accepted objectives, see For a list of accepted objectives, see
\href{https://lightgbm.readthedocs.io/en/latest/Parameters.html}{ \href{https://lightgbm.readthedocs.io/en/latest/Parameters.html#objective}{
the "Parameters" section of the documentation}.} the "objective" item of the "Parameters" section of the documentation}.}
\item{init_score}{initial score is the base prediction lightgbm will boost from} \item{init_score}{initial score is the base prediction lightgbm will boost from}
......
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