Click here to Skip to main content
15,881,248 members
Articles / Programming Languages / UML

Designing And Implementing A Neural Network Library For Handwriting Detection, Image Analysis etc.- The BrainNet Library - Full Code, Simplified Theory, Full Illustration, And Examples

Rate me:
Please Sign up or sign in to vote.
4.76/5 (97 votes)
21 Oct 2009CPOL26 min read 372.7K   7.8K   356  
This article will explain the actual concepts and implementation of Backward Propagation Neural Networks very easily - see project code and samples, like a simple pattern detector, a hand writing detection pad, an xml based neural network processing language etc in the source zip.
'------------------------------------------------------------------
' License Notice:
'------------------------------------------------------------------
' All Rights Reserved - Anoop Madhusudanan, 
' Mail: amazedsaint@gmail.com
' Website: http://amazedsaint.blogspot.com

' See my articles about BrainNet at 
' http://amazedsaint-articles.blogspot.com for details
'
' You can use this code (or part of it), for non 
' commercial and academic uses, as long as 
'   - You are keeping this notice along with it
'   - You are not making any profit out of this
'------------------------------------------------------------------

'''<summary>The interface for defining the strategy of a neuron </summary>
Public Interface INeuronStrategy


    '''<summary>Function to find the delta or error rate of this INeuron </summary>
    Function FindDelta(ByVal output As Single, ByVal errorFactor As Single) As Single


    '''<summary>Activation Function, or ThreshHold function</summary>
    Function Activation(ByVal value As Single) As Single


    '''<summary>Summation Function for finding the net value</summary>
    Function FindNetValue(ByVal inputs As NeuronConnections, ByVal bias As Single) As Single

    '''<summary>Function for calculating new bias</summary>
    Function FindNewBias(ByVal bias As Single, ByVal delta As Single) As Single

    '''<summary>Function for updating weights</summary>
    Sub UpdateWeights(ByRef connections As NeuronConnections, ByVal delta As Single)

End Interface

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
India India
Architect, Developer, Speaker | Wannabe GUT inventor & Data Scientist | Microsoft MVP in C#

Comments and Discussions