fit_MLP | R Documentation |
fit_MLP
is a wrapper function for fitting a feedforward SLP or MLP.
fit_MLP(
model,
x,
y,
batch_size = 1,
epochs = 10,
verbose = 1,
validation_split = 0,
cross_validation = NULL
)
model |
A model object to train, e.g. returned by |
x |
A feature data set, usually a matrix or data frame. |
y |
An outcome data set, usually a vector, matrix or data frame. |
batch_size |
Batch size, the number of samples per gradient update. |
epochs |
Number of epochs to train the model. |
verbose |
Verbosity mode (0 = silent, 1 = progress bar, 2 = one line per epoch) determines how the training progress is visualized. |
validation_split |
Float between 0 and 1. Fraction of the training data used as validation data. |
cross_validation |
List or |
A trained model object.
build_MLP
,
fit.keras.engine.training.Model
, evaluate.keras.engine.training.Model
.
Other Single & Multi Layer Perceptron (SLP, MLP):
as_MLP_X()
,
as_MLP_Y()
,
as_tensor_1d()
,
as_tensor_2d()
,
as_tensor_3d()
,
build_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.