Example: bankruptcy

Neural Network Toolbox User's Guide

Neural Network ToolboxFor Use with MATLAB Howard DemuthMark BealeUser s GuideVersion 4 How to Contact The Technical Product enhancement Bug Documentation error Order status, license renewals, Sales, pricing, and general information508-647-7000 Phone508-647-7001 FaxThe MathWorks, Apple Hill DriveNatick, MA 01760-2098 For contact information about worldwide offices, see the MathWorks Web Network Toolbox User s Guide COPYRIGHT 1992 - 2004 by The MathWorks, Inc. The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or through the federal government of the United States.

neural networks, discusses their design and application, and makes considerable use of M ATLAB and the Neural Network Toolbox. Demonstration programs from the book are used in various chapters of this Guide. (You can find all the book demonstration programs in the Neural Network Toolbox by typing nnd.) The book has:

Tags:

  Network, Neural network, Neural, Tabla, Ma tlab

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Neural Network Toolbox User's Guide

1 Neural Network ToolboxFor Use with MATLAB Howard DemuthMark BealeUser s GuideVersion 4 How to Contact The Technical Product enhancement Bug Documentation error Order status, license renewals, Sales, pricing, and general information508-647-7000 Phone508-647-7001 FaxThe MathWorks, Apple Hill DriveNatick, MA 01760-2098 For contact information about worldwide offices, see the MathWorks Web Network Toolbox User s Guide COPYRIGHT 1992 - 2004 by The MathWorks, Inc. The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or through the federal government of the United States.

2 By accepting delivery of the Program or Documentation, the government hereby agrees that this software or documentation qualifies as commercial computer software or commercial computer software documentation as such terms are used or defined in FAR , DFARS Part , and DFARS Accordingly, the terms and conditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and disclosure of the Program and Documentation by the federal government (or other entity acquiring for or through the federal government) and shall supersede any conflicting contractual terms or conditions. If this License fails to meet the government's needs or is inconsistent in any respect with federal procurement law, the government agrees to return the Program and Documentation, unused, to The MathWorks, , Simulink, Stateflow, Handle Graphics, and Real-Time Workshop are registered trademarks, and TargetBox is a trademark of The MathWorks, product or brand names are trademarks or registered trademarks of their respective.

3 June 1992 First printingApril 1993 Second printingJanuary 1997 Third printingJuly 1997 Fourth printingJanuary 1998 Fifth printingRevised for Version 3 (Release 11)September 2000 Sixth printingRevised for Version 4 (Release 12)June 2001 Seventh printingMinor revisions (Release )July 2002 Online onlyMinor revisions (Release 13)January 2003 Online onlyMinor revisions (Release 13SP1)June 2004 Online onlyRevised for Release 14 October 2004 Online onlyRevised for Version (Release 14SP1) PrefaceNeural Networks (p. vi)Defines and introduces Neural NetworksBasic Chapters (p. viii)Identifies the chapters in the book with the basic, general knowledge needed to use the rest of the bookMathematical Notation for Equations and Figures (p. ix)Defines the mathematical notation used throughout the bookMathematics and Code Equivalents (p. xi)Provides simple rules for transforming equations to code and visa versaNeural Network Design Book (p.)

4 Xii)Gives ordering information for a useful supplemental bookAcknowledgments (p. xiii)Identifies and thanks people who helped make this book possible PrefaceviNeural NetworksNeural networks are composed of simple elements operating in parallel. These elements are inspired by biological nervous systems. As in nature, the Network function is determined largely by the connections between elements. We can train a Neural Network to perform a particular function by adjusting the values of the connections (weights) between Neural networks are adjusted, or trained, so that a particular input leads to a specific target output. Such a situation is shown below. There, the Network is adjusted, based on a comparison of the output and the target, until the Network output matches the target. Typically many such input/target pairs are used, in this supervised learning, to train a training of a Network proceeds by making weight and bias changes based on an entire set (batch) of input vectors.

5 Incremental training changes the weights and biases of a Network as needed after presentation of each individual input vector. Incremental training is sometimes referred to as on line or adaptive networks have been trained to perform complex functions in various fields of application including pattern recognition, identification, classification, speech, vision and control systems. A list of applications is given in Chapter Neural networks can be trained to solve problems that are difficult for conventional computers or human beings. Throughout the Toolbox emphasis is placed on Neural Network paradigms that build up to or are themselves used in engineering, financial and other practical Network including connections (called weights) between neurons InputOutputTargetAdjust weightsCompareNeural NetworksviiThe supervised training methods are commonly used, but other networks can be obtained from unsupervised training techniques or from direct design methods.

6 Unsupervised networks can be used, for instance, to identify groups of data. Certain kinds of linear networks and Hopfield networks are designed directly. In summary, there are a variety of kinds of design and learning techniques that enrich the choices that a user can field of Neural networks has a history of some five decades but has found solid application only in the past fifteen years, and the field is still developing rapidly. Thus, it is distinctly different from the fields of control systems or optimization where the terminology, basic mathematics, and design procedures have been firmly established and applied for many years. We do not view the Neural Network Toolbox as simply a summary of established procedures that are known to work well. Rather, we hope that it will be a useful tool for industry, education and research, a tool that will help users find what works and what doesn t, and a tool that will help develop and extend the field of Neural networks.

7 Because the field and the material are so new, this Toolbox will explain the procedures, tell how to apply them, and illustrate their successes and failures with examples. We believe that an understanding of the paradigms and their application is essential to the satisfactory and successful use of this Toolbox , and that without such understanding user complaints and inquiries would bury us. So please be patient if we include a lot of explanatory material. We hope that such material will be helpful to you. PrefaceviiiBasic ChaptersThe Neural Network Toolbox is written so that if you read Chapter 2, Chapter 3 and Chapter 4 you can proceed to a later chapter, read it and use its functions without difficulty. To make this possible, Chapter 2 presents the fundamentals of the neuron model, the architectures of Neural networks. It also will discuss notation used in the architectures. All of this is basic material.

8 It is to your advantage to understand this Chapter 2 material neuron model and the architecture of a Neural Network describe how a Network transforms its input into an output. This transformation can be viewed as a computation. The model and the architecture each place limitations on what a particular Neural Network can compute. The way a Network computes its output must be understood before training methods for the Network can be Notation for Equations and FiguresixMathematical Notation for Equations and FiguresBasic ConceptsScalars-small italic ,b,cVectors - small bold non-italic ,b,cMatrices - capital BOLD non-italic ,B,C LanguageVector means a column of MatricesScalar Element - row, - column, - time or iterationMatrix Column Vector Row Vector ..vector made of ith row of weight matrix WBias VectorScalar Element Vector Layer NotationA single superscript is used to identify elements of layer.

9 For instance, the net input of layer 3 would be shown as n3. Superscripts are used to identify the source (l) connection and the destination (k) connection of layer weight matrices ans input weight matrices. For instance, the layer weight matrix from layer 2 to layer 4 would be shown as LW4, ,t()ijtWt()wjt()wit()bit()bt()kl, PrefacexInput Weight Matrix Layer Weight Matrix Figure and Equation ExamplesThe following figure, taken from Chapter 12 illustrates notation used in such advanced ,LWkl,p1(k)a1(k)1n1(k) 2 x 14 x 2 4 x 1 4 x 14 x 1 Inputs IW1,1 b124 Layers 1 and 2 Layer 3a1(k) = tansig (IW1,1p1(k) +b1) 53 x (2*2) IW2,13 x (1*5) IW2,2n2(k)3 x 13 TDLp2(k) 5 x 1 TDL1 x 4 IW3,11 x 3 1 x (1*1) 11 x 1 b3 TDL3 x 1a2(k)a3(k)n3(k)1 x 11 x 11 a2(k) = logsig (IW2,1 [p1(k);p1(k-1) ]+ IW2,2p2(k-1))0,111a3(k)=purelin(LW3,3a3( k-1)+IW3,1 a1 (k)+b3+LW3,2a2 (k))LW3,2LW3,3y2(k)1 x 1y1(k)3 x 1 OutputsMathematics and Code EquivalentsxiMathematics and Code EquivalentsThe transition from mathematics to code or vice versa can be made with the aid of a few rules.

10 They are listed here for future change from mathematics notation to MATLAB notation, the user needs to: Change superscripts to cell array example, Change subscripts to parentheses example, , and Change parentheses indices to a second cell array example, Change mathematics operators to MATLAB operators and Toolbox example, The following equations illustrate the notation used in {} p2p2() p21p1{}2() p1k1 ()p1k1 ,{} aba*b nw11,p1w12, ,pRb+++ +=Ww11,w12,..w1R,w21,w22,..w2R,wS1,wS2,. .wSR,= PrefacexiiNeural Network Design BookProfessor Martin Hagan of Oklahoma State University, and Neural Network Toolbox authors Howard Demuth and Mark Beale have written a textbook, Neural Network Design (ISBN 0-9717321-0-8). The book presents the theory of Neural networks, discusses their design and application, and makes considerable use of MATLAB and the Neural Network Toolbox . Demonstration programs from the book are used in various chapters of this Guide .


Related search queries