Predict method for RVFLNet
# S3 method for class 'rvflnet'
predict(object, newx = NULL, s = NULL, type = "response", ...)
Arguments
- object
rvflnet model
- newx
new data matrix (if NULL, returns fitted values if available)
- s
lambda value (passed to glmnet)
- type
type of prediction ("response", "coefficients", etc.)
- ...
additional arguments passed to predict.glmnet
Examples
if (FALSE) { # \dontrun{
predictions <- predict(model, newx = x_test, s = "lambda.min")
} # }