设计神经网模块的生成模

来源:互联网 发布:c语言产生随机数简单 编辑:程序博客网 时间:2024/04/29 05:44

       

         应用代码编写程序:

    

    gensim(net,st)
 load netL7.mat            %加载net7.mat
   net=
         Neural Network object:
                
         architecture:  
               
----------------------------------------------------------------------------------

        
         abbr net= appCodeName   
               
         
         numlnputs:1
         numlayers:2
         biasConnect:[1;1]
         inputConnect:[1,0]
         layerConnect:[0 0;1 0]
         outputConnect:[0 1]
        
                      numOutputs:1 (read-only)
                      numInputDelays:0 (read-only)
                      numLayerDelays:0 (read-only) 
             subobject structures:
                             inputs:{1x1 cell } of inputs
                             layers:{2x1 cell } of layers
                           outputs:{1x2 cell }  containing 1  output
                              biases:{2x1 cell }  containing 2 biases
                    inputWeights:{2x1 cell }  containing 1 input weight
                    layerWeights:{ 2x2 cell)  containing  1 layer weight

--------------------------------------------------------------------------------------------

           functions:
                     adaptFcn:'trains‘
                    divideFcn: (nine) 
                 gradientFcn:’ gdefaults‘
                       initFcn: ’ initlay ‘
                    performFcn:’ mse‘
                        plotFcns:{' plotperform ' ,' plottrainstate ' ,' plotregression'}
                        trainFcn: ' trainbfg ' 

-----------------------------------------------------------------------------------------------------------------

             parameters:
                          adaptParam:. passes
                          divideParam:(none)
                       gradientParam:(none)
                                initParam:(none)
                        performParam:(none)
                          trainParam:.show, .show Window, .showCommandLine, .epochs,
                                               .time, .goal,max_grad,
                                               .searchFcn, .scale_tol,alpha, .beta,
                                               .delta, .gama, .low_lim, .up_lim,
                                               .maxstep, .minstep, .bmax, .bmax, .batch_frag


  weight and bias values:
                                  IW:{ 2x1 cell } containing 1 input weight matrix 
                                  Lw:{ 2x2 cell } containing 1 layer weight matrix
                                     b:{ 2x1  cell } containing 2 bias vectors


              other:
                         name:" 
                   userdata:(user information) 
     设计好神经网后,为了能够使gensim函数生成神经网 的一块模应该在命令的窗口中输入


                            gensim(net, -1)   
                                       
                                        

1 0
原创粉丝点击