rvflnet.RdFits an RVFL model using glmnet on augmented random feature space.
design matrix
response vector
number of random hidden units (must be > 0)
activation function ("tanh", "relu", "sigmoid", "identity", or custom function)
type of random weights ("gaussian", "uniform", "sobol")
random seed for reproducibility
logical, whether to standardize inputs
logical, whether to include original features (default TRUE)
logical, whether to store y in model (for residuals, default FALSE)
response type ("gaussian", "binomial", "poisson", "multinomial", "cox", "mgaussian"). For family = "cox", y must be a Surv object from the survival package.
additional arguments passed to glmnet::glmnet
object of class "rvflnet"