| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package brain :: Module conx |
|
---------------------------------------------------- An Artificial Neural Network System Implementing Backprop. Part of the Pyrobot Robotics Project. Provided under the GNU General Public License. ---------------------------------------------------- (c) 2001-2005, Developmental Robotics Research Group ---------------------------------------------------- This file implements the major classes and functions for making artificial neural networks in Python. Part of the Pyrobot project.
| Classes | |
|---|---|
Connection |
Class which contains references to two layers (from and to) and the weights between them. |
Layer |
Class which contains arrays of node elements (ie, activation, error, bias, etc). |
Network |
Class which contains all of the parameters and methods needed to run a neural network. |
SRN |
A subclass of Network. |
| Exceptions | |
|---|---|
LayerError |
Used to indicate that a layer has some improper attribute (size, type, etc.). |
NetworkError |
Used to indicate that a network has some improper attribute (no layers, no connections, etc.). |
SRNError |
Used to indicate that SRN specific attributes are improper. |
| Function Summary | |
|---|---|
Prints an array (any sequence of floats, really) to the screen. | |
Loads network from a file using pickle. | |
Makes a multi-dimensional array of random floats. | |
Returns an array initialized to random values between -max and max. | |
Returns an array (any sequence of floats, really) as a string. | |
Writes a sequence a of floats to file pointed to by file pointer. | |
| Variable Summary | |
|---|---|
str |
__author__ = 'Douglas Blank <dblank@brynmawr.edu>'
|
str |
__version__ = '$Revision: 1.153 $'
|
| Function Details |
|---|
displayArray(name, a, width=0)Prints an array (any sequence of floats, really) to the screen. |
loadNetworkFromFile(filename)Loads network from a file using pickle. See Network.saveNetworkToFile() |
ndim(n, *args)Makes a multi-dimensional array of random floats. (Replaces RandomArray). |
randomArray(size, bound)Returns an array initialized to random values between -max and max. |
toStringArray(name, a, width=0)Returns an array (any sequence of floats, really) as a string. |
writeArray(fp, a, delim=' ', nl=1)Writes a sequence a of floats to file pointed to by file pointer. |
| Variable Details |
|---|
__author__
|
__version__
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:28 2005 | http://epydoc.sf.net |