predict.samQL {SAM}R Documentation

Prediction function for S3 class "samQL"

Description

Predict the labels for testing data.

Usage

## S3 method for class 'samQL'
predict(object, newdata, ...)

Arguments

object

An object with S3 class "samQL".

newdata

The testing dataset represented in a n by d matrix, where n is testing sample size and d is dimension.

...

System reserved (No specific usage)

Details

The testing dataset is rescale to the samQLe range, and expanded by the samQLe spline basis functions as the training data.

Value

values

Predicted values also represented in a n by the length of lambda matrix, where n is testing sample size.

See Also

samQL


[Package SAM version 1.1.3 Index]