View source: R/createDenseModel.R
createDenseModel | R Documentation |
Simple multilayer dense network.
createDenseModel(
inputVectorSize,
numberOfFiltersAtBaseLayer = 512,
numberOfLayers = 2,
mode = "classification",
numberOfOutputs = 1000
)
inputVectorSize |
Specifies the length of the input vector. |
numberOfFiltersAtBaseLayer |
Number of filters at the initial dense layer. This number is halved for each subsequent layer. |
numberOfLayers |
Number of dense layers defining the model. |
mode |
'classification' or 'regression'. |
numberOfOutputs |
Specifies number of units in final layer |
a keras model
Tustison NJ
library( ANTsRNet )
model <- createDenseModel( 166 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.