简体   繁体   English

如何读取nnet结果

[英]How to read nnet results

i have a quick question, how to read the wts results of the neural networks nnet. 我有一个快速的问题,如何读取神经网络nnet的wts结果。 Does is go first layer, starting from the intercept, input 1 to hidden 1, input 1 to hidden 2.... than input 2 to all the nodes than continuing to hidden layer to output layer? 是从截距开始进入第一层,从输入1到隐藏1,从输入1到隐藏2。...比向所有节点输入2继续到隐藏层到输出层?

  nn$wts
      [1]  3050.8760936  3107.0191968 -3564.4774407  -727.7370641 -5428.0323370 -4404.2098978 -2064.8889704
      [8]  1456.2299660 -3243.1321916  2489.6174523   280.1332898 -1210.5267151   415.1520279   896.0419093
     [15]  -246.6938749  2337.0836060  1349.1387371   245.1213787  -678.4449843 -2301.9736401  1763.3316270
     [22] -2097.4340748 -2668.2344484

A quick way to figure out what is going on is to use 弄清楚发生了什么的一种快速方法是使用

summary(nn)

This gives a nice table which summarizes which weights correspond to which nodes. 这提供了一个不错的表格,总结了哪些权重对应于哪些节点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM