Description Usage Arguments Value
This function takes an RBM and a matrix of new data, and predicts for the new data with the RBM.
1 2 3 |
object |
a RBM object |
newdata |
a sparse matrix of new data |
type |
a character vector specifying whether to return the hidden unit activations, hidden unit probs, or hidden unit states. Activations or probabilities are typically the most useful if you wish to use the RBM features as input to another predictive model (or another RBM!). Note that the hidden states are stochastic, and may be different each time you run the predict function, unless you set random.seed() before making predictions. Activations and states are non-stochastic, and will be the same each time you run predict. |
omit_bias |
Don't return the bias column in the prediciton matrix. |
... |
not used |
a sparse matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.