Alexandria 2.31.2
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::SOM Namespace Reference

Namespaces

namespace  Distance
 
namespace  ImplTools
 
namespace  InitFunc
 
namespace  LearningRestraintFunc
 
namespace  NeighborhoodFunc
 
namespace  SamplingPolicy
 
namespace  SOMProjector_impl
 
namespace  UMatrix_impl
 

Classes

class  SOM
 
class  SOMProjector
 
class  SOMTrainer
 

Typedefs

using UMatrix = GridContainer::GridContainer<std::vector<double>, std::size_t, std::size_t>
 

Enumerations

enum class  UMatrixType { MIN , MAX , MEAN }
 

Functions

template<typename DistFunc >
UMatrix computeUMatrix (const SOM< DistFunc > &som, UMatrixType type)
 
template<typename OArchive , typename DistFunc >
void somExport (std::ostream &out, const SOM< DistFunc > &som)
 
template<typename DistFunc >
void somBinaryExport (std::ostream &out, const SOM< DistFunc > &som)
 
template<typename IArchive , typename DistFunc = Distance::L2>
SOM< DistFunc > somImport (std::istream &in)
 
template<typename DistFunc = Distance::L2>
SOM< DistFunc > somBinaryImport (std::istream &in)
 
template<typename DistFunc >
void somFitsExport (const std::string &filename, const SOM< DistFunc > &som)
 
template<typename DistFunc = Distance::L2>
SOM< DistFunc > somFitsImport (const std::string &filename)
 

Typedef Documentation

◆ UMatrix

Enumeration Type Documentation

◆ UMatrixType

enum class Euclid::SOM::UMatrixType
strong
Enumerator
MIN 
MAX 
MEAN 

Definition at line 35 of file UMatrix.h.

Function Documentation

◆ computeUMatrix()

template<typename DistFunc >
UMatrix Euclid::SOM::computeUMatrix ( const SOM< DistFunc > & som,
UMatrixType type )

Definition at line 46 of file UMatrix.icpp.

References Euclid::SOM::ImplTools::indexAxis(), and Euclid::SOM::UMatrix_impl::type_func_map.

Here is the call graph for this function:

◆ somBinaryExport()

template<typename DistFunc >
void Euclid::SOM::somBinaryExport ( std::ostream & out,
const SOM< DistFunc > & som )

Definition at line 48 of file serialize.h.

References somExport().

Here is the call graph for this function:

◆ somBinaryImport()

template<typename DistFunc = Distance::L2>
SOM< DistFunc > Euclid::SOM::somBinaryImport ( std::istream & in)

Definition at line 65 of file serialize.h.

References somImport().

Here is the call graph for this function:

◆ somExport()

template<typename OArchive , typename DistFunc >
void Euclid::SOM::somExport ( std::ostream & out,
const SOM< DistFunc > & som )

Definition at line 40 of file serialize.h.

Referenced by somBinaryExport().

◆ somFitsExport()

template<typename DistFunc >
void Euclid::SOM::somFitsExport ( const std::string & filename,
const SOM< DistFunc > & som )

Definition at line 70 of file serialize.h.

References std::tie().

Here is the call graph for this function:

◆ somFitsImport()

template<typename DistFunc = Distance::L2>
SOM< DistFunc > Euclid::SOM::somFitsImport ( const std::string & filename)

Definition at line 97 of file serialize.h.

◆ somImport()

template<typename IArchive , typename DistFunc = Distance::L2>
SOM< DistFunc > Euclid::SOM::somImport ( std::istream & in)

Definition at line 53 of file serialize.h.

References std::move().

Referenced by somBinaryImport().

Here is the call graph for this function: