Description Usage Arguments Value References Examples
Create input files and corresponding script for NeuralNetTools soft- ware (An R package at the CRAN site) to show the structure of NNs using parameters (weights and biases).
1 | write.NeuralNetTools(w,nHidden,x,y)
|
w |
( |
nHidden |
(positive integer, 1 x h) matrix, h indicates the number of hidden-layers and nHidden[1,h] indicates the neurons of the h-th hidden-layer. |
x |
((numeric, n x p) incidence matrix. |
y |
(numeric, n) the response data-vector. |
Input data for NeuralNetTools.
Beck MW. 2015. NeuralNetTools: Visualization and Analysis Tools for Neural Networks. Version 1.5.0. https://cran.rstudio.com/package=NeuralNetTools
1 2 3 4 5 6 | ## Not run:
library(NeuralNetTools)
optstru=write.NeuralNetTools(w =network$wDNNs,nHidden =nHidden ,x = x,y=y )
plotnet(optstru$w_re,struct = optstru$structure)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.