transform_x: Transforms original predictors (x) into new predictors...

Description Usage Arguments Examples

Description

Transforms original predictors (x) into new predictors (x_new) using a trained RBM model object.

Usage

1
transform_x(model_rbm, x)

Arguments

model_rbm

A trained RBM object from train_rbm(...).

x

Original predictors.

Examples

1
2
3
## Extracts hidden features and create new predictors.
model_rbm <- train_rbm(x, n_features = 10)
x_new <- transform_x(model_rbm, x)

woobe/deepr documentation built on May 4, 2019, 9:47 a.m.