Predict method for cross-validated RVFLNet

# S3 method for class 'cv.rvflnet'
predict(object, newx = NULL, s = "lambda.min", type = "response", ...)

Arguments

object

cv.rvflnet model

newx

new data matrix (if NULL, returns fitted values if available)

s

lambda value ("lambda.min", "lambda.1se", or numeric)

type

type of prediction ("response", "coefficients", etc.)

...

additional arguments passed to predict.glmnet

Value

predictions

Examples

if (FALSE) { # \dontrun{
predictions <- predict(cv_model, newx = x_test, s = "lambda.min")
} # }