define_model | R Documentation |
Define a Keras model for the customer churn data.
define_model(recipe, units1, units2, act1, act2, act3)
recipe |
A |
units1 |
Number of neurons in the first layer. |
units2 |
Number of neurons in the second layer. |
act1 |
Activation function for layer 1. |
act2 |
Activation function for layer 2. |
act3 |
Activation function for layer 3. |
A Keras model. Not compiled or run yet.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.