From 11b67a615ea6a5bdf43e4c8a2d638b284654ee16 Mon Sep 17 00:00:00 2001 From: Leonardo Ramirez-Lopez Date: Tue, 18 Jan 2022 13:49:06 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a1a36c..2b80b96 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ -_Last update: 26.11.2021_ +_Last update: 17.01.2022_

Think Globally, Fit Locally (Saul and Roweis, 2003)

From 4b80d030c762077aaf2c1a92f3036287cad8afc2 Mon Sep 17 00:00:00 2001 From: Leonardo Ramirez-Lopez Date: Tue, 18 Jan 2022 13:51:47 +0100 Subject: [PATCH 2/2] doc(fix uncompleted sentence) --- R/local_fit.R | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/R/local_fit.R b/R/local_fit.R index 79a5d0d..4b411bc 100644 --- a/R/local_fit.R +++ b/R/local_fit.R @@ -88,13 +88,14 @@ #' #' The \code{modified} argument in the pls methods (\code{local_fit_pls()} #' and \code{local_fit_wapls()}) is used to indicate if -#' a modified version of the pls algorithm (modified pls or mpls). The modified -#' pls was proposed Shenk and Westerhaus (1991, see also Westerhaus, 2014) and it -#' differs from the standard pls method in the way the weights of the predictors -#' (used to compute the matrix of scores) are obtained. While pls uses the covariance -#' between response(s) and predictors (and later their deflated versions -#' corresponding at each pls component iteration) to obtain these weights, the modified pls -#' uses the correlation as weights. The authors indicate that by using correlation, +#' a modified version of the pls algorithm (modified pls or mpls) is to be used. +#' The modified pls was proposed Shenk and Westerhaus +#' (1991, see also Westerhaus, 2014) and it differs from the standard pls method +#' in the way the weights of the predictors (used to compute the matrix of +#' scores) are obtained. While pls uses the covariance between response(s) +#' and predictors (and later their deflated versions corresponding at each pls +#' component iteration) to obtain these weights, the modified pls uses the +#' correlation as weights. The authors indicate that by using correlation, #' a larger potion of the response variable(s) can be explained. #' #' @return An object of class \code{local_fit} mirroring the input arguments.