write.NeuralNetTools: Prepare data for NeuralNetTools

Description Usage Arguments Value References Examples

Description

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).

Usage

1
write.NeuralNetTools(w,nHidden,x,y)

Arguments

w

(numeric) parameters (weights and biases) of neural network.

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.

Value

Input data for NeuralNetTools.

References

Beck MW. 2015. NeuralNetTools: Visualization and Analysis Tools for Neural Networks. Version 1.5.0. https://cran.rstudio.com/package=NeuralNetTools

Examples

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)

snnR documentation built on May 2, 2019, 8:54 a.m.