Description Usage Arguments Value
Deep Learning Regression with Known Network Structure
1 2 | dl_regression_single(x, y, complexity, dropout, lr, validation_split, num_epoch,
num_patience)
|
x |
training feature matrix |
y |
target matrix |
complexity |
a vector indicating numbers of hidden units in each layer, e.g. c(3,6,7) means 3 layers with 3, 6, 7 units in each layer |
dropout |
a vector indicating the dropout rate in each layer, e.g c(0.1,0.2,0.3) |
lr |
learning rate for the optimizer |
validation_split |
percent of data used for validation |
num_epoch |
number of epoches to go through during training |
num_patience |
number of patience in early stopping criteria |
returns a list object with three values: model: keras model contructed. A keras_model object loss: a vector containing loss value in each epoch accuracy: a vector containing accuracy value in each epoch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.