predict.mlkit.dual.ridge.fit: Model Predictions for Dual Ridge Regression Model

Description Usage Arguments Value

View source: R/predict.mlkit.dual.ridge.R

Description

Custom implementation for prediction using model fits using the dual.ridge.lm method.

Usage

1
2
## S3 method for class 'mlkit.dual.ridge.fit'
predict(object, newdata = NULL, ...)

Arguments

object

mlkit.dual.ridge.fit object generated by a call to the dual.ridge.lm method that is used for prediction.

newdata

optional matrix of explanatory variables to use in prediction. Default is NULL in which case the in-sample predictions are returned.

...

additional arguments affecting the predictions produced.

Value

Atomic vector containing predictions based on the given model and explanatory variables.


Accelerytics/mlkit documentation built on Dec. 31, 2020, 9:46 a.m.