home brewed s4 neural network package
at the moment only suitable for classification
user may define number of hidden layers and number of weights in hidden layers (must be constant across hidden layers)
solves using optim() with default "L-BFGS-B"
library(nnePtR) model <- nnetBuild(iris[, 1:4], iris[, 5], nLayers = 2, nUnits = 20, lambda = 0.1) summary(model) predict(model, newdata = iris[, 1:4], type = "prob")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.