| as_MLP_Y | R Documentation |
Outcomes (Y) data format for SLP/MLP
as_MLP_Y(y, encoding = c("one_hot", "sparse"))
y |
An outcome data set, usually a vector, matrix or data frame. |
encoding |
The type of encoding: one-hot encoding or sparse encoding. |
A two-dimensional array of the outcome y. For a factor outcome, the result is an encoded matrix.
as_MLP_X, one_hot_encode, sparse_encode.
Other Single & Multi Layer Perceptron (SLP, MLP):
as_MLP_X(),
as_tensor_1d(),
as_tensor_2d(),
as_tensor_3d(),
build_MLP(),
fit_MLP(),
load_weights_ANN(),
nsamples(),
nsubsequences(),
ntimesteps(),
nunits(),
predict_ANN(),
save_weights_ANN()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.