AI::NeuralNet::BackProp

Description

AI::NeuralNet::BackProp is a simple back-prop neural net that uses Deltas and Hebbs rule. SYNOPSIS use AI::NeuralNet::BackProp; # Create a new network with 1 layer, 5 inputs, and 5 outputs. my $net = new AI::NeuralNet::BackProp(1,5,5); # Add a small amount of randomness to the network $net->random(0.001); # Demonstrate a simple learn() call my @inputs = ( 0,0,1,1,1 ); my @ouputs = ( 1,0,1,0,1 ); print $net->learn(@inputs, @outputs),"n"; # Create a data set to learn my @set = ( [ 2,2,3,4,1 ], [ 1,1,1,1,1 ], [ 1,1,1,1,1 ], [ 0,0,0,0,0 ], [ 1,1,1,0,0 ], [ 0,0,0,1,1 ] ); # Demo learn_set() my $f = $net->learn_set(@set); print "Forgetfulness: $f unitn"; # Crunch a bunch of strings and return array refs my $phrase1 = $net->crunch("I love neural networks!"); my $phrase2 = $net->crunch("Jay Lenno is wierd."); my $phrase3 = $net->crunch("The rain in spain..."); my $phrase4 = $net->crunch("Tired of word crunching yet?"); # Make a data set from the array refs my @phrases = ( $phrase1, $phrase2, $phrase3, $phrase4 ); # Learn the data set $net->learn_set(@phrases); # Run a test phrase through the network my $test_phrase = $net->crunch("I love neural networking!"); my $result = $net->run($test_phrase); # Get this, it prints "Jay Leno is networking!" ... LOL! print $net->uncrunch($result),"n"; AI::NeuralNet::BackProp is the flagship package for this file. It implements a nerual network similar to a feed-foward, back-propagtion network; learning via a mix of a generalization of the Delta rule and a disection of Hebbs rule. The actual neruons of the network are implemented via the AI::NeuralNet::BackProp::neuron package.

Ai - Backprop - Neuralnet - Aineuralnetbackprop - Neural Net - Net- - Learn - Neural - Network - Crunch - Simple - Libraries - Programming

Published By:Josiah Bryan

License Type:Freeware

Date Added:25 October, 2010

Version:0.77

Price:Free

Downloads:2

Size:96.3 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Cyphesis is a WorldForge server suitable running small games. It is also designed by be used as an AI subsystem in a network of distributed servers.

DateOct 10, 2010

AuthorAl Riddoch

Size6.8 MB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Games

AI::FuzzyInference is a Perl module to implement a Fuzzy Inference System.

DateOct 28, 2010

AuthorAla Qumsieh

Size10.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Cyphesis is a WorldForge server suitable running small games. Cyphesis is also designed by be used as an AI subsystem in a network of distributed servers.

DateAug 11, 2010

AuthorAlistair Riddoch

Size6.9 MB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Games

Qonk project is a game I wrote to learn some SDL basics. The game is a small build-and-conquer strategy game with very simple rules. A complete game only lasts for a few minutes and can be a fun break away from work or whatever youre doing.

DateOct 2, 2010

AuthorAnthony Liekens

Size53.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Games

AI::NNFlex is a base Perl class for implementing neural networks.

DateAug 21, 2010

AuthorCharles Colbourn

Size33.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming