Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

PLSModel

Partial Least Squares Model


Description

Function to perform partial least squares regression.

Usage

PLSModel(ncomp = 1, scale = FALSE)

Arguments

ncomp

number of components to include in the model.

scale

logical indicating whether to scale the predictors by the sample standard deviation.

Details

Response Types:

factor, numeric

Automatic Tuning of Grid Parameters:

ncomp

Further model details can be found in the source link below.

Value

MLModel class object.

See Also

Examples

## Requires prior installation of suggested package pls to run

fit(sale_amount ~ ., data = ICHomes, model = PLSModel)

MachineShop

Machine Learning Models and Tools

v2.8.0
GPL-3
Authors
Brian J Smith [aut, cre]
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.