37#ifndef STK_DIAGGAUSSIANBRIDGE_H
38#define STK_DIAGGAUSSIANBRIDGE_H
45#include "../STK_IMixtureBridge.h"
51template<
int Id,
class Data>
class DiagGaussianBridge;
63 typedef typename Data_::Type
Type;
85 typedef typename Data_::Type
Type;
107 typedef typename Data_::Type
Type;
129 typedef typename Data_::Type
Type;
151 typedef typename Data_::Type
Type;
186template<
int Id,
class Data>
In this file we implement the DiagGaussian_s class.
In this file we define and implement the DiagGaussian_sj class.
In this file we implement the DiagGaussian_sjk class.
In this file we implement the DiagGaussian_sjsk class.
In this file we define the DiagGaussian_sk model.
template implementation of the IMixture interface allowing to bridge a STK++ mixture with the compose...
virtual ~DiagGaussianBridge()
destructor
DiagGaussianBridge(Data *p_dataij, String const &idData, int nbCluster)
default constructor.
DiagGaussianBridge(DiagGaussianBridge const &bridge)
copy constructor
DiagGaussianBridge(Mixture const &mixture, String const &idData, int nbCluster)
protected constructor to use in order to create a bridge.
virtual DiagGaussianBridge * clone() const
This is a standard clone function in usual sense.
IMixtureBridge< DiagGaussianBridge< Id, Data > > Base
Type safeValue(int j) const
hidden::MixtureBridgeTraits< DiagGaussianBridge< Id, Data > >::Parameters Parameters
hidden::MixtureBridgeTraits< DiagGaussianBridge< Id, Data > >::Mixture Mixture
hidden::MixtureBridgeTraits< DiagGaussianBridge< Id, Data > >::Type Type
std::vector< std::pair< int, int > >::const_iterator ConstIterator
virtual DiagGaussianBridge * create() const
This is a standard create function in usual sense.
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< DiagGaussianBridge< 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.
Data_::Type Type
Data Type.
ModelParameters< Clust::Gaussian_s_ > Parameters
Type of the structure storing the mixture parameters.
DiagGaussian_s< 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.
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.
Data_::Type Type
Data Type.
ModelParameters< Clust::Gaussian_sj_ > Parameters
Type of the structure storing the mixture parameters.
DiagGaussian_sj< Data > Mixture
Type of the mixture model.
Data_::Type Type
Data Type.
ModelParameters< Clust::Gaussian_sjk_ > 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.
DiagGaussian_sjk< Data > Mixture
Type of the mixture model.
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
DiagGaussian_sj< Data > Mixture
Type of the mixture model.
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.
Data_::Type Type
Data Type.
ModelParameters< Clust::Gaussian_sjsk_ > 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.
DiagGaussian_sk< Data > Mixture
Type of the mixture model.
ModelParameters< Clust::Gaussian_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.
Data_::Type Type
Data Type.
MixtureBridgeTraits struct for bridged mixtures The traits struct MixtureBridgeTraits must be special...