AI::NeuralNet::Simple 0.10 review
DownloadAI::NeuralNet::Simple is a simple learning module for building neural nets. SYNOPSIS use AI::NeuralNet::Simple; my $net =
|
|
AI::NeuralNet::Simple is a simple learning module for building neural nets.
SYNOPSIS
use AI::NeuralNet::Simple;
my $net = AI::NeuralNet::Simple->new(2,1,2);
# teach it logical 'or'
for (1 .. 10000) {
$net->train([1,1],[0,1]);
$net->train([1,0],[0,1]);
$net->train([0,1],[0,1]);
$net->train([0,0],[1,0]);
}
printf "Answer: %dn", $net->winner([1,1]);
printf "Answer: %dn", $net->winner([1,0]);
printf "Answer: %dn", $net->winner([0,1]);
printf "Answer: %dnn", $net->winner([0,0]);
ABSTRACT
This module is a simple neural net learning tool designed for those who have an interest in artificial intelligence but need a "gentle" introduction. This is not intended to replace any of the neural net modules currently available on the CPAN. Instead, the documentation is designed to be easy enough for a beginner to understand.
Requirements:
Perl
AI::NeuralNet::Simple 0.10 keywords