Description Usage Arguments Details Examples
View source: R/build_keras_net.R
Utility function to build a Keras MLP.
1 2 3 4 5 6 7 8 9 10 11 |
n_in |
|
n_out |
|
nodes |
|
layer_pars |
|
activation |
|
act_pars |
|
dropout |
|
batch_norm |
|
batch_pars |
|
This function is a helper for R users with less Python experience. Currently it is limited to simple MLPs and with identical layers. More advanced networks will require manual creation with keras.
1 2 3 | build_keras_net(10, 1)
build_keras_net(n_in = 10, n_out = 1, nodes = c(4, 4, 4), activation = "elu")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.