37#ifndef STK_HDGAUSSIANBRIDGE_H 
   38#define STK_HDGAUSSIANBRIDGE_H 
   41#include "../STK_IMixtureBridge.h" 
   47template<
int Id, 
class Data> 
class HDGaussianBridge;
 
   59  typedef typename Data_::Type 
Type;
 
 
   93template<
int Id, 
class Data>
 
  126      mixture_.setData(p_data_->dataij());
 
 
  147      p_bridge->p_data_ = p_data_;
 
 
  156    { 
return p_data_->dataij().col(
j).meanSafe();}
 
 
 
template implementation of the IMixture interface allowing to bridge a STK++ mixture with the compose...
 
virtual HDGaussianBridge * clone() const
This is a standard clone function in usual sense.
 
HDGaussianBridge(Data *p_dataij, String const &idData, int nbCluster)
default constructor.
 
IMixtureBridge< HDGaussianBridge< Id, Data > > Base
 
hidden::MixtureBridgeTraits< HDGaussianBridge< Id, Data > >::Mixture Mixture
 
hidden::MixtureBridgeTraits< HDGaussianBridge< Id, Data > >::Type Type
 
Type safeValue(int j) const
 
HDGaussianBridge(HDGaussianBridge const &bridge)
copy constructor
 
virtual ~HDGaussianBridge()
destructor
 
hidden::MixtureBridgeTraits< HDGaussianBridge< Id, Data > >::Parameters Parameters
 
HDGaussianBridge(Mixture const &mixture, String const &idData, int nbCluster)
protected constructor to use in order to create a bridge.
 
std::vector< std::pair< int, int > >::const_iterator ConstIterator
 
virtual HDGaussianBridge * 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< HDGaussianBridge< 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.
 
HDGaussian_AjkBkQkD< Data > Mixture
Type of the mixture model.
 
Data_::Type Type
Data Type.
 
std::vector< std::pair< std::pair< int, int >, Type > > MissingValues
Type of the array storing missing values.
 
ModelParameters< Clust::HDGaussian_ajk_bk_qk_d_ > Parameters
Type of the structure storing the mixture parameters.
 
std::vector< std::pair< int, int > > MissingIndexes
Type of the array storing missing values indexes.
 
MixtureBridgeTraits struct for bridged mixtures The traits struct MixtureBridgeTraits must be special...