neural_net Namespace Reference
[Neural network]

Neural network namespace. More...

Data Structures

Typedefs

Functions


Detailed Description

Neural network namespace.

Typedef Documentation

typedef Linear_numeric_iterator< int > neural_net::linear_numeric_iterator
 

typedef std::pair< size_t, size_t > neural_net::Matrix_index
 

Stores size of container.


Function Documentation

template<typename Data_container_type, typename Kohonen_network_type, typename Randomize_policy>
void neural_net::generate_kohonen_network const size_t &  no_rows,
const size_t &  no_columns,
const typename Kohonen_network_type::value_type::activation_function_type &  activation_function,
const typename Kohonen_network_type::value_type::binary_operation_type &  binary_operation,
Data_container_type &  data,
Kohonen_network_type &  kohonen_network,
const Randomize_policy &  randomize_policy
throw ()
 

Function generates randomly distributed weights for neural network. Distribution is uniform and weights are generated based on multidimensional ranges of training data.

Parameters:
no_rows is a number of rows that will be created in neural network.
no_columns is a number of columns that will be created in neural network.
activation_function is activation function that will be set.
binary_operation is a function tat will be set under activation function.
data is a reference to data container.
kohonen_network is a reference to the network.
randomize_policy is a policy class for setting up random number generator.
Todo:
TODO: When Rectangular_container will be changed then this class should be repaired too.

template<typename T, typename U>
std::ostream& neural_net::print_network std::ostream &  os,
const T &  network,
const U &  value
throw ()
 

Function prints structure and results of the neural network.

Parameters:
os is output stream.
network is a reference to network.
value is a value that network will calculate results.
Returns:
modified stream.

template<typename T>
std::ostream& neural_net::print_network_weights std::ostream &  os,
const T &  network
throw ()
 

Function prints weight of the neural network.

Parameters:
os is output stream.
network is a reference to network.
Returns:
modified stream.

template<typename T, template< typename T > class CONT>
std::ostream& neural_net::value_to_ostream std::ostream &  os,
const CONT< T > &  value
throw () [inline]
 

Function puts container of any values to the stream.

Parameters:
os is a output stream.
value is a value.
Returns:
modified stream.

template<typename T>
std::ostream& neural_net::value_to_ostream std::ostream &  os,
const T &  value
throw () [inline]
 

Function puts values to the stream.

Parameters:
os is a output stream.
value is a value.
Returns:
modified stream.


Generated on Wed Jun 28 14:39:54 2006 for Kohonen Neural Network Library Demo by  doxygen 1.4.6