#include <Kohonen.h>
Inheritance diagram for KohonenNetwork:
Public Types | |
enum | { INPUT_LAYER, OUTPUT_LAYER } |
Public Member Functions | |
KohonenNetwork (uint inputs, const Topology &topology, KohonenParameters ¶ms, PublicValues &ctrl=defaultControl) | |
default LP threshold | |
void | train (TrainingSet &T, real terminatingLP=TERMINATING_LP) |
Train the net until learningParameter reaches given threshold. | |
void | trainExample (const Vector &input) |
alternative to training via train. You can train one-by-one example directly, but should must call iterateTime() to control the dynamic | |
uint | getWinnerOutput (const Vector &input) |
version of getOutput for Kohonen | |
uint | getWinner () const |
version of getWinnerOutput based on the current state of network. | |
virtual Vector | getOutput (const Vector &input) |
Warning - this raw output function doesn't give much sense! | |
const Layer & | getOutputLayer () const |
virtual const char * | getClassName () const |
For reflection. | |
virtual Vector | getCluster (uint cluserNum) const |
Get vector representing the given cluster - input weights of given neuron. | |
virtual void | save (const std::string &filename) |
Save the network structure to the given text file. | |
const Topology & | getTopology () const |
Static Public Attributes | |
const real | MAX_OUTPUT |
const real | MIN_OUTPUT |
const real | TERMINATING_LP |
Protected Member Functions | |
void | connectLayers () |
void | randomizeWeights () |
real | getNBSize () const |
real | getLearningParam () const |
void | _setInput (const Vector &input) |
Protected Attributes | |
InputLayer | _inputLayer |
Layer | _outputLayer |
const Topology & | topology |
KohonenParameters & | parameters |
PublicValues & | control |
uint | _winner |
bool | _winnerValid |
!!!!!!!!
|
|
|
default LP threshold
|
|
|
|
|
|
For reflection. All sub-classes MUST implement this method, which should just return class name Implements Network. |
|
Get vector representing the given cluster - input weights of given neuron.
|
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
Warning - this raw output function doesn't give much sense!
Implements Network. |
|
|
|
|
|
version of getWinnerOutput based on the current state of network. Reasonable to call only after previous get*Output |
|
version of getOutput for Kohonen
|
|
|
|
Save the network structure to the given text file. The file format is quite simple and is commented.
Implements Network. |
|
Train the net until learningParameter reaches given threshold.
|
|
alternative to training via train. You can train one-by-one example directly, but should must call iterateTime() to control the dynamic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|