#include <PndMvaSOMTrainer.h>
Definition at line 45 of file PndMvaSOMTrainer.h.
Constructor.
- Parameters
-
InputData | Input Data points. |
mapWidth | The width of the SOM. |
mapHeight | The height of the SOM. |
numIter | Number of learning iterations. |
initType | The scheme to initialize weight of each node. |
virtual PndMvaSomTrainer::~PndMvaSomTrainer |
( |
| ) |
|
|
virtual |
virtual void PndMvaSomTrainer::Calibrate |
( |
| ) |
|
|
virtual |
Calibrate the map (post labeling). The current implementation uses the winner takes all scheme. The label with the largest count determines the node label. Note that also a list of all labels is kept in de node itself.
size_t PndMvaSomTrainer::FindBestMatchingNode |
( |
std::vector< float > const & |
vector | ) |
|
|
private |
DataPoints const & PndMvaSomTrainer::GetInputDataSet |
( |
| ) |
const |
|
inline |
Get the input data set.
- Returns
- The list of input data points.
Definition at line 213 of file PndMvaSOMTrainer.h.
References m_DataSet.
DataPoints const * m_DataSet
double PndMvaSomTrainer::GetLambda |
( |
| ) |
const |
|
inline |
size_t PndMvaSomTrainer::GetMapHeight |
( |
| ) |
const |
|
inline |
size_t PndMvaSomTrainer::GetMapWidth |
( |
| ) |
const |
|
inline |
size_t PndMvaSomTrainer::GetNumIterations |
( |
| ) |
const |
|
inline |
size_t PndMvaSomTrainer::GetNumNodes |
( |
| ) |
const |
|
inline |
double PndMvaSomTrainer::GetSigmaZero |
( |
| ) |
const |
|
inline |
std::vector< PndSomNode * > const & PndMvaSomTrainer::GetTheMap |
( |
| ) |
const |
|
inline |
void PndMvaSomTrainer::InitGridHexagonal |
( |
| ) |
|
|
private |
void PndMvaSomTrainer::InitGridRectAngular |
( |
| ) |
|
|
private |
virtual void PndMvaSomTrainer::InitMap |
( |
| ) |
|
|
virtual |
Initialize the map according to the given scheme.
void PndMvaSomTrainer::InitMapnodes_Random |
( |
| ) |
|
|
private |
void PndMvaSomTrainer::InitMapnodes_RandomFromData |
( |
| ) |
|
|
private |
void PndMvaSomTrainer::printMapGrid |
( |
| ) |
const |
|
protected |
void PndMvaSomTrainer::SetLambda |
( |
double |
val | ) |
|
|
inline |
void PndMvaSomTrainer::SetMapHeight |
( |
size_t |
val | ) |
|
|
inline |
void PndMvaSomTrainer::SetMapWidth |
( |
size_t |
val | ) |
|
|
inline |
void PndMvaSomTrainer::SetNumIterations |
( |
size_t |
val | ) |
|
|
inline |
void PndMvaSomTrainer::SetSigmaZero |
( |
double |
val | ) |
|
|
inline |
virtual void PndMvaSomTrainer::TrainBatch |
( |
| ) |
|
|
virtual |
Train map using batch schema. All available data vectors are presented at once.
virtual void PndMvaSomTrainer::TrainOnline |
( |
| ) |
|
|
virtual |
Train the map using Online scheme. Data vectors are presented one at a time.
double PndMvaSomTrainer::m_lambda |
|
private |
size_t PndMvaSomTrainer::m_MapHeight |
|
private |
size_t PndMvaSomTrainer::m_MapWidth |
|
private |
double PndMvaSomTrainer::m_neighbourhoodRadius |
|
private |
size_t PndMvaSomTrainer::m_NumIterations |
|
private |
size_t PndMvaSomTrainer::m_NumModelVectors |
|
private |
double PndMvaSomTrainer::m_sigmaZero |
|
private |
std::vector<PndSomNode*> PndMvaSomTrainer::m_TheMap |
|
private |
The documentation for this class was generated from the following file: