View source: R/train_model_indels.R
generate_NN_structure_indels | R Documentation |
This function builds a neural network structure for indel analysis. It takes an input layer and iteratively adds specified hidden layers, followed by an output layer for classification.
generate_NN_structure_indels(inputs, input_layer, layers, reg = 0)
inputs |
The input structure for the neural network, usually from the data input layer. |
input_layer |
The initial layer of the neural network to which additional layers are added. |
layers |
A list or vector indicating the number of units in each hidden layer of the network. |
reg |
Regularization parameter applied to each dense layer for preventing overfitting. Defaults to 0. |
A keras model object representing the constructed neural network.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.