37#ifndef STK_GAMMABRIDGE_H
38#define STK_GAMMABRIDGE_H
52#include "../STK_IMixtureBridge.h"
58template<
int Id,
class Data>
class GammaBridge;
70 typedef typename Data_::Type
Type;
92 typedef typename Data_::Type
Type;
114 typedef typename Data_::Type
Type;
136 typedef typename Data_::Type
Type;
158 typedef typename Data_::Type
Type;
180 typedef typename Data_::Type
Type;
202 typedef typename Data_::Type
Type;
224 typedef typename Data_::Type
Type;
246 typedef typename Data_::Type
Type;
268 typedef typename Data_::Type
Type;
290 typedef typename Data_::Type
Type;
312 typedef typename Data_::Type
Type;
339template<
int Id,
class Data>
349 typedef typename Data::Type
Type;
In this file we define the Gamma_pk_a_bjk and Gamma_p_a_bjk models.
In this file we define the Gamma_pk_a_bk and Gamma_p_a_bk models.
In this file we define the Gamma_pk_aj_bjk and Gamma_p_aj_bjk models.
In this file we define the Gamma_pk_aj_bk and Gamma_p_aj_bk models.
In this file we define the Gamma_pk_ajk_b and Gamma_p_ajk_b mixture models.
In this file we define the Gamma_pk_ajk_bj and Gamma_p_ajk_bj mixture models.
In this file we define the Gamma_pk_ajk_bjk and Gamma_p_ajk_bjk models.
In this file we define the Gamma_pk_ajk_bk and Gamma_p_ajk_bk models.
In this file we define the Gamma_pk_ak_b and Gamma_p_ak_b mixture models.
In this file we define the Gamma_pk_ak_bj and Gamma_p_ak_bj mixture models.
In this file we define the Gamma_pk_ak_bjk and Gamma_p_ak_bjk models.
In this file we define the Gamma_pk_ak_bk and Gamma_p_ak_bk models.
template implementation of the IMixtureBridge interface allowing to bridge a STK++ mixture with the c...
hidden::MixtureBridgeTraits< GammaBridge< Id, Data > >::Parameters Parameters
Type safeValue(int j) const
GammaBridge(Mixture const &mixture, String const &idData, int nbCluster)
protected constructor to use in order to create a bridge.
IMixtureBridge< GammaBridge< Id, Data > > Base
GammaBridge(Data *p_dataij, String const &idData, int nbCluster)
default constructor.
virtual GammaBridge * create() const
This is a standard create function in usual sense.
GammaBridge(GammaBridge const &bridge)
copy constructor
virtual GammaBridge * clone() const
This is a standard clone function in usual sense.
virtual ~GammaBridge()
destructor
hidden::MixtureBridgeTraits< GammaBridge< Id, Data > >::Mixture Mixture
std::vector< std::pair< int, int > >::const_iterator ConstIterator
Interface base class for the bridges of the STK++ mixture.
MissingIndexes v_missing_
vector with the coordinates of the missing values
Data * p_dataij_
pointer on the data set
hidden::MixtureBridgeTraits< GammaBridge< Id, Data > >::Data Data
virtual void removeMissing()
This function will be used once for imputation of missing data at the initialization step (.
Mixture const & mixture() const
Mixture mixture_
The Mixture to bridge with the composer.
Data *const p_dataij() const
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.
virtual void setData(YArray_ const &y, XArray_ const &x)
set the data set.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
std::basic_string< Char > String
STK fundamental type of a String.
The namespace STK is the main domain space of the Statistical ToolKit project.
ModelParameters< Clust::Gamma_a_bjk_ > Parameters
Type of the structure storing the mixture parameters.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Data_::Type Type
Data Type.
Gamma_a_bjk< Data > Mixture
Type of the mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
ModelParameters< Clust::Gamma_a_bk_ > Parameters
Type of the structure storing the mixture parameters.
Data_::Type Type
Data Type.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Gamma_a_bk< Data > Mixture
Type of the mixture model.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Gamma_aj_bjk< Data > Mixture
Type of the mixture model.
Data_::Type Type
Data Type.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
ModelParameters< Clust::Gamma_aj_bjk_ > Parameters
Type of the structure storing the mixture parameters.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Gamma_aj_bk< Data > Mixture
Type of the mixture model.
Data_::Type Type
Data Type.
ModelParameters< Clust::Gamma_aj_bk_ > Parameters
Type of the structure storing the mixture parameters.
ModelParameters< Clust::Gamma_ajk_b_ > Parameters
Type of the structure storing the mixture parameters.
Data_::Type Type
Data Type.
Gamma_ajk_b< Data > Mixture
Type of the mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Gamma_ajk_bj< Data > Mixture
Type of the mixture model.
ModelParameters< Clust::Gamma_ajk_bj_ > 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.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Data_::Type Type
Data Type.
Data_::Type Type
Data Type.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
ModelParameters< Clust::Gamma_ajk_bjk_ > Parameters
Type of the structure storing the mixture parameters.
Gamma_ajk_bjk< Data > 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.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
ModelParameters< Clust::Gamma_ajk_bk_ > Parameters
Type of the structure storing the mixture parameters.
Gamma_ajk_bk< Data > Mixture
Type of the mixture model.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
ModelParameters< Clust::Gamma_ak_b_ > Parameters
Type of the structure storing the mixture parameters.
Data_::Type Type
Data Type.
Gamma_ak_b< Data > Mixture
Type of the mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Data_::Type Type
Data Type.
Gamma_ak_bj< Data > Mixture
Type of the mixture model.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
ModelParameters< Clust::Gamma_ak_bj_ > 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.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
ModelParameters< Clust::Gamma_ak_bjk_ > Parameters
Type of the structure storing the mixture parameters.
Data_::Type Type
Data Type.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
Gamma_ak_bjk< Data > Mixture
Type of the mixture model.
Gamma_ak_bk< Data > Mixture
Type of the mixture model.
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
Data_::Type Type
Data Type.
ModelParameters< Clust::Gamma_ak_bk_ > Parameters
Type of the structure storing the mixture parameters.
MixtureBridgeTraits struct for bridged mixtures The traits struct MixtureBridgeTraits must be special...