Internal helper to build the RVFL design matrix.

.rvfl_features(x, W, center, scale_vec, activation)

Arguments

x

numeric matrix of predictors

W

random projection matrix

center

centering vector

scale_vec

scaling vector

activation

activation function name or custom function

Value

augmented design matrix cbind(x, hidden features)