write.NeuralNetTools {snnR} | R Documentation |
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).
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
## 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)