From 6114ecb108fb1907f7fd259f87c513c477a05585 Mon Sep 17 00:00:00 2001 From: Alexander Rosenstock Date: Mon, 17 Jun 2024 19:15:18 +0200 Subject: [PATCH] fix NOTE on missing package link --- R/callback_adaptive_lr.R | 4 ++-- man/callback_adaptive_lr.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/callback_adaptive_lr.R b/R/callback_adaptive_lr.R index 29367b0..7c02fb8 100644 --- a/R/callback_adaptive_lr.R +++ b/R/callback_adaptive_lr.R @@ -21,9 +21,9 @@ #' @param restore_weights Bool. If TRUE, the best weights will be restored at each learning rate reduction. #' This is very useful if the metric oscillates. #' -#' @details Note that while [callback_reduce_lr_on_plateau()] automatically logs the learning rate as a metric 'lr', +#' @details Note that while [keras3::callback_reduce_lr_on_plateau()] automatically logs the learning rate as a metric 'lr', #' this is currently impossible from R. -#' Thus, if you want to also log the learning rate, you should add [callback_reduce_lr_on_plateau()] with a high +#' Thus, if you want to also log the learning rate, you should add [keras3::callback_reduce_lr_on_plateau()] with a high #' `min_lr` to effectively disable the callback but still monitor the learning rate. #' #' @return A `KerasCallback` suitable for passing to [keras3::fit()]. diff --git a/man/callback_adaptive_lr.Rd b/man/callback_adaptive_lr.Rd index c59f5f2..e6eb8cc 100644 --- a/man/callback_adaptive_lr.Rd +++ b/man/callback_adaptive_lr.Rd @@ -53,9 +53,9 @@ to the best seen so far whenever a learning rate reduction occurs, and with slig detection. } \details{ -Note that while \code{\link[=callback_reduce_lr_on_plateau]{callback_reduce_lr_on_plateau()}} automatically logs the learning rate as a metric 'lr', +Note that while \code{\link[keras3:callback_reduce_lr_on_plateau]{keras3::callback_reduce_lr_on_plateau()}} automatically logs the learning rate as a metric 'lr', this is currently impossible from R. -Thus, if you want to also log the learning rate, you should add \code{\link[=callback_reduce_lr_on_plateau]{callback_reduce_lr_on_plateau()}} with a high +Thus, if you want to also log the learning rate, you should add \code{\link[keras3:callback_reduce_lr_on_plateau]{keras3::callback_reduce_lr_on_plateau()}} with a high \code{min_lr} to effectively disable the callback but still monitor the learning rate. } \examples{