小编use*_*303的帖子

从nnet包R cran绘制神经网络模型

是否有任何软件包或其他软件可以从nnet软件包中绘制神经网络模型.

我使用nnet和Rattle训练了一个神经网络模型(3个输入和1个输出):

crs$nnet <- nnet(as.factor(Target) ~ .,
                 data=crs$dataset[crs$sample,c(crs$input, crs$target)],
                 size=10, skip=TRUE, MaxNWts=10000, 
                 trace=FALSE, maxit=100)
Run Code Online (Sandbox Code Playgroud)

这是模型的摘要:

Neural Network build options: skip-layer connections; entropy fitting.

In the following table:
   b  represents the bias associated with a node
   h1 represents hidden layer node 1
   i1 represents input node 1 (i.e., input variable 1)
   o  represents the output node

Weights for node h1:
 b->h1 i1->h1 i2->h1 i3->h1 
 -0.66   0.15   0.24  -0.31 

Weights for node h2:
 b->h2 i1->h2 i2->h2 i3->h2 
 -0.62   1.32   1.16   0.24 

Weights …
Run Code Online (Sandbox Code Playgroud)

plot r neural-network cran

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

cran ×1

neural-network ×1

plot ×1

r ×1