Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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

, 21 Oct 2009
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.
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="NeuralXML" targetNamespace="http://tempuri.org/NeuralXML.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/NeuralXML.xsd" xmlns:mstns="http://tempuri.org/NeuralXML.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="NXML">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Network" maxOccurs="unbounded" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Network">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DataBlock" maxOccurs="unbounded" />
			</xs:sequence>
			<xs:attribute name="LoadPath" use="required" type="xs:string"></xs:attribute>
			<xs:attribute name="SaveOnFinish" type="xs:boolean" default="true"></xs:attribute>
			<xs:attribute name="SavePath" type="xs:string"></xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="DataBlock">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="PatternData" maxOccurs="unbounded" />
				<xs:element ref="ImageData" maxOccurs="unbounded" />
			</xs:sequence>
			<xs:attribute name="Type" use="required" type="BlockType"></xs:attribute>
			<xs:attribute name="TrainCount" type="xs:long" />
		</xs:complexType>
	</xs:element>
	<xs:element name="PatternData">
		<xs:complexType>
			<xs:attribute name="InputType" default="Pattern" type="DataType"></xs:attribute>
			<xs:attribute name="InputValue" type="xs:string" use="required" />
			<xs:attribute name="OutputType" default="Pattern" type="DataType"></xs:attribute>
			<xs:attribute name="OutputValue" type="xs:string" />
		</xs:complexType>
	</xs:element>
	<xs:element name="ImageData">
		<xs:complexType>
			<xs:attribute name="InputFile" type="xs:string" use="required" />
			<xs:attribute name="OutputFile" type="xs:string" use="required" />
			<xs:attribute name="InputWidth" type="xs:long" />
			<xs:attribute name="InputHeight" type="xs:long" />
			<xs:attribute name="OutputWidth" type="xs:long" />
			<xs:attribute name="OutputHeight" type="xs:long" />
			<xs:attribute name="OutputValue" type="xs:string" />
			<xs:attribute name="OutputType" type="DataType" default="Pattern" />
		</xs:complexType>
	</xs:element>
	<xs:simpleType name="BlockType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Train" />
			<xs:enumeration value="Run" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DataType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Pattern" />
			<xs:enumeration value="Char" />
			<xs:enumeration value="Number" />
			<xs:enumeration value="Array" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>

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)

About the Author


| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 21 Oct 2009
Article Copyright 2006 by Anoop Madhusudanan
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid