AI::NeuralNet::SOM::Torus - Perl extension for Kohonen Maps (torus topology)


AI-NeuralNet-SOM documentation  | view source Contained in the AI-NeuralNet-SOM distribution.

Index


NAME

Top

AI::NeuralNet::SOM::Torus - Perl extension for Kohonen Maps (torus topology)

SYNOPSIS

Top

  use AI::NeuralNet::SOM::Torus;
  my $nn = new AI::NeuralNet::SOM::Torus (output_dim => "5x6",
                                          input_dim  => 3);
  $nn->initialize;
  $nn->train (30, 
    [ 3, 2, 4 ], 
    [ -1, -1, -1 ],
    [ 0, 4, -3]);

  print $nn->as_data;

DESCRIPTION

Top

This SOM is very similar to that with a rectangular topology, except that the rectangle is connected on the top edge and the bottom edge to first form a cylinder; and that cylinder is then formed into a torus by connecting the rectangle's left and right border (http://en.wikipedia.org/wiki/Torus).

INTERFACE

Top

It exposes the same interface as the base class.

SEE ALSO

Top

AI::NeuralNet::SOM::Rect

AUTHOR

Top

Robert Barta, <rho@devc.at>

COPYRIGHT AND LICENSE

Top


AI-NeuralNet-SOM documentation  | view source Contained in the AI-NeuralNet-SOM distribution.