Alexandria  2.14.1
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
Euclid::SOM::SOMTrainer Class Reference

#include <SOMTrainer.h>

Collaboration diagram for Euclid::SOM::SOMTrainer:
[legend]

Public Member Functions

 SOMTrainer (NeighborhoodFunc::Signature neighborhood_func, LearningRestraintFunc::Signature learning_restraint_func)
 
template<std::size_t ND, typename DistFunc , typename InputIter , typename InputToWeightFunc >
void train (SOM< ND, DistFunc > &som, std::size_t iter_no, InputIter begin, InputIter end, InputToWeightFunc weight_func, const SamplingPolicy::Interface< InputIter > &sampling_policy=SamplingPolicy::FullSet< InputIter >{})
 

Private Attributes

NeighborhoodFunc::Signature m_neighborhood_func
 
LearningRestraintFunc::Signature m_learning_restraint_func
 

Detailed Description

Definition at line 35 of file SOMTrainer.h.

Constructor & Destructor Documentation

◆ SOMTrainer()

Euclid::SOM::SOMTrainer::SOMTrainer ( NeighborhoodFunc::Signature  neighborhood_func,
LearningRestraintFunc::Signature  learning_restraint_func 
)
inline

Definition at line 39 of file SOMTrainer.h.

Member Function Documentation

◆ train()

template<std::size_t ND, typename DistFunc , typename InputIter , typename InputToWeightFunc >
void Euclid::SOM::SOMTrainer::train ( SOM< ND, DistFunc > &  som,
std::size_t  iter_no,
InputIter  begin,
InputIter  end,
InputToWeightFunc  weight_func,
const SamplingPolicy::Interface< InputIter > &  sampling_policy = SamplingPolicy::FullSet<InputIter>{} 
)
inline

Definition at line 46 of file SOMTrainer.h.

Member Data Documentation

◆ m_learning_restraint_func

LearningRestraintFunc::Signature Euclid::SOM::SOMTrainer::m_learning_restraint_func
private

Definition at line 94 of file SOMTrainer.h.

◆ m_neighborhood_func

NeighborhoodFunc::Signature Euclid::SOM::SOMTrainer::m_neighborhood_func
private

Definition at line 93 of file SOMTrainer.h.


The documentation for this class was generated from the following file: