Description Usage Arguments Value
Fit neural network by keras package with early stopping
1 2 3 4 5 6 7 8 9 10 11 12 | fit_keras_es(
x,
y,
eval_x,
eval_y,
task_type,
keras_model,
epoch = 10000L,
patience = 20L,
seed,
...
)
|
x |
A matrix of features. |
y |
A vector of labels. |
eval_x |
A matrix of features for evaluation. |
eval_y |
A vector of labels for evaluation. |
task_type |
A character scalar of task_type. |
keras_model |
A keras model object. |
epoch |
A integer scalar of epoch. |
patience |
A integer scalar of patience. |
seed |
A integer scalar of random seed. |
... |
Additional arguments passed to keras::fit. |
A fitted object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.