mimas::nn_assoc Class Reference

Associative neural network using Hebb rule. More...

#include <nn_assoc.h>

Inheritance diagram for mimas::nn_assoc:

Inheritance graph
[legend]
Collaboration diagram for mimas::nn_assoc:

Collaboration graph
[legend]
List of all members.

Public Types

typedef boost::numeric::ublas::matrix<
double
Matrix
typedef boost::numeric::ublas::vector<
double
Vector

Public Member Functions

 nn_assoc (void)
 constructor
void train (Matrix &input_data, Matrix &target_data)
 train data using input_data/target_data pairs. It is recommended that the values in the matrix are binarised.
Vector recall (Vector &x)
 given input_data return the predicted output
void useWeights (Matrix &weight_matrix)
 use the weights given by weight_matrix;
Matrix getWeights (void)
 return the weights that are stored

Detailed Description

Associative neural network using Hebb rule.

Author:
Bala Amavasai (bala@amavasai.org)
Date:
Tue Jul 2 15:13:42 UTC 2002
Header
/cvs/mimas2/include/nn_assoc.h,v 1.1.1.1 2005/08/09 15:37:45 engmb Exp

Definition at line 17 of file nn_assoc.h.


Member Typedef Documentation

typedef boost::numeric::ublas::matrix< double > mimas::nn_assoc::Matrix

Definition at line 20 of file nn_assoc.h.

typedef boost::numeric::ublas::vector< double > mimas::nn_assoc::Vector

Definition at line 21 of file nn_assoc.h.


Constructor & Destructor Documentation

mimas::nn_assoc::nn_assoc ( void   ) 

constructor

Definition at line 37 of file nn_assoc.h.


Member Function Documentation

void mimas::nn_assoc::train ( Matrix input_data,
Matrix target_data 
)

train data using input_data/target_data pairs. It is recommended that the values in the matrix are binarised.

Definition at line 41 of file nn_assoc.h.

References MMERROR.

nn_assoc::Vector mimas::nn_assoc::recall ( Vector x  ) 

given input_data return the predicted output

Definition at line 59 of file nn_assoc.h.

References MMERROR.

void mimas::nn_assoc::useWeights ( Matrix weight_matrix  ) 

use the weights given by weight_matrix;

Definition at line 83 of file nn_assoc.h.

nn_assoc::Matrix mimas::nn_assoc::getWeights ( void   ) 

return the weights that are stored

Definition at line 91 of file nn_assoc.h.


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:35 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...