#include <PndMvaSOMTrainer.h>
Definition at line 45 of file PndMvaSOMTrainer.h.
◆ PndMvaSomTrainer()
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. |
◆ ~PndMvaSomTrainer()
virtual PndMvaSomTrainer::~PndMvaSomTrainer |
( |
| ) |
|
|
virtual |
◆ Calibrate()
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.
◆ GetInputDataSet()
DataPoints const & PndMvaSomTrainer::GetInputDataSet |
( |
| ) |
const |
|
inline |
Get the input data set.
- Returns
- The list of input data points.
Definition at line 208 of file PndMvaSOMTrainer.h.
210 return (*(this->m_DataSet));
◆ GetLambda()
double PndMvaSomTrainer::GetLambda |
( |
| ) |
const |
|
inline |
◆ GetMapHeight()
size_t PndMvaSomTrainer::GetMapHeight |
( |
| ) |
const |
|
inline |
◆ GetMapWidth()
size_t PndMvaSomTrainer::GetMapWidth |
( |
| ) |
const |
|
inline |
◆ GetNodeInitType()
◆ GetNumIterations()
size_t PndMvaSomTrainer::GetNumIterations |
( |
| ) |
const |
|
inline |
Number of iteration (epochs, learning steps).
Definition at line 268 of file PndMvaSOMTrainer.h.
270 return this->m_NumIterations;
◆ GetNumNodes()
size_t PndMvaSomTrainer::GetNumNodes |
( |
| ) |
const |
|
inline |
- Returns
- The total number of map nodes.
Definition at line 263 of file PndMvaSOMTrainer.h.
265 return (this->m_MapWidth * this->m_MapHeight);
◆ GetSigmaZero()
double PndMvaSomTrainer::GetSigmaZero |
( |
| ) |
const |
|
inline |
◆ GetTheMap()
std::vector< PndSomNode * > const & PndMvaSomTrainer::GetTheMap |
( |
| ) |
const |
|
inline |
◆ InitMap()
virtual void PndMvaSomTrainer::InitMap |
( |
| ) |
|
|
virtual |
Initialize the map according to the given scheme.
◆ printMapGrid()
void PndMvaSomTrainer::printMapGrid |
( |
| ) |
const |
|
protected |
◆ SetLambda()
void PndMvaSomTrainer::SetLambda |
( |
double |
val | ) |
|
|
inline |
Set initial value for lambda.
Definition at line 218 of file PndMvaSOMTrainer.h.
220 this->m_lambda = val;
◆ SetMapHeight()
void PndMvaSomTrainer::SetMapHeight |
( |
size_t |
val | ) |
|
|
inline |
◆ SetMapWidth()
void PndMvaSomTrainer::SetMapWidth |
( |
size_t |
val | ) |
|
|
inline |
◆ SetNodeInitType()
Set initialization method.
Definition at line 223 of file PndMvaSOMTrainer.h.
225 this->m_InitMode = val;
◆ SetNumIterations()
void PndMvaSomTrainer::SetNumIterations |
( |
size_t |
val | ) |
|
|
inline |
◆ SetSigmaZero()
void PndMvaSomTrainer::SetSigmaZero |
( |
double |
val | ) |
|
|
inline |
Set initial value for sigma.
Definition at line 213 of file PndMvaSOMTrainer.h.
215 this->m_sigmaZero = val;
◆ TrainBatch()
virtual void PndMvaSomTrainer::TrainBatch |
( |
| ) |
|
|
virtual |
Train map using batch schema. All available data vectors are presented at once.
◆ TrainOnline()
virtual void PndMvaSomTrainer::TrainOnline |
( |
| ) |
|
|
virtual |
Train the map using Online scheme. Data vectors are presented one at a time.
The documentation for this class was generated from the following file: