36#ifndef STK_KMMBRIDGE_H
37#define STK_KMMBRIDGE_H
41#include "../STK_IMixtureBridge.h"
46template<
int Id,
class Data>
class KmmBridge;
58 typedef typename Data_::Type
Type;
82 typedef typename Data_::Type
Type;
116template<
int Id,
class Data>
123 typedef typename Data::Type
Type;
164 template<
class Vector>
In this file we define the Kmm_s class.
In this file we define the Kmm_sk class.
#define STK_STATIC_ASSERT_ONE_DIMENSION_ONLY(EXPR)
Interface base class for the bridges of the STK++ mixture.
hidden::MixtureBridgeTraits< KmmBridge< Id, Data > >::Data Data
Mixture const & mixture() const
Mixture mixture_
The Mixture to bridge with the composer.
Data *const p_dataij() const
CPointX const * p_tk() const
This function can be used in derived classes to get proportions from the framework.
CArrayXX const * p_tik() const
This function can be used in derived classes to get posterior probabilities from the framework.
String const & idData() const
int nbCluster() const
This function can be used in derived classes to get number of classes.
Interface class for the kernels classes.
template implementation of the IMixture interface allowing to bridge a STK++ kernel mixture with the ...
virtual ~KmmBridge()
destructor
virtual void imputationStep()
do nothing for kernel mixture models
void setDim(Real const &dim)
set the dimension of the kernel mixture model
Type safeValue(int j) const
KmmBridge(Mixture const &mixture, String const &idData, int nbCluster)
protected constructor to use in order to create a bridge.
hidden::MixtureBridgeTraits< KmmBridge< Id, Data > >::Parameters Parameters
void setDim(ExprBase< Vector > const &dim)
set the dimension of the kernel mixture model using row vector
virtual KmmBridge * clone() const
This is a standard clone function in usual sense.
IMixtureBridge< KmmBridge< Id, Data > > Base
void setKernel(Kernel::IKernel const *p_kernel)
set the kernel
void initializeBridge()
This function will be used in order to initialize the mixture model using informations stored by the ...
KmmBridge(KmmBridge const &bridge)
copy constructor
virtual KmmBridge * create() const
This is a standard create function in usual sense.
virtual void samplingStep()
do nothing for kernel mixture models
KmmBridge(Data *p_dataij, String const &idData, int nbCluster)
default constructor.
hidden::MixtureBridgeTraits< KmmBridge< Id, Data > >::Mixture Mixture
The Gaussian mixture model Kmm_s is an isotrope Gaussian mixture model on a kernel space.
The Gaussian mixture model Kmm_sk is an isotrope Gaussian mixture model on a kernel space.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
std::basic_string< Char > String
STK fundamental type of a String.
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.
ModelParameters< Clust::Kmm_s_ > Parameters
Type of the structure storing the mixture parameters.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Kmm_s Mixture
Type of the mixture model.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Data_::Type Type
Data Type.
ModelParameters< Clust::Kmm_sk_ > Parameters
Type of the structure storing the mixture parameters.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Kmm_sk Mixture
Type of the mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Data_::Type Type
Data Type.
MixtureBridgeTraits struct for bridged mixtures The traits struct MixtureBridgeTraits must be special...