Classe Kohonen.
More...
#include <neur/koho/kohonen.h>
|
|
| static void | PrintVC (const VectCode *vc) |
| |
| static void | PrintVect (const std::vector< double > *vect) |
| |
| static double | SqVectDist (const std::vector< double > *v1, const std::vector< double > *v2) |
| |
|
|
| std::vector< double > | UserData |
| | Données utilisateur.
|
| |
Classe Kohonen.
\ \ Cartes topologiques de kohonen
Definition at line 41 of file kohonen.h.
◆ Kohonen() [1/2]
| Kohonen::Kohonen |
( |
int | ndim = 1, |
|
|
int | ncdim = 2 ) |
◆ Kohonen() [2/2]
| Kohonen::Kohonen |
( |
const Kohonen & | koh | ) |
|
◆ ~Kohonen()
| virtual Kohonen::~Kohonen |
( |
| ) |
|
|
virtual |
◆ AddVectCode()
| int Kohonen::AddVectCode |
( |
VectCode * | vc | ) |
|
◆ ByteSize()
| int Kohonen::ByteSize |
( |
| ) |
const |
◆ ChangeDims()
| void Kohonen::ChangeDims |
( |
unsigned | ndim, |
|
|
unsigned | ncdim ) |
◆ CopyVC()
| void Kohonen::CopyVC |
( |
const std::vector< VectCode * > & | vcl | ) |
|
Recopie tous les vecteurs-code à partir de vcl.
◆ CreateUniformVC()
| void Kohonen::CreateUniformVC |
( |
unsigned | nvd, |
|
|
double | cmin = -1., |
|
|
double | cmax = 1. ) |
Crée des vecteurs-code uniformément répartis.
\ nvd est le nombre de VC par dimension de la carte. Les VC ont des positions entières positives. \ cmin et cmax sont les bornes de tirage des composantes des VC.
◆ CreateUniformVCFromComp()
| void Kohonen::CreateUniformVCFromComp |
( |
unsigned | c, |
|
|
double * | comp, |
|
|
unsigned | nvd, |
|
|
double | cmin, |
|
|
double | cmax ) |
Ajoute uniformément des VC sur les composantes à partir de la c-ème.
◆ DelVectCode()
| int Kohonen::DelVectCode |
( |
VectCode * | vc | ) |
|
◆ Density()
| int Kohonen::Density |
( |
const std::vector< double > * | vect | ) |
const |
◆ DensityRay()
| double Kohonen::DensityRay |
( |
| ) |
const |
|
inline |
◆ DistFact()
| double Kohonen::DistFact |
( |
double | d | ) |
const |
◆ Empty()
◆ FindWinner()
| VectCode * Kohonen::FindWinner |
( |
const std::vector< double > * | vec | ) |
|
◆ Learn()
| int Kohonen::Learn |
( |
const std::vector< double > * | vect | ) |
|
◆ LearnFactor()
| double Kohonen::LearnFactor |
( |
| ) |
const |
|
inline |
◆ LearnRay()
| double Kohonen::LearnRay |
( |
| ) |
const |
|
inline |
◆ Load()
| int Kohonen::Load |
( |
const char * | nom | ) |
|
◆ MapDist() [1/2]
◆ MapDist() [2/2]
| double Kohonen::MapDist |
( |
int | i1, |
|
|
int | i2 ) const |
◆ NCDim()
| int Kohonen::NCDim |
( |
| ) |
const |
|
inline |
Nombre de dimensions des vecteurs-code.
Definition at line 85 of file kohonen.h.
References _nCDim.
◆ NDim()
| int Kohonen::NDim |
( |
| ) |
const |
|
inline |
Nombre de dimensions de la carte (1 ou 2 normalement)
Definition at line 83 of file kohonen.h.
References _nDim.
◆ NVCode()
| int Kohonen::NVCode |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PrintMap()
| void Kohonen::PrintMap |
( |
| ) |
const |
◆ PrintVC()
| static void Kohonen::PrintVC |
( |
const VectCode * | vc | ) |
|
|
static |
◆ PrintVect()
| static void Kohonen::PrintVect |
( |
const std::vector< double > * | vect | ) |
|
|
static |
◆ RandVC()
| void Kohonen::RandVC |
( |
double | cmin = -1., |
|
|
double | cmax = 1. ) |
◆ RemoveVectCode()
| int Kohonen::RemoveVectCode |
( |
const VectCode * | vc | ) |
|
◆ Save()
| int Kohonen::Save |
( |
const char * | nom | ) |
const |
◆ SetDensityRay()
| void Kohonen::SetDensityRay |
( |
double | dr | ) |
|
|
inline |
◆ SetLearnFactor()
| void Kohonen::SetLearnFactor |
( |
double | lf | ) |
|
|
inline |
◆ SetLearnRay()
| void Kohonen::SetLearnRay |
( |
double | lr | ) |
|
|
inline |
◆ SqDistWinner()
| double Kohonen::SqDistWinner |
( |
| ) |
const |
|
inline |
◆ SqVectDist()
| static double Kohonen::SqVectDist |
( |
const std::vector< double > * | v1, |
|
|
const std::vector< double > * | v2 ) |
|
static |
◆ VCode()
| VectCode * Kohonen::VCode |
( |
unsigned | i | ) |
const |
|
inline |
◆ VCWinner()
◆ WinIndex()
| int Kohonen::WinIndex |
( |
| ) |
const |
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | fich, |
|
|
const Kohonen & | koh ) |
|
friend |
◆ operator>>
| std::istream & operator>> |
( |
std::istream & | fich, |
|
|
Kohonen & | koh ) |
|
friend |
◆ _densityRay
| double Kohonen::_densityRay |
|
protected |
◆ _learnFactor
| double Kohonen::_learnFactor |
|
protected |
◆ _learnRay
| double Kohonen::_learnRay |
|
protected |
◆ _nCDim
Nombre de dimensions des vecteurs-code.
Definition at line 177 of file kohonen.h.
Referenced by NCDim().
◆ _nDim
Nombre de dimensions de la carte (1 ou 2 normalement)
Definition at line 175 of file kohonen.h.
Referenced by NDim().
◆ _sqDistWinner
| double Kohonen::_sqDistWinner |
|
protected |
◆ _vCode
◆ _vCWinner
◆ _winIndex
| unsigned Kohonen::_winIndex |
|
protected |
◆ UserData
| std::vector<double> Kohonen::UserData |
Données utilisateur.
\ Cette zone de données peut être utilisée par exemple pour conserver des paramètres statistiques sur les entrées.
Definition at line 57 of file kohonen.h.
The documentation for this class was generated from the following file: