Predicts the target values using the fitted RVFL2 model on new input data.

# S3 method for class 'rvfl2'
predict(object, new_x, dropout = object$dropout, seed = object$seed)

Arguments

object

An object of class rvfl2 (the fitted model).

new_x

A numeric matrix of input features (test data).

dropout

A numeric value between 0 and 1 representing the dropout rate. Default is the value used during training.

seed

An integer seed for random number generation. Default is the value used during training.

Value

A numeric vector of predicted target values.