Classes | |
struct | Layer |
Public Types | |
enum | DISTANCE_MEASURE { EUCLIDEAN, KL, L2GMM } |
Public Member Functions | |
SOFM (const char *netname, int InputSize, int x, int y) | |
void | SetLearningRate (unsigned long long learning_time) |
void | Train (float *Input, float *Target, double score) |
void | organize (std::vector< double > &input) |
void | organize (const Image< float > &input) |
Image< float > | getMap () |
Image< float > | getActMap () |
Image< PixRGB< byte > > | getWeightsImage () |
std::vector< float > | getWeights (const Point2D< int > loc) |
void | ReadNet (const char *filename) |
void | WriteNet (const char *filename) |
double | RandomRange (double Low, double High) |
double | RandomBinaryRange (double Low, double High) |
double | Neighborhood (int i) |
void | RandomWeights (int min=0, int max=255) |
void | ZeroWeights () |
void | SetInput (float *in) |
void | setInput (const std::vector< double > &in) |
void | setInput (const Image< float > &in) |
void | Propagate (DISTANCE_MEASURE dm=EUCLIDEAN) |
Point2D< int > | getWinner (double &val) |
void | InitSofm () |
Public Attributes | |
Layer * | InputLayer |
Layer * | KohonenLayer |
int | itsWinner |
double | itsWinnerValue |
int | itsLooser |
double | itsLooserValue |
int | MapSizeX |
int | MapSizeY |
const char * | name |
double | KohonenAlpha |
double | OutAlpha |
double | StepAlpha |
double | Gamma |
double | Sigma |
unsigned long long | itsLearningTime |
Definition at line 45 of file SOFM.H.