SnnsRObject$createNet | R Documentation |
This function creates a layered network in the given SnnsR object.
This is an SnnsR low-level function. You may want to have a look
at SnnsR-class
to find out how to properly use it.
## S4 method for signature 'SnnsR'
createNet(unitsPerLayer, fullyConnectedFeedForward = TRUE, iNames = NULL, oNames = NULL)
unitsPerLayer |
a vector of integers that represents the number of units in each layer, including input and output layer |
fullyConnectedFeedForward |
if |
iNames |
names of input units |
oNames |
names of output units |
SnnsR-class
obj1 <- SnnsRObjectFactory()
obj1$createNet(c(2,2), FALSE)
obj1$getUnitDefinitions()
obj2 <- SnnsRObjectFactory()
obj2$createNet(c(8,5,5,2), TRUE)
obj2$getUnitDefinitions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.