Description Usage Arguments Value Examples
Extracts hidden features from multiple predictors (x) using RBM and returns the final RBM model.
1 2 |
x |
Multi-column predictors (numeric - matrix). |
n_features |
Number of hidden features to be extracted. (Default: 100) |
n_batchsize |
Size of mini batches for RBM training. (Default: 100) |
n_epochs |
Number of iterative steps required for each RBM training. (Default: 100) |
rmv_nearZeroVar |
Should the variables of near zero variance to be removed? (Default: TRUE) |
rbm The main RBM object with the weights of hidden features and related stats.
nzv The columns that have near zero variance.
pp The caret object that contains the pre-processing stats.
1 2 3 4 5 | ## Train a single layer of RBM with 100 hidden features
model_rbm <- train_rbm(x, n_features = 100)
## Transform the original predictors (x) into new predictors (x_new)
x_new <- transform_x(model_rbm, x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.